Académique Documents
Professionnel Documents
Culture Documents
Testing to differentiate between two Population Proportion and Hypothesized Value using Chi
Square:
There are instances when in a given population is more than one, where we consider the situation
where there are two or more independent comparison groups and the goal of the analysis is to
compare the distribution of responses to the discrete outcome variable among several
independent comparison groups.
The test is call the chi squared test of independence and the null hypothesis is that there is no
outcome across comparison groups. This is often stated as follows: The outcome variable and the
grouping variable are independent. If the row variable has only two category (success failure),
and the columns are population labels rather than levels of a second variable, the chi-square test
of independence is called a test for equality of proportions.
e.g.
We are interested in comparing 6-year graduation rate of dormitory residents versus non
dormitory residents. In terms of population parameters, we write the null and alternative
hypothesis as
H0 : P1 = P2 versus H1 : P1 = P2
Where P1 and P2 are the population graduation rates for dorm and non-dorm residents,
respectively.
Extrapolating the marginal distribution to each individual column, we get the following expected
frequencies:
The chi-square test compares these expected frequencies to the observed frequencies. The null
hypothesis is rejected if observed and expected frequencies are too far apart.
Here is the way a statistical report would formally present the test, in number stages.
2. Test statistic:
3. P-value: the area greater than 1.78 under the chi-square with 1 degree of freedom is .18.
4. Conclusion: Since P-Value > .05, we accept H0 : p1 = p2 . The sample does not provide enough
evidence to declare significant difference between graduation rates of dormitory and non-
dormitory students.