Giter Site home page Giter Site logo

lingumd / mechacar_statistical_analysis Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 92 KB

Analysis on MechaCar data to help the manufacturing team, using R to run multiple linear regression, summary statistics, and t-tests.

R 100.00%
multiple-linear-regression r-studio statistical-analysis statistics summary-statistics t-tests

mechacar_statistical_analysis's Introduction

MechaCar_Statistical_Analysis

Purpose

Due to AutosRUs’ newest prototype, the MechaCar, suffering from production troubles that are blocking the manufacturing team’s progress, review the production data for insights that may help the AutosRUs's manufacturing team.

This includes the following tasks:

  • Perform multiple linear regression analysis to identify which variables in the dataset predict the mpg of MechaCar prototypes
  • Collect summary statistics on the pounds per square inch (PSI) of the suspension coils from the manufacturing lots
  • Run t-tests to determine if the manufacturing lots are statistically different from the mean population
  • Design a statistical study to compare vehicle performance of the MechaCar vehicles against vehicles from other manufacturers. For each statistical analysis, you’ll write a summary interpretation of the findings.

Linear Regression to Predict MPG

The variables that provided a non-random amount of variance to the mpg values in the dataset are vehicle length and ground clearance. The intercept is also statistically significant.

This linear model predicts the mpg of MechaCar prototypes effectively because the p-value is 5.35e-11, which is less than 0.05.

Del1.2

The slope of the linear model is not considered zero because the coefficients of the variables are not zero.

Del1.1

Summary Statistics of Suspension Coils

The manufacturing data shows that the variance of the suspension coils does not exceed 100 pounds per square inch when looking at all the manufacturing lots in total.

Del2.2

However, the manufacturing data of each lot individually shows that while Lots 1 and 2 meets the design specifications and both have variances less than 100 pounds per square inch(0.9795918 and 7.4693878 respectively), Lot 3 does not, with a variance of 170.2861224 pounds per square inch.

Del2.1

T-Tests on Suspension Coils

T-test: Ho: mu = 1500

Ha: mu ≠ 1500

All lots: There is not sufficient evidence to to reject the null hypothesis. The two means are statistically similar

Del3.1

Lot 1: There is not sufficient evidence to to reject the null hypothesis. The two means are statistically similar

Del3.2

Lot 2: There is not sufficient evidence to to reject the null hypothesis. The two means are statistically similar

Del3.3

Lot 3: There is sufficient evidence to to reject the null hypothesis. The two means are statistically different.

Del3.4

Study Design: MechaCar vs Competition

  • A metric that can be tested is if maintenance cost has a significant impact on mpg.
  • The null hypothesis would be that all coefficients in the model are zero and none of the predictor variables have a statistically significant relationship with mpg. The alternative hypothesis would be that not every coefficient in the model is zero and at least one of the predictor variables has a statistically significant relationship with mpg.
  • A multiple linear regression would need to be performed.
  • Data on maintenance cost on vehicles would need to be randomly collected. The sample size would need to be reasonably large.

mechacar_statistical_analysis's People

Contributors

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