Kevin Donovan
April 16, 2021
##
## Female Male Sum
## NO_ASD 214 275 489
## YES_ASD 21 77 98
## Sum 235 352 587
##
## Female Male Sum
## NO_ASD 0.36456559 0.46848382 0.83304940
## YES_ASD 0.03577513 0.13117547 0.16695060
## Sum 0.40034072 0.59965928 1.00000000
## Call: xtabs(formula = ~SSM_ASD_v24 + Gender, data = ibis_data)
## Number of cases in table: 587
## Number of factors: 2
## Test for independence of all factors:
## Chisq = 16.963, df = 1, p-value = 3.811e-05
##
## Fisher's Exact Test for Count Data
##
## data: table_xtabs
## p-value = 2.614e-05
## alternative hypothesis: true odds ratio is not equal to 1
## 95 percent confidence interval:
## 1.675426 5.024610
## sample estimates:
## odds ratio
## 2.848825
## , , Study_Site = PHI
##
## Gender
## SSM_ASD_v24 Female Male
## NO_ASD 52 70
## YES_ASD 3 24
##
## , , Study_Site = SEA
##
## Gender
## SSM_ASD_v24 Female Male
## NO_ASD 57 65
## YES_ASD 10 20
##
## , , Study_Site = STL
##
## Gender
## SSM_ASD_v24 Female Male
## NO_ASD 55 71
## YES_ASD 5 14
##
## , , Study_Site = UNC
##
## Gender
## SSM_ASD_v24 Female Male
## NO_ASD 50 69
## YES_ASD 3 19
## Call: xtabs(formula = ~SSM_ASD_v24 + Gender + Study_Site, data = ibis_data)
## Number of cases in table: 587
## Number of factors: 3
## Test for independence of all factors:
## Chisq = 24.145, df = 10, p-value = 0.007225
\[ \begin{align} &\text{logit}(\frac{p_x}{1-p_x})=\beta_0+\beta_1X_1+\ldots+\beta_pX_p \\ & p_x=\Pr(Y=1|X_1=x_1, \ldots, X_p=x_p) \end{align} \]
\[ \begin{align} &\text{logit}\bigg(\frac{p_x(j)}{1-p_x(j)}\bigg)=\beta_{0j}+\beta_{1j}X_1+\ldots+\beta_{pj}X_p \\ & p_x(j)=\Pr(Y\leq j|X_1=x_1, \ldots, X_p=x_p) \end{align} \]
\[ \begin{align} &\text{logit}\bigg(\frac{p_x(j)}{1-p_x(j)}\bigg)=\beta_{0j}+\beta_{1}X_1+\ldots+\beta_{p}X_p \\ & p_x(j)=\Pr(Y\leq j|X_1=x_1, \ldots, X_p=x_p) \end{align} \]
## Doctor2
## Doctor1 Depression Personality Disorder Schizophrenia Neurosis
## Depression 7 1 2 3
## Personality Disorder 0 8 1 1
## Schizophrenia 0 0 2 0
## Neurosis 0 0 0 1
## Other 0 0 0 0
## Doctor2
## Doctor1 Other
## Depression 0
## Personality Disorder 0
## Schizophrenia 0
## Neurosis 0
## Other 4
## value ASE z Pr(>|z|)
## Unweighted 0.6512 0.09968 6.532 6.474e-11
## Weighted 0.6331 0.11939 5.303 1.140e-07
##
## Kappa lwr upr
## Unweighted 0.4557884 0.8465372
## Weighted 0.3991025 0.8670846
icc
function in psy
or irr
packages## rater1 rater2 rater3
## 1 4. Neurosis 4. Neurosis 4. Neurosis
## 2 2. Personality Disorder 2. Personality Disorder 2. Personality Disorder
## 3 2. Personality Disorder 3. Schizophrenia 3. Schizophrenia
## 4 5. Other 5. Other 5. Other
## 5 2. Personality Disorder 2. Personality Disorder 2. Personality Disorder
## 6 1. Depression 1. Depression 3. Schizophrenia
## 7 3. Schizophrenia 3. Schizophrenia 3. Schizophrenia
## 8 1. Depression 1. Depression 3. Schizophrenia
## 9 1. Depression 1. Depression 4. Neurosis
## 10 5. Other 5. Other 5. Other
## 11 1. Depression 4. Neurosis 4. Neurosis
## 12 1. Depression 2. Personality Disorder 4. Neurosis
## 13 2. Personality Disorder 2. Personality Disorder 2. Personality Disorder
## 14 1. Depression 4. Neurosis 4. Neurosis
## 15 2. Personality Disorder 2. Personality Disorder 4. Neurosis
## 16 3. Schizophrenia 3. Schizophrenia 3. Schizophrenia
## 17 1. Depression 1. Depression 1. Depression
## 18 1. Depression 1. Depression 1. Depression
## 19 2. Personality Disorder 2. Personality Disorder 4. Neurosis
## 20 1. Depression 3. Schizophrenia 3. Schizophrenia
## 21 5. Other 5. Other 5. Other
## 22 2. Personality Disorder 4. Neurosis 4. Neurosis
## 23 2. Personality Disorder 2. Personality Disorder 4. Neurosis
## 24 1. Depression 1. Depression 4. Neurosis
## 25 1. Depression 4. Neurosis 4. Neurosis
## 26 2. Personality Disorder 2. Personality Disorder 2. Personality Disorder
## 27 1. Depression 1. Depression 1. Depression
## 28 2. Personality Disorder 2. Personality Disorder 4. Neurosis
## 29 1. Depression 3. Schizophrenia 3. Schizophrenia
## 30 5. Other 5. Other 5. Other
## rater4 rater5 rater6
## 1 4. Neurosis 4. Neurosis 4. Neurosis
## 2 5. Other 5. Other 5. Other
## 3 3. Schizophrenia 3. Schizophrenia 5. Other
## 4 5. Other 5. Other 5. Other
## 5 4. Neurosis 4. Neurosis 4. Neurosis
## 6 3. Schizophrenia 3. Schizophrenia 3. Schizophrenia
## 7 3. Schizophrenia 5. Other 5. Other
## 8 3. Schizophrenia 3. Schizophrenia 4. Neurosis
## 9 4. Neurosis 4. Neurosis 4. Neurosis
## 10 5. Other 5. Other 5. Other
## 11 4. Neurosis 4. Neurosis 4. Neurosis
## 12 4. Neurosis 4. Neurosis 4. Neurosis
## 13 3. Schizophrenia 3. Schizophrenia 3. Schizophrenia
## 14 4. Neurosis 4. Neurosis 4. Neurosis
## 15 4. Neurosis 4. Neurosis 5. Other
## 16 3. Schizophrenia 3. Schizophrenia 5. Other
## 17 4. Neurosis 5. Other 5. Other
## 18 1. Depression 1. Depression 2. Personality Disorder
## 19 4. Neurosis 4. Neurosis 4. Neurosis
## 20 5. Other 5. Other 5. Other
## 21 5. Other 5. Other 5. Other
## 22 4. Neurosis 4. Neurosis 4. Neurosis
## 23 5. Other 5. Other 5. Other
## 24 4. Neurosis 4. Neurosis 4. Neurosis
## 25 4. Neurosis 4. Neurosis 5. Other
## 26 2. Personality Disorder 2. Personality Disorder 4. Neurosis
## 27 1. Depression 5. Other 5. Other
## 28 4. Neurosis 4. Neurosis 4. Neurosis
## 29 3. Schizophrenia 3. Schizophrenia 3. Schizophrenia
## 30 5. Other 5. Other 5. Other
## Light's Kappa for m Raters
##
## Subjects = 30
## Raters = 6
## Kappa = 0.459
##
## z = 2.31
## p-value = 0.0211