Hypothesis tests of Proportions Flashcards
null hypothesis
no difference between groups or no association/
true difference in parameter on treatment or on placebo =0
alternative hypothesis
contradicts the null hypothesis
states that the true difference in parameter on treatment or on placebo is not 0
p value
probability of observing a test statistic as, or more extreme than that observed by tour sample in hypothetical repetitions of the study assuming that the null hypothesis is true
if p<0.05
statistically significant at 5% level
null hypothesis rejected
is p>0.05
not statistically significant at 5% level
insufficient evidence to reject the null hypothesis
type 1 statistical error
if null hypothesis rejected when it is true
probability of error = significance level
type 2 statistical error
if the null hypothesis is not rejected when it is false
larger studies reduce risk of type 2
what is chi squared 2x2 used for
to compare proportions between 2 independent groups
hypothesis tested in chi 2x2
H0 = population proportion in group 1 equals population proportion in gp 2 OR no association between group variable and outcome variable in the population
H1=pop proportion ingp1 does not equal the pop proportion in group 2
assumptions in chi sqared 2x2
only considered reliable if all expected values are greater than 5
what is absolute risk reduction
difference in risk between the 2 treatment groups
absolute risk reduction equation
risk in placebo group - risk in treatment group
=b/(b+d) - a/(a+c)
what is relative risk
risk in the treatment divided by the placebo group
above 1 = increased treatment group compared with the placebo group
what is the odds ratio
odds in the treatment group divided by the placebo group
=odds in treatment group/odds in placebo group
chi squared test for r x c table
usage
to compare an outcome categorical variable with r categories between c independent groups