Exam 2 Flashcards
t distribution
- we use a sample standard deviation s instead of population standard deviation
- used when you don’t know population sd
- similar to normal but “thicker tails
- shape depends on sample size: df = n-1
- the bigger the sample size, the closer to normal
95% Confidence interval
x - tcrit (s/sqrtn) < u < x + tcrit (s/sqrtn)
conditions/assumptions of t test
- random sample
- observations should be independent of each other
- population should be normal or n >25
steps to hypothesis testing
- hypothesize: state null and alternative
- prepare: set sig level at 0.05, select test, check assumptions, find critical value
- compare: compute test statistic and compare to critical value or example 95% CI
- interpret
p-value
the probability of observing a t-statistic at least as extreme as the one you calculated, assuming your hypothesis is true
one sample t test
compares 1 sample mean to a comparison value of interest
independent samples t-test
-compares samples from two different groups to see if the means are significantly different
paired (or dependent-samples) t-test
-comparing one sample to another related sample to see if there are differences within pairs
one-tailed test
non-directional
two-tailed
directional
Chi-Squared Goodness of Fit
-test if one categorical variable matches the expected distribution
test of independence
-test whether there is an association between two categorical variables
conditions/assumptions of chi-squared
- random sample, independent observations
- sample size: at least 1 of each expected count
- 80% of expected counts should be >5
chi-square
sum (((observed-expected)^2)/expected)
expected count (for chi squared)
(row total x column total)/grand total