Speech Therapist (ST)Neuropsychologist (NP)Psychiatrist (P)TotalBoys304530105Girls30151055Total606040160
Expected values(ST)(NP)(P)TotalBoys160105×60=39.375160105×60=39.375160105×40=26.25105Girls16055×60=20.62516055×60=20.62516055×40=13.7555Total606040160
Squared Distances(ST)(NP)(P)Boys39.375(30−39.375)2=2.23239.375(45−39.375)2=0.80426.25(30−26.25)2=0.536Girls20.625(30−20.625)2=4.26120.625(15−20.625)2=1.53413.75(10−13.75)2=1.023
The following null and alternative hypotheses need to be tested:
H0: The two variables are independent
H1: The two variables are dependent
This corresponds to a Chi-Square test of independence.
Based on the information provided, the significance level is α=0.05, the number of degrees of freedom is df=(r−1)(c−1)=(3−1)(2−1)=2, so then the rejection region for this test is
R={χ(α,df)2:χ(α,df)2>5.991}
The Chi-Squared statistic is computed as follows:
χ2=i=1∑nEij(Oij−Eij)2=
=2.232+0.804+0.536+4.261+1.534+1.023=10.390 Since it is observed that χ2=10.390>5.991=χ(α,df)2, it is then concluded that the null hypothesis is rejected.
Therefore, there is enough evidence to claim that the two variables are dependent, at the 0.05 significance level.
The corresponding p-value for the test is p=Pr(χ22>10.390)=0.005544.
(1) We reject the null hypothesis and conclude that specialist type and gender of children are dependent.
Comments