hypothesis testing Flashcards
What are the types of hypotheses?
Research hypothesis (the question being investigated)
Null hypothesis (𝐻0): The hypothesis that is tested
Alternative hypothesis (𝐻1 or 𝐻𝐴): The opposite of 𝐻0
What is a confidence interval?
An interval (lower & upper limit) within which the true value of a population parameter lies with a specified confidence level.
How do hypothesis tests differ from confidence intervals?
Hypothesis tests assess whether a single value is the true parameter.
Confidence intervals estimate a range where the true parameter likely falls.
What are the steps in a hypothesis test?
- Specify the hypothesis
- Obtain a test statistic from the data
- Compare the test statistic to a reference distribution
What is the null hypothesis (𝐻0)?
The hypothesis being tested, the test determines how much evidence the data provides to support this hypothesis.
Example:
𝐻0: 𝜇 = 3 (Mean density is 3 birds/km²)
What is the alternative hypothesis (𝐻1 or 𝐻𝐴)?
The hypothesis that contradicts 𝐻0, suggesting a difference or effect.
Example:
𝐻1: 𝜇 ≠ 3 (Mean density is not 3 birds/km²)
What are one-tailed and two-tailed tests?
One-tailed: Tests for a directional effect (e.g., 𝐻1: 𝜇 < 3 or 𝐻1: 𝜇 > 3)
when an effect can only occur in one direction
an effect can occur in both directions but only one direction is of interest.
What is two-tailed tests?
Two-tailed: Tests for any difference (e.g., 𝐻1: 𝜇 ≠ 3)
What do we compare the test statistic to?
A reference distribution (e.g., t-distribution) to determine if the observed difference is significant.
How does variability affect hypothesis testing?
Low variability → Easier to detect a true difference
High variability → Harder to conclude significant differences
What types of statistical tests are covered?
One-sample & two-sample t-tests
ANOVA (more than two groups)
z-tests (proportions)
Chi-square tests (categorical data)
Linear regression (t and F tests)
How is a t-statistic calculated in a one-sample t-test?
tstat = (data estimate - hypothesised value) / SE(data estimate)
what will the tstat be if H0 is true
the test statistic (𝑡𝑠𝑡𝑎𝑡
) will be small (dependent on sampling variability) because the difference between the data-estimate (sample mean) and the hypothesised value is small.
what will the tstat be if H0 is false
the test statistic will be large (dependent on sampling variability) because the difference between the data-estimate and the hypothesised value is large.
What distribution is typically used as the reference distribution in these examples?
The t-distribution is used as the reference distribution.
What do the degrees of freedom (df) for the t-distribution depend on?
The degrees of freedom depend on what is being tested.
What are the two ways the reference distribution helps determine the strength of evidence for the null hypothesis?
- By obtaining an exact probability for the test statistic.
- By comparing the test statistic to a critical value based on a predetermined significance level.
In a one-sample two-tailed test, what is the null hypothesis (H0) and alternative hypothesis (H1)?
-𝐻0:𝜇=3.6
𝐻1:𝜇≠3.6
What is the reference distribution for the test with
𝑛=16?
𝑡𝑑𝑓=𝑛−1=𝑡15
In a two-tailed test, how is the area in the two tails interpreted?
The area in the tails represents the probability of obtaining a test statistic as extreme or more extreme than the observed value.
How do you calculate the area in the two tails for the test statistic −0.753?
Add the area in the left tail (< -0.753) and the right tail (> 0.753): 0.226+0.226=0.452
What is a p-value in hypothesis testing?
The p-value is the probability of observing a test statistic as extreme, or more extreme, than the one observed, assuming the null hypothesis is true.
What does the p-value quantify in hypothesis testing?
The p-value quantifies the chance of observing the data (or something more extreme) if the null hypothesis (H0) is true.
When is the null hypothesis typically rejected based on the p-value?
The null hypothesis (𝐻0) is usually rejected when the p-value is very small.