Lecture 4: Hypothesis testing Flashcards

1
Q

Hypothesis testing

A

A method of inferential statistics which allows researchers to draw conclusions about the population based on sample data. It involves formulating hypotheses, calculating test statistics, determining p-values and drawing conclusions about the null hypothesis

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Equality hypotheses vs inequality hypotheses

A

Equality hypotheses state that a value, difference or effect is equal to zero.

Inequality hypotheses state that a value, difference or effect is larger or smaller than a specific value.

Hypothesis testing does not provide evidence for hypotheses, but rather helps casting doubt on a null hypothesis.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Fisher’s philosophy on hypotheses

A

Suggests only using a null hypothesis. If this null hypothesis is rejected, the “truth” must be anything other than the null hypothesis.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Neyman-Pearson’s philosophy on hypotheses

A

Suggests stating specific null and alternative hypotheses, with an explicit expected effect size for the alternative hypothesis. This allows for calculating the probabilities of drawing correct or incorrect conclusions.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Type I error

A

Refers to rejecting the null hypothesis when it is true: a false-positive conclusion. This risk is also called Alpha

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Type II error

A

Refers to accepting the null hypothesis when it is false: failing to detect a true effect. This risk is also called Beta.

In general, Beta (B) decreases when the effect size is greater, the sample is larger and there is less “noise” (lower standard deviation).

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Steps involved in hypothesis testing

A
  1. Formulate hypotheses: this involves stating a testable proposition about population parameters
  2. Calculate a test statistic: a test statistic describes how many standard errors away from the population statistic, under the null hypothesis, the sample statistic is
  3. Calculate the p-value: the p-value represents the probability value of observing a value at least as extreme as the sample statistic, assuming the null hypothesis is true
  4. Draw a conclusion about the null hypothesis: based on the p-value, we either reject or fail to reject the null hypothesis.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What do p-values show?

A

The probability of observing certain data assuming the null hypothesis is true. The p-value is then compared to a pre-determined significance level (denoted as alpha) to make a decision about accepting or rejecting the null hypothesis.

Rejecting the null hypothesis indicates that the observed data is unlikely to occur if the null hypothesis were true. Failing to reject the null hypothesis means that the observed data is not surprising or does not provide sufficient evidence to reject it.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

T-distribution

A

With the Z-distribution, we use the population’s standard deviation. The problem is that we rarely know the population’s standard deviation. Using our sample’s SD introduces uncertainty as SD is not exactly equal to the standard deviation. If we don’t account for this uncertainty, p-values will be too small. Therefore, we use the T-distribution that gives slightly larger p-values.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Degrees of freedom

A

Controls how thick the tails of our distribution are.

Lower df: thicker tails, higher p-values for the same test-statistic

Higher df: skinnier tails, lower p-values for the same test statistic

As the degrees of freedom increase, the more the distribution tends towards the standard normal distribution. Usually this happens when the sample is bigger or equal to 30.

Degrees of freedom can be calculated by using the formula n - 1

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

Critical values

A

The Z-values corresponding to the chosen α level. We reject the null hypothesis when the test statistic exceeds the critical value.

  1. For a two-sided test and α = 0.05, the critical value is 1.96
  2. For a one-sided test and α = 0.05, the critical value is 1.64
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

Power

A

Probability of correctly finding a true effect (you’ll literally hold power then because you’re great)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly