This preview has intentionally blurred sections. Sign up to view the full version.
View Full Document
Unformatted text preview: How is the ChiSquare Test Statistic Calculated? What follows is the math behind calculating the chisquare test statistic for a test of independence between two categorical variables. The example used is that for testing whether Gender is independent of type of high school attended (public or private). The sample data is (the numbers reflect the counts). Public Private Total Female 38 7 45 Male 46 9 55 Total 84 16 100 The basic premise of the test of independence is to see if the distribution of the percentages is the same for each level of category. That is, is the percentage of males attending public schools “close enough” to that percentage for females attending public schools? We do this by comparing what we “observe” (i.e. the data in the table which is the sample data) to what we would expect to see in our sample if there was no relationship, i.e. the variables were independent....
View
Full
Document
This note was uploaded on 08/01/2011 for the course STAT 101 taught by Professor Thomas during the Spring '11 term at Penn State.
 Spring '11
 Thomas
 ChiSquare Test

Click to edit the document details