Hypothesis tests Flashcards
(20 cards)
Test used for finding population mean (mu)
1-variable, 1-sample, numerical…
1-sample z/t-test
Assumptions for 1-sample z/t-test
z-test: sample mean is from normal distribution (if sample size is large enough, CLT applies)
t-test: sample is from normal distribution (or sample size is large enough to be robust)
What is a 1-sample z/t-test used for?
Finding the population mean (mu)
Test used for finding the average distance between pairs
2-variables, numerical, 1-sample (e.g. over time)…
Paired t-test
Assumptions for paired t-test
The differences between pairs are drawn from a normal population.
What is a paired t-test used for?
Finding the average distance between pairs
Test used for hypothesising a linear relationship between 2 numerical variables
t-test for population slope (beta)
Assumptions for t-test for population slope
- Linear model is appropriate (scatterplot)
- Residuals are from a normal distribution (histogram)
- Residuals have constant standard deviation (residuals vs. fit) => an even scatter along x axis
Test used for finding the difference between averages
2 independent samples, numerical
2-sample t-test for difference between 2 population means
Assumptions for a 2-sample t-test
- Both samples drawn from normal distribution
2. Both samples have same standard deviation
What is a 2-sample t-test used for?
Finding the difference between that averages of 2 independent samples
Test used for hypothesising about a single proportion
Categorical, 1-variable
z-test for population proportion (pi)
Assumptions for z-test for population proportion
n(pi) >5
n(pi-1)>5
Test used for hypothesising about any number of proportions
Chi-squared goodness-of-fit test
Assumptions for chi-squared goodness-of-fit test
All expected values >/= 5
What is a chi-squared goodness-of-fit test used for?
Hypothesising about any number of proportions
Test used for hypothesising about associations between 2 categorical variables
Chi-squared test of independence
Assumptions for chi-squared test of independence
All expected values >/= 5
What is a chi-squared test of independence used for?
Hypothesising about associations between 2 categorical variables.
Name all the hypothesis tests
1-sample z/t-test for population mean
Paired t-test for population mean difference
T-test for population slope (beta)
2-sample t-test for differences between population means
z-test for population proportion (pi)
Chi-squared goodness-of-fit test
Chi-squared test of independence