Lecture 4 Categorical data Flashcards
- There is no association between categorical variable 1 and categorical variable 2
- There is an association between categorical variable 1 and categorical variable 2
which is H0 and H1
top is H0 and bottom is H1
what is the Chi-squared test?
- Looks at the difference between the observed and expected frequencies across the contingency table
- The further away the observed values are from the expected values, the more likely it is the two variables are associated
– i.e. less likely the null hypothesis is true
what is relative risk?
The relative risk (RR) or risk ratio is the ratio of the probability of an outcome in an exposed group to the probability of an outcome in an unexposed group. Together with risk difference and odds ratio, relative risk measures the association between the exposure and the outcome.
Investigates how the risk of an event is associated with exposure to some risk factor
if the RR = 1, what does this mean?
- Same likelihood of an event in exposed & unexposed groups
- No association
if the RR <1, what does this mean?
- Less likely to have an event if exposed
- Negative association
- Exposure protective
if the RR > 1, what does this mean?
- More likely to have event if exposed
- Positive association
- Exposure harmful
- Because cohort studies & randomised controlled trials are prospective, it is possible to directly estimate risk of event based on exposure, ____ use RR
- Case-control studies are retrospective with selection based on event status. Cannot evaluate risk of event based on exposure, ________ use RR
can
cannot
Summary: Relative risk
- Directly estimates effect of _______ on event incidence
- Used for cohort studies & ____
- RR _ 1: positive association
- RR _ 1: negative association
- Can use ________ _______ to see if have significant association
exposure
RCTs
>
<
confidence intervals
another way of representing probabilities is _____
odds
what does Odds ratio = 1, mean?
- Odds of being exposed is same for cases and controls
- No association
what does Odds ratio <1 mean?
- Less likely cases exposed than controls
- Negative association
what does Odds ratio > 1, mean?
- More likely cases exposed than controls
- Positive association