Skip to content

mhc-stat340-f2019-sec02/class17Lab

Repository files navigation

class17Lab

This lab explores a data set of candy comparisons.

The 538 team created an experiment that collected over 250,000 data points. The experiment presented two randomly chosen types of candy to participants and asked them to chose which they would prefer as a trick-or-treater. The original experiment is here.

The dataset description can be found here.

The data collected characteristics of each type of candy presented to participants. The goal of this lab is to pick your favorite candy characteristics and build a logistic model that predicts this characteristic.

Instructions:

  1. Fork the 538 repository
  2. Choose a candy characteristic and build a logistic regression model. Your model must include
    • 3 covariates
    • Predict a different candy characteristic than the one we go over in class.
  3. Describe the coefficients corresponding to your covariates
    • Explain what the coefficients mean in terms of log odds
    • Explain what the coefficients mean in terms of odds
    • Identify any covariates that are significant
  4. Report the Accuracy of your logistic regression model

About

Candy and Logistic Regression

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published