STAT 4: Introducing Hypothesis Testing Flashcards
1
Q
What is the function for the inverse cumulative density of the binomial distribution?
A
qbinom (q, size, prob)
- q = a certain variable
- size = number of trials
- p = probability of success
2
Q
What is the p-value?
A
- the probability of getting a result that extreme or more assuming a null hypothesis is true
3
Q
What is a type I error?
A
- known as false positive
- occurs when the null hypothesis is true but you reject it
4
Q
What is a type II error?
A
- known as a false negative
- when you fail to reject the null hypothesis even though it is not true
5
Q
Explain what is meant by the statistical power of a test
A
- the statistical power of a test is the probability of correctly rejecting the null hypothesis
6
Q
How do you calculate statistical power?
A
1 - ß
- beta = overlap with fair test
7
Q
What type of dispersion and difference between peaks will result in the most statistically powerful experiment?
A
- low dispersion
- high difference between peaks
8
Q
What does alpha represent in a hypothesis test?
A
- significance level
- the proportion of false positives if the null hypothesis is true
9
Q
What affects power?
A
- effect size
- dispersion + peak difference
- n: number of trials
10
Q
Define beta
A
- the probability of a type II error
- the probability of accepting the null hypothesis when it is false