Skip to main content
. 2020 Jun 24;8(3):517–524. doi: 10.1016/j.esxm.2020.05.009

Table 4.

Data for Chi-square test of Independence

Prior treatment attempted
No Yes Total
Psychological disorder diagnoses
 None
 Count 15 23 38
 Expected Count 10.1 27.9 38
 % within number of psychological diagnoses 39.5 60.5 100
 % within prior treatment attempted 71.4 39.7 48.1
 % total 19 29.1 48.1
 Adjusted residual 2.5 −2.5
 1
 Count 4 16 20
 Expected count 5.3 14.7 20
 % within number of psychological diagnoses 20 80 100
 % within prior treatment attempted 19 27.6 25.3
 % total 5.1 20.3 25.3
 Adjusted residual −0.8 0.8
 Both
 Count 2 19 21
 Expected count 5.6 15.4 21
 % within number of psychological diagnoses 9.5 90.5 100
 % within prior treatment attempted 9.5 32.8 26.6
 % total 2.5 24.1 26.6
 Adjusted residual −2.1 2.1
 Total
 Count 21 58 79
 Expected count 21 58 79
 % within number of psychological diagnoses 26.6 73.4 100
 % within prior treatment attempted 100 100 100
 % total 26.6 73.4 100
Chi-square tests Value Df Asymptotic significance (2-sided)
Pearson Chi-square 6.811 2 0.033
Likelihood Ratio 7.284 2 0.026
Linear-by-linear Association 6.575 1 0.01
Symmetric measures Value Approximate significance
Nominal by nominal Phi 0.294 0.033
Cramer's V 0.294 0.033

A chi square test of independence was conducted between number of psychological diagnoses and whether prior treatment was attempted by the patient. All expected cell frequencies were greater than 5. There was a statistically significant association between number of psychological diagnoses and whether prior treatment was attempted by the patient, χ2 (2) = 6.811, P = .033. There was a very strong association between number of psychological diagnoses and whether prior treatment was attempted, phi = 0.294, P = .033

0 cells (0.0%) have expected count less than 5. The minimum expected count is 5.32.