A data frame with 1000 observations on the following 5 variables.
cf.3mo
Outcome: case fatality within 3 months after stroke, 1 = deceased, 0 = not deceased.
lowered.consc
Mediator: level of consciousness upon arrival to hospital. 1 = lowered consciousness, 0 = fully alert.
AF
Exposure: atrial fibrillation. Factor with levels, "1" = atrial fibrillation, "0" = no atrial fibrillation.
age.cat
Age at time of stroke. Factor with levels, "45-69", "70-79", "80-89" and "90-".
sex
Factor with levels, "1" = male, "0" = female