3 Hypothesis testing Flashcards

1
Q

Describe the steps you would take to take a hypothesis test to decide if the difference between 2 means was statistically significant?

A
  1. Assume H0
  2. Predict SE
  3. Observed difference
  4. T and P value (obs/SE)
  5. Reject or accept H0
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What do we assume when doing a hypothesis test?

A

Assume normal distribution

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

How would p value be affected if standard deviation increases?

A

If SD is bigger, SE is bigger so t is smaller (t=obs/SE) so p gets bigger as SD increases.
This makes sense- if the variability increases, the chance of getting an extreme value is higher

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

Calculate 95% CI for a mean difference of 4 points, where SE is 0.5

A

4+-(1.96x0.5) = 3.02, 4.98

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

What does the confidence interval tell us?

A

If 0 falls within the interval, then there is a 95% probability that there is no difference between the 2 means, so accept H0

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

Describe the 2 types of error

A
  1. Alpha error- false positive - rejected H0, but there is no difference
  2. Beta error - false negative - accepted H0, but there is a difference
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What is power and how do you calculate it?

A

Power = Correct rejection
Power = 1-B

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

How does having fewer sample numbers affect the SE?

A

Less samples = higher SE (more variability)

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

How does fewer samples affect the likelihood of rejecting H0?

A

Fewer samples = higher SE = lower z value = higher p value = more likely to accept H0

Makes sense - more variation in data so higher chance of observed value to be in the expected range

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

What is statistical power?

A

The probability of finding an effect if it is there
The probability of not making a Type 2 error

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

What statistical power do we typically aim for?

A

80%
20% chance of making Type II error (false negative)

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

Describe what a Type I and Type II error is?

A

Type I - false positive (rejecting H0, though H0 is true- there is no actual effect)
Type 2 - false negative (accepting H0, though H0 is false- this is actually an effect)

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

What is p value?

A

Chance of the observed value if H0 is true

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

What are the 4 factors that affect power and how do they affect it?

A

Sample size - greater sample size = more power
Effect size - greater observed effect = greater power
SD - greater SD = less power
Significance level desired - 99% vs 95% –> more = less power

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

What does sigma mean in statistics?

A

Standard deviation

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

Sample size calculations are not idealised. What do they not account for/assume?

A

They don’t account for losses to follow up in prospective studies
They assume individuals are independent observations

17
Q

When you do an independent 2 sample t test for hypothesis testing, what is the first thing you need to do? And what will come up on SPSS?

A

Normality check first using Kolmogorov-Smirnov
It will show the Levene’s Test for Equality of variance which will give you the p value labelled as sig.
If sig<0.05 (thinking reject so use assume not equal row)
If sig>0.05 (thinking accept H0 so use assume equal row)

18
Q

What test do we use instead of t test for Proportions?

A

Z test / chi square test

19
Q

What is the Z test?

A

a statistical test for which the distribution of the test statistic under the null hypothesis can be approximated by a normal distribution.