ComenzarEmpieza gratis

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.

Este ejercicio forma parte del curso

Practicing Statistics Interview Questions in R

Ver curso

Ejercicio interactivo práctico

Prueba este ejercicio y completa el código de muestra.

# Plot status vs NHR
___(status ~ ___, data = ___)

# Plot status vs DFA
___(___ ~ ___, ___ = ___)
Editar y ejecutar código