O'Reilly logo

Practical Predictive Analytics by Ralph Winters

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Example - using logistic regression in health care to predict pain thresholds

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).

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required