Probability; type 1 and type 2 error and sample size Flashcards
What assumption is the p value calculated under?
The assumption that the null hypothesis is correct
What is the p value?
It gives the probability that result tested occurred by chance
What is type 1 error?
Rejecting the null hypothesis when it is correct (False positive)
(Overall positive results)
What is type 2 error?
Failing to reject the null hypothesis when it is correct (False negative)
(Overall negative results)
What is type 1 error designated by?
What is it set to?
Represented by alpha level (α)
0.05
What data is type 1 error
Higher values
Multiple tests
How can type 1 errors be reduced?
- By setting a lower value 0.01 (1% probability)
- Reporting p values to 3 decimal places to give more accurate probability estimates
What data is type 2 errors more likely with
Small samples
Small effect size
What is type 2 error designated by?
Beta
1-beta (power of a test)
How can type 2 errors be prevented?
Using a large sample size
Larger effect size (this helps to consider what is ‘clinically meaningful)
How does relaxing the alpha level (e.g. p=0.01) have an effect on type 1 and 2 errors?
Increases type 1 errors (false positives)
Decreases Type 2 errors (false negatives)
how does tightening the alpha level (e.g. p=0.01) have an effect on type 1 and 2 errors?
Decreases type 1 errors (false positives)
Increases type 2 errors (false negatives)