Prelim #2 Flashcards
Types of Test
Test of a single proportion
Goodness of fit test
Test of association
null/reference distribution of a test of single proportion
binomial distribution
null/reference distribution of goodness of fit test
chi-square distribution
null/reference distribution of a test of association
chi-square distribution
assumptions for chi-square test
- adequate cell sizes
- all cells must have expected counts >=1
- at least 80% of the cells need expected counts>=5
assumptions for binomial distribution
- the number of trials, n, is fixed
- individual trials are independent
- there are only 2 outcomes for every trial
- the probability of success (p) is the same for every trial
assumptions of poisson distribution
-observations are independent and the probability of an observation is constant throughout
clumped
variance>mean
odds ratio
a/c/b/d (odds of success in one group divided by the odds of success in another group)
relative risk
pr(worse outcome in group 1)/pr(worse outcome in group 2)
finding p value in R
1-pchisq(teststat, df)
finding critical value in R
qchisq(percentile, df)
Type 1 error
rejecting a true null hypothesis
Type 2 error
(beta) failing to reject a false null hypothesis
hypothesis testing assumes that…
sampling is random