Lecture 3 Flashcards
What is a t distribution?
A distribution for a small sample size.
All t-distributions resemble normal distributions in that they are unimodal with the mean centered.
t-distributions have somewhat “fatter” tails than normal distributions.
How do you calculate degrees of freedom?
n-1
where n is the sample size
What is the use of t tests?
Providing CI’s around the mean
What is the alpha number?
The 1-CI
e.g. 95% CI has an alpha number of 0.05
How is this interpreted:
95%CI = 63.36 ± (2.228)(3.41) = 60.36 ± 7.60 = 52.76, 67.96
We are 95% confident that the mean is between 52.76 and 67.96
What assumptions must be made to do a t-test?
- The sample is random or unbiased.
- All observations are independent
- We are sampling from a normal population.
When can you not use pooled variance?
If the difference in variance (SD) is different by a factor of 2, you should use separate variances rather than pooled variances.
Based on CI, how can you tell if two means are significantly different?
If the CI of the difference between the two does not include zero.
How do you calculate df for pooled (equal) variance?
n1 + n2 -2
What determines df?
ALWAYS SAMPLE SIZE!
What is a shortcut for calculating df for unequal variances?
df = n-1
using n of the SMALLER of the two sample sizes
What is true of repeated measures on the same individual?
They can never be independent! Must first find the difference between the paired measurements and look at the variance in THAT (basic t test).
What test in stata do you use to test for equal variances?
Robust-equal variance test. aka as Levene’s test
What is the null hypothesis for Levene’s test?
That the variances are equal
Does a p value tell you anything about the magnitude of the difference between values?
Nope