Professional Documents
Culture Documents
General Understanding H0 .vs. H1 Goodness of fit test How close to expected data? Used for categorical Data (as cannot average categories)
Equation
WHAT TO DO 1. 2. 3. 4. 5. 6. 7. 8. Draw C ontincency Table (see below) Calculate Expected = Eij = RiCj / N Generate Null Add together all the 0-E^2/E (see below) Work of DF: (2-1)*(2-1) = 1 Use df to find Critical Value Compare CV with OV Significant? For Chi Squared OV needs to be higher than CV
Eij = RiCj / N
Statistics
Degrees of Freedom
A single sample: There are n observations. There's one parameter (the mean) that needs to be estimated. That leaves n-1 degrees of freedom for estimating variability. Two samples: There are n1+n2 observations. There are two means to be estimated. That leaves n1+n2-2 degrees of freedom for estimating variability.
Used if expected is very small Used for 2x2 Tables Makes Data fit Chi Squared Used if expected is less than 5 (as this violates chi squared assumptions Can Be directional
Usually 2x2 but can be more Can tell us WHERE the difference lies
Important to remember the siginificance level should drop 0.05/3 AKA bonferonni effect Perform a Chi Squared on the data Calculate the df Ignore non-changers (like sign) Reorganise those that changed Gives Chi Sqaured > Look up in table to see if it is significant
1. 2. 3. 4. 5.
Used when have the whole population Test to see if 2 variables are independent Chi Squared does not tell us degree of relationship-Association Tests do this 2x2 Tables 0-1 (0 No association- 1 High Association) For larger tables Memorise this
Summary Chi Squared is considered a useful goodness of fit test Can be used to compare 1) Small Groups 2) Large Groups 3)Single Sample against population Limitations: To Contra: o Tests for Related Samples (McNemar o Tests for exact Statistics (Fisher Exact) o Tests that use small frequency (Fisher) o Tests that help determine degrees of association Phi Cramers Phi