W4 - Analysis of Count and Proportion Data Flashcards
What are the two types of Chi-Squared Tests?
Goodness of fit or “one-way” (1-independent variable)
Conteingency table/cross-tab or 2-way analyses (2 indepedent variables)
What is does a “goodness of fit” test measure?
How well an observed distribution of scores matches a distribution expected by chance.
hence the name “goodness of fit”
How would you conduct a “goodness of fit” test?
Obtain observed frequences for each level of the IV
Compare it to what a chance outcome would be.
What shape does a distribution based on chance look like?
Rectangle
These tests are an example of what type of test?
Goodness of Fit
If we are conducting a goodness of fit test on 3 vending machines and we observe 120 people, how many people should go each vending machine if the distribution was chance?
40 each
120/3
What is distributional similarity
How similar one distribution is to another
e.g. in a Goodness of Fit test, how well does the observe data match the chance data
What is the forumla for a Chi-Squared Test?
χ2 = Σ ( O – E )2 / E
Sum of [observed - expected frequency per level] / expected frequency
0 = Observed count per level
E = Expected count per level
What is the symbol that we use for the “obtained test value” in a Chi-Squared Test?
X2
How do we know if a Chi-Squared obtained test value is significant?
Compare the attained value with the critical value
If attained is greater than critical then it is significant
Critical value has something to do with DOF @ 20 mins in lecture if want to rewatch but doesn’t seem important
What is the degrees of freedom in a Goodness of Fit test?
The number of variables minus 1
How should you interpret a Goodness of Fit (or one-way) test?
Look for if the observed distribution of scores differs significantly from what would be expected by chance.
Are there any frequences which occur more than others?
What does a 2-way chi-squared test aim to accomplish?
To determine whether there is an ASSOCIATION between 2 categorical / ordinal variables.
It is a test of independence
What is meant by “a 2-way chi-squared test is a test of independence”?
Are the variables independent (no effect) or interdependent (related/ an effect)
Which test do we use to compare whether 2 variables are independent of one another (a familiar test)?
2-way chi-squared test