Fitting logistic models
Many business problems require the prediction of a binary response variable. Your future employer may need to detect spam e-mails, credit card frauds, or rare diseases.
The logistic regression model is the go-to method for binary classification problems.
In this exercise, you will use Parkinson's dataset from the UCI repository. This dataset is composed of a range of biomedical voice measurements from people with and without Parkinson's disease.
You will use the following variables from the dataset:
status- 1 - if a person has Parkinson's disease, 0 - otherwise,NHR- a measure of the ratio of noise to tonal components in the voice,DFA- a signal fractal scaling exponent.
The dataset is available as parkinsons.
本练习是课程的一部分
Practicing Statistics Interview Questions in R
交互式实操练习
通过完成这段示例代码来试试这个练习。
# Plot status vs NHR
___(status ~ ___, data = ___)
# Plot status vs DFA
___(___ ~ ___, ___ = ___)