June 2017
Beginner to intermediate
576 pages
15h 22m
English
This example takes data from a research study which predicts whether or not a subject reported experiencing a reduction of pain for a condition, after being administered various treatments. The Gender, Age, and the Duration columns of any pre-existing pain were also used as independent variables in the model. The outcome variable, Pain, is coded as 1 (reported pain), or 0 (reported no pain). The Treatment column refers to 1 of 2 treatments (A or B), as well as a control group (P).