Stats Flashcards
What kind of data does a Chi squared test work with?
Usually nominal, but can do ordinal.
Four different kinds of data
- Nominal - labels, no ranks
- Ordinal - categories with ranking
- Interval - true, quantitative measures
- Ratio - physical properties with no true value
Three observations for a Chi squared test
- Mutually exclusive classification - no one participant can belong to more than one category
- Exhaustive categories - all members are accounted for
- Independence of observation - each count is independent of one another
What does contingency Chi tests look for?
Do the observed frequencies reflect the independence of two qualitative variables?
Independence = knowledge of the value of one variable tells us nothing about the knowledge of another
Why do we do post hoc analysis?
Having a significant Chi value tells us that there is an association, but we don’t know where that association stems from - we have to find the cells that are significant
What is the residual?
The deviation of the observed from the expected frequency
Why do we do standardised residuals?
The size of the deviation is related to the size of the sample, standardising it accounts for different sizes of different cells and gives us a relative contribution
Why do we use adjusted residuals?
Because standard residuals have a standard deviation of less than one, so we have to adjust them to get a proper idea of variance
How do we interpret adjusted residuals?
They’re like z scores. For a = 0.05, anything bigger than 1.96 or smaller than -1.96 is significant. A positive residual says that there were more observed than expected, a negative residual says that there were less observed than expected
How do we get from an adjusted residual to a p value?
1- NORM.S.DIST(abs(adjres))
What kind of data is used in a t test?
Continuous data, usually interval
Three assumptions of t tests
- Normality - the sample tested come from a population that is normally distributed
- Homogeneity of variance - pooled vs not pooled variance (k=4)
- Independence - samples being compared do not influence one another (except for paired t-test)
Decision making errors
Type 1 error - a false positive, falsely rejected the null hypothesis
Type 2 error - a false negative, falsely rejected the alternate hypothesis
What is alpha?
The probability of making a type 1 error
When do we use a one sample t test?
When comparing a sample to a known population, when population variance is unknown