CK020 - Statistical Tests for Logistic Regression Flashcards
What does the ‘One-sample z-test’ test?
Tests if the mean of a single sample is equal to a known value or population mean.
When do you use the ‘One-sample z-test’ test?
Use when the sample size is large (n>30), and the population variance is known.
What does the ‘Two-sample z-test’ test?
Tests if the means of two independent groups are equal.
When do you use the ‘Two-sample z-test’ test?
Use when comparing two independent groups with large sample sizes and known population variances.
What does the ‘Chi-square test’ test?
Tests if there is an association between two categorical variables.
When do you use the ‘Chi-square test’ test?
Use for contingency tables to assess relationships between categorical variables. Requires sufficient sample size.
What does the ‘Fisher’s exact test’ test?
Tests if there is an association between two categorical variables.
When do you use the ‘Fisher’s exact test’ test?
Use for contingency tables when sample sizes are small and Chi-square assumptions are not met.
What are the assumptions of the ‘One-sample z-test’ ?
- Observations are independent of eachother
- Sample size is large enough to use normal approximation
What are the assumptions of the ‘Two-sample z-test’ ?
- Observations are independent of eachother
- Sample size is large enough to use normal approximation
What are the assumptions of the ‘Chi-square test’ ?
- Study groups must be independent
- There are 2 categorical variables
- Levels of the variables are mutually exclusive
What are the assumptions of the ‘Fisher’s exact test’ ?
- Study groups must be independent
- Variables should be dichotomous
- Both row and column marginal totals are fixed in advance
What does the ‘McNemar test’ test?
Whether the proportion of individuals who change from one category to another differs significantly from the proportion of those who change in the opposite direction.
When do you use the ‘McNemar test’ test?
If you assess the patients both before and after treatment, the McNemar test can be used to compare the number of patients who:
Went from “not improved” to “improved” (0 → 1).
Went from “improved” to “not improved” (1 → 0).
If these two proportions differ significantly, it suggests that the treatment had a significant effect on the outcome.
What are the assumptions of the ‘McNemar test’ ?
- Variables are categorical
- Data is matched
- Pairs are independent of eachother
- Levels of the variables are mutually exclusive