Unit 10: Inference- NHST, CI, Effect size Flashcards
nhst: null hypothesis significance testing
research question
H1
alternate hypothesis
H0
null hypothesis (we only test the null: reject or fail to reject)
what does it mean by significant
null hypothesis is true but you reject it- type 1 or 2 error
type 1
null hypothesis is false but you dont reject it- type 1 or 2 error
type 2
alpha a
probability of rejecting the null when it is true (type 1 error)
typically set at .05
beta b
Probability of not rejecting the null when the alternative is true (i.e.,
Type II error)
Power
- Ability to detect significant results when they are truly there
- Power = 1 - β
tradeoff between alpha and beta
p value
The probability of you getting that observed statistic by chance if the null is true
if it is less than alpha, we reject the null hypothesis,
and the result is significant
- Typically, alpha is set at .05
- So the result is “significant” if p < .05
The level of significance p
The level of significance p (or a) specifies how rare results must be in order to provide evidence of rejection of H0
* This means the result is likely not due to chance (measurement error)
* The low threshold for statistical significance is p=0.05
* Other level of significance used in practice are 0.1, 0.01, and 0.001
One-Tail versus Two-Tail
A one-tailed test looks for an “increase” or “decrease” in the parameter whereas a two-tailed test looks for a “change” (could be increase or decrease) in the parameter.
We go with two-tails
If im asking Is my sample less than the population?
* Is my sample more than the population?
- uni-directional
- One-tail
- In practice, always two-tails because it’s “more
conservative and stringent” - In a sense, it’s like we really don’t want to falsely convict an innocent person
z test
Basic purpose: tells us about the underlying distribution the sample is drawn from. (is the sample mean likely to represent the population with which it is being compared
- Because we know the distribution of sample means will be normal,
no matter what, we can see where our sample mean falls on the z-
distribution (standard normal distribution) - Do this by using the population mean (μ) and SD (σ )
- Null: H0 distribution
- If we find that our sample lies in
an extreme tail of the H0 distribution,
then we argue it may come from a
different distribution
standard error
standard deviation of population/sqrt of sample size
z test vs z score
example of using z test
confidence interval
Confidence interval is a range of values within which it
can be stated with reasonable confidence the
population parameter lies
- Calculated from sample data
- Tells us the precision of a point estimate
- We can set the level of confidence. Typically, it’s 95%,
or sometimes 99%. - You see it reported as 95% CI or 99% CI
Statistical significance
means that an outcome isn’t likely to
have occurred by chance
Not statistically significant = representative = a random occurrence = occurs
within 95% of outcomes in H0 distribution
Statistically significant = not representative = a non-random outcome = occurs in the extreme 5% of outcomes- likely from alternative distribution
* An outcome or difference that exceeds a z score value of +/- 1.96 on the normal distribution is statistically significant.
- If value of the z-statistic is <= -critical value (e.g., -1.96)
- Or value of the z-statistic is >= +critical value (e.g., 1.96)
- Then, you reject H0.