Giter VIP home page Giter VIP logo

mechacar_statistical_analysis's Introduction

MechaCar Statistical Analysis

Author

Lydia Delgado Uriarte

Linear Regression to Predict MPG

Summary

Summary_MPG

Which variables/coefficients provided a non-random amount of variance to the mpg values in the dataset?

The variables vehicle_weight, spoiler_angle and AWD were the ones providing a non-random amount of variance.

The slope of the linear model is considered to be zero?

The slope in this model is not considered zero according to the p-value that equals 5.35e-11 and it must be more than 0.05% to be consideed zero.

Does this linear model predict mpg of MechaCar prototypes effectively? Why or why not?

It can predict almost all effectively since the value of R is near 1 being this value 0.7149, if it was 1 it would predict all efectively so this model predict almost all correctly except in some cases .

Summary Statistics on Suspension Coils

Total summary

Total_Summary

Summary by Lot

Lot_Summary

Does the current manufacturing data variance of the suspension coils follow the rule to not exceed 100 pounds per square inch for all manufacturing lots in total and each lot individually? Why or why not?

For the manufacturing loots in total the suspension coils does not exceed the 100 pounds per square inch considering all the lots in total, this is since is the calculation of the lots all together.

The Lots individually the first Lot and second Lot does not exceed the 100 pounds since the value of the Lot1 is 0.9795918 and Lot2 of 7.4693878. Lot 3 does exceed the 100 pounds as well 70 pounds more because the value of the variance is 170.2861124.

T-Tests on Suspension Coils

T-test that compares all manufacturing Lots

T-test_all

The mean highly resembles with all the lots, as well that it is a probability that the null hypothesis is true.

First Lot T-Test vs PSI

T-test_first_lot

Second Lot T-Test vs PSI

T-test_second_lot

Third Lot T-Test vs PSI

T-test_third_lot

All the lots look similar, the least alike is the third Lot having a mean less than expected and far away from the mean 1500, the first lot was the most close to 1500 and with a p-value of 1.

Study Design: MechaCar vs Competition

A car price can be different according to different factors, this is why it is important to put in retroprespective different type of situations as well.

What metric or metrics are you going to test?

  • City where it was manufactured
  • Vehicle velocity
  • Price
  • Year manufactured
  • Fuel efficiency

What is the null hypothesis or alternative hypothesis?

H0= There is NO statistical difference between each sample of fuel.
H1= There is a statistical difference between each sample of fuel.

What statistical test would you use to test the hypothesis?

A Two-Sample T-Test test would be the best in this scenario taking samples to compare, if this value never changes it means H0, otherwise H1.

  • Check if significance level is below of 0.05 percent to reject the null hypothesis of the paired t-test.

What data is needed to run the statistical test?

  • Condition of the car
  • Model of the car
  • Kilometers driven
  • Type of fuel used
  • Price of the fuel
  • Mileage
  • Year of purchase
  • Location manufactured

mechacar_statistical_analysis's People

Contributors

lydiadel avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.