MPG Predictor Pitch

Anish Singhal

MPG Predictor App

A Simple Interactive Shiny App

Predict car fuel efficiency based on weight and horsepower.

Created as part of the Johns Hopkins Data Science Specialization
Developing Data Products – Week 4

What the App Does

How It Works

model <- lm(mpg ~ wt + hp, data = mtcars)
summary(model)$coefficients
##                Estimate Std. Error   t value     Pr(>|t|)
## (Intercept) 37.22727012 1.59878754 23.284689 2.565459e-20
## wt          -3.87783074 0.63273349 -6.128695 1.119647e-06
## hp          -0.03177295 0.00902971 -3.518712 1.451229e-03

App Output

Access the App