Code Monkey home page Code Monkey logo

mechacar_statistical_analysis's Introduction

MechaCar_Statistical_Analysis

Linear Regression to Predict MPG

Vehicle Lenght and ground clearance provided a non-random amount of variance to the mpg values in the dataset. From our linear regression model, the R-squared value is 0.7149, which means that roughly 71% of predictions will be correct when using this linear model. In addition, the p-value of our linear regression analysis is 5.35e-11, which is much smaller than our assumed significance level of 0.05%. Therefore, we can state that there is sufficient evidence to reject our null hypothesis, which means that the slope of our linear model is not zero.

Summary Statistics on Suspension Coils

The design specifications for the MechaCar suspension coils dictate that the variance of the suspension coils must not exceed 100 pounds per square inch which is true for all manufacturing lots in total (Variance = 76.23459), however, when we look at each lot individually not all of them meet that specification. According to the table above only Lot1 and Lot2 meet the design specification. Lot3 doesn't meet because it variance is 220.010563 which way above 100.

T-Tests on Suspension Coils

Our p-value is equal to 0.5117 which is more than 0.05, therefore we can not reject the null hypothesis.

The other t-test results are also not statistically different from the population mean of 1,500 pounds per square inch. P-values for Lot1, Lot2, and Lot3 are 0.9048. 03451, and 0.637 respectively and are more than 0.05. We can not reject the null hypothesis.

Study Design: MechaCar vs Competition

To see how the MechaCar performs against the competition we are going to conduct a statistical study. We are going to use safety rating as our metric. To test the hypothesis we would use a t-test. We'll test the mean of a single group (MechaCar) against another known mean (the competition). A one-sample t-test is used to test the following hypotheses:

H0 : There is no statistical difference between the observed sample mean and its presumed population mean. Ha : There is a statistical difference between the observed sample mean and its presumed population mean.

To run a statistical test we would need "crash" data.

mechacar_statistical_analysis's People

Contributors

lubib 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.