Stat 301 Lecture 30. Model Selection. Explanatory Variables. A Good Model. Response: Highway MPG Explanatory: 13 explanatory variables

Similar documents
Stat 401 B Lecture 31

Stat 401 B Lecture 27

Stat 301 Lecture 26. Model Selection. Indicator Variables. Explanatory Variables

Investigation of Relationship between Fuel Economy and Owner Satisfaction

Guatemalan cholesterol example summary

fruitfly fecundity example summary Tuesday, July 17, :13:19 PM 1

HASIL OUTPUT SPSS. Reliability Scale: ALL VARIABLES

The Dynamics of Plug-in Electric Vehicles in the Secondary Market

The PRINCOMP Procedure

Motor Trend Yvette Winton September 1, 2016

EXST7034 Multiple Regression Geaghan Chapter 11 Bootstrapping (Toluca example) Page 1

Background Information. Instructions. Problem Statement. HOMEWORK INSTRUCTIONS Homework #5 Vehicle Fuel Economy Problem

. Enter. Model Summary b. Std. Error. of the. Estimate. Change. a. Predictors: (Constant), Emphaty, reliability, Assurance, responsive, Tangible

Regression Models Course Project, 2016

AIC Laboratory R. Leaf November 28, 2016

FRICTION POTENTIAL AND SAFETY : PREDICTION OF

LECTURE 6: HETEROSKEDASTICITY

TRY OUT 25 Responden Variabel Kepuasan / x1

Getting Started with Correlated Component Regression (CCR) in XLSTAT-CCR

LET S ARGUE: STUDENT WORK PAMELA RAWSON. Baxter Academy for Technology & Science Portland, rawsonmath.

Statistics and Quantitative Analysis U4320. Segment 8 Prof. Sharyn O Halloran

UJI VALIDITAS DAN RELIABILIAS VARIABEL KOMPENSASI

Sharif University of Technology. Graduate School of Management and Economics. Econometrics I. Fall Seyed Mahdi Barakchian

LAMPIRAN I Data Perusahaan Sampel kode DPS EPS Ekuitas akpi ,97 51,04 40,

TRY OUT 30 Responden Variabel Kompetensi/ x1

Technical Papers supporting SAP 2009

2010 Model Year Carolinas Green Vehicle Guide

Problem Set 3 - Solutions

THERMOELECTRIC SAMPLE CONDITIONER SYSTEM (TESC)

Motor Trend MPG Analysis

Car Economics Activity

Executive Summary. Light-Duty Automotive Technology and Fuel Economy Trends: 1975 through EPA420-S and Air Quality July 2006

Important Formulas. Discrete Probability Distributions. Probability and Counting Rules. The Normal Distribution. Confidence Intervals and Sample Size

Lampiran 1. Penjualan PT Honda Mandiri Bogor

The Coefficient of Determination

Drilling Example: Diagnostic Plots

Lampiran IV. Hasil Output SPSS Versi 16.0 untuk Analisis Deskriptif

SHORT PAPER PCB OBLIQUE COLLISIONS ENGINEERING EQUATIONS, INPUT DATA AND MARC 1 APPLICATIONS. Dennis F. Andrews, Franco Gamero, Rudy Limpert

5. CONSTRUCTION OF THE WEIGHT-FOR-LENGTH AND WEIGHT-FOR- HEIGHT STANDARDS

delivery<-read.csv(file="d:/chilo/regression 4/delivery.csv", header=t) delivery

Universitas Sumatera Utara

Lampiran 1. Data Perusahaan

R-Sq criterion Data : Surgical room data Chap 9

2011 Eco-Friendly Taxi Guide

NEW CRASH TESTS: SMALL CARS IMPROVE AND THE TOP PERFORMERS ALSO ARE FUEL SIPPERS

San Diego Auto Outlook

Rated MPG for Confusion: Using Gas Mileage to Learn Graphing and Data Analysis

Oregon DOT Slow-Speed Weigh-in-Motion (SWIM) Project: Analysis of Initial Weight Data

TRINITY COLLEGE DUBLIN THE UNIVERSITY OF DUBLIN. Faculty of Engineering, Mathematics and Science. School of Computer Science and Statistics

Relating your PIRA and PUMA test marks to the national standard

Relating your PIRA and PUMA test marks to the national standard

Model Information Data Set. Response Variable (Events) Summe Response Variable (Trials) N Response Distribution Binomial Link Function

Introduction. Materials and Methods. How to Estimate Injection Percentage

Deflection characteristics for radial-ply tractor tyres

Dodge and Porsche Each Receive Three Segment-Level Awards; Audi, Ford, Mercedes-Benz and Nissan Each Receive Two

Preface... xi. A Word to the Practitioner... xi The Organization of the Book... xi Required Software... xii Accessing the Supplementary Content...

Linking the Mississippi Assessment Program to NWEA MAP Tests

Light-Duty Automotive Technology, Carbon Dioxide Emissions, and Fuel Economy Trends: 1975 Through Report

Topic 5 Lecture 3 Estimating Policy Effects via the Simple Linear. Regression Model (SLRM) and the Ordinary Least Squares (OLS) Method

Improving Analog Product knowledge using Principal Components Variable Clustering in JMP on test data.

Online appendix for "Fuel Economy and Safety: The Influences of Vehicle Class and Driver Behavior" Mark Jacobsen

Linking the Indiana ISTEP+ Assessments to NWEA MAP Tests

SAN PEDRO BAY PORTS YARD TRACTOR LOAD FACTOR STUDY Addendum

tool<-read.csv(file="d:/chilo/regression 7/tool.csv", header=t) tool

Lecture 2. Review of Linear Regression I Statistics Statistical Methods II. Presented January 9, 2018

2004 Honda Civic Hybrid Manual Sedan With Cvt Transmission Problems

THE ACCELERATION OF LIGHT VEHICLES

2016 Jetta Wagon Owners Manual Filetype

2015 J.D. Power Vehicle Dependability Study (VDS)

Linking the Virginia SOL Assessments to NWEA MAP Growth Tests *

Manual For Vw Polo 2018 Model READ ONLINE

Linking the North Carolina EOG Assessments to NWEA MAP Growth Tests *

Statistics for Social Research

Linking the Kansas KAP Assessments to NWEA MAP Growth Tests *

CHAPTER V CONCLUSION, SUGGESTION AND LIMITATION. 1. Independent commissioner boards proportion does not negatively affect

2017 Jetta Gls Vr6 Repair Manual

TrueSavings -- Great Savings on Six Orange Cars This Halloween

Linking the Alaska AMP Assessments to NWEA MAP Tests

Linking the Indiana ISTEP+ Assessments to the NWEA MAP Growth Tests. February 2017 Updated November 2017

Car Comparison Project

Linking the New York State NYSTP Assessments to NWEA MAP Growth Tests *

Colorado Legislative Council Staff Fiscal Note STATE REVISED FISCAL IMPACT (replaces fiscal note dated March 21, 2013)

Component Mass Study Statistical Benchmarking

Inventory Last Updated: January 26, 2018

Modeling Ignition Delay in a Diesel Engine

Linking the Florida Standards Assessments (FSA) to NWEA MAP

'08 '09 '10 '11 '12 '13 '14 '15 '16 '17 '18* Years Historical data source: IHS

Math 135 S18 Exam 1 Review. The Environmental Protection Agency records data on the fuel economy of many different makes of cars.

Improving CERs building

July 13, Reforming the Automobile Fuel Economy Standards Program Docket No. NHTSA , Notice 1

State-of-play of the project and possible way ahead

northisland.ccu.com/carsale Year Make Model/Description Mileage KBB Value Sale Price

PLATINUM SERIES PISTONS

PRESS RELEASE 9:30 GMT, 20 th February 2018 London, UK

Linking the Georgia Milestones Assessments to NWEA MAP Growth Tests *

Master of Applied Statistics Applied Statistics Comprehensive Exam Computer Output January 2018

LAMPIRAN A. Tabulasi Data Perusahaan Sample

NEW-VEHICLE MARKET SHARES OF CARS VERSUS LIGHT TRUCKS IN THE U.S.: RECENT TRENDS AND FUTURE OUTLOOK

: ( .

New Engines and Fuels for U.S. Cars and Light Trucks Ryan Keefe* Jay Griffin* John D. Graham**

Transcription:

Model Selection Response: Highway MPG Explanatory: 13 explanatory variables Indicator variables for types of car Sports Car, SUV, Wagon, Minivan 1 Explanatory Variables Engine size (liters) Cylinders (number) Horsepower Weight Wheel Base Length Width 2 A Good Model The 7-variable model with SUV, Minivan, All Wheel, Engine, Horsepower, Weight and Wheel Base Appears to be a good model. 3

Prediction Equation Predicted Highway MPG = 30.74 3.15*SUV 3.28*Minivan 2.08*All Wheel 1.65*Engine 0.0226*Horsepower 0.0029*Weight + 0.163*Wheel Base 4 Summary All variables add significantly. R 2 = 0.705 adj R 2 = 0.682 RMSE = 3.430786 C p = 4.9011 5 20 15 10 Residual Best Model 5 0-5 -10-15 -20 15 20 25 30 35 Predicted Highw ay MPG 6

.99.95.90.75.50 3 2 1 0 Normal Quantile Plot.25.10.05.01-1 -2-3 35 30 25 20 15 10 Count 5-5 0 5 10 15 7 Distributions Standardized Residual.99.95.90.75.50 3 2 1 0 Normal Quantile Plot.25.10-1.05.01-2 -3 40 30 20 10 Count -2-1 0 1 2 3 4 5 8 Box Plot Potential Outliers Vehicle Name Highway MPG Predicted MPG Residual Standardized Residual, z Honda Civic HX 2dr Toyota Echo 2dr manual Toyota Prius 4dr (gas/electric) Volkswagen Jetta GLS TDI 4dr 44 35.3787 8.6213 2.5129 43 35.5299 7.4701 2.1774 51 35.3093 15.6907 4.5735 46 33.4267 12.5733 3.6648 9

Text Definition There are two vehicles with residuals more than 3 standard deviations away from zero. Toyota Prius 4dr (gas/electric) Standardized Residual = 4.5735 Volkswagen Jetta GLS TDI 4dr Standardized Residual = 3.6648 10 Bonferroni Correction Adjust what is a small P-value. 0.05 0.05 0.0005 # of residuals 100 If a P-value is less than 0.0005, then the standardized residual is statistically significant. 11 Standardized Residual Vehicle Name Honda Civic HX 2dr Toyota Echo 2dr manual Toyota Prius 4dr (gas/electric) Volkswagen Jetta GLS TDI 4dr Standardized Residual, z Prob > z 2.5129 0.01197 2.1774 0.02945 4.5735 0.00000 3.6648 0.00025 12

Outliers Both the Toyota Prius and the Volkswagon Jetta have standardized residuals so extreme that they are considered statistically significant (P-value < 0.0005). 13 Leverage Because we have multiple explanatory variables, there is not an easy formula for leverage, h. The leverage, h, value takes into account all of the explanatory variables. 14 Rule of Thumb High Leverage Value if k 1 h 2 n n = 100, k = 7, k 1 8 2 2 0.16 n 100 15

Leverage There are 10 vehicles that have leverage, h, greater than 0.16. Of these, 2 have F-statistics large enough to produce P- values smaller than 0.0005. 16 Leverage h F Prob > F Chevrolet Corvette convertible 2 dr 0.2532 4.280 0.00039 Porsche 911 GT2 2 dr 0.4084 8.852 0.00000 17 Leverage What makes the leverage so high? Have to look for extreme values for the explanatory variables. 18

Leverage Chevy Corvette Has the 2 nd largest engine of all the vehicles 5.7 liter and the 2 nd highest horsepower 350 horsepower. Porsche 911 Has the highest horsepower of all the vehicles 477 horsepower. 19 Influence Cook s D None of the vehicles has a value of Cook s D that is greater than 1. The largest value of Cook s D is 0.16 for the Toyota Prius 4dr (gas/electric). The second largest is 0.12 for the VW Jetta. 20 Influence Just because there are no vehicles with Cook s D greater than 1, you should still look at the Studentized residuals. 21

Distributions Studentized Residual 40 30 20 Count 10-2 -1 0 1 2 3 4 5 22 Studentized Residual Vehicle Name Honda Civic HX 2dr Toyota Echo 2dr manual Toyota Prius 4dr (gas/electric) Volkswagen Jetta GLS TDI 4dr Studentized Residual, r s Prob > r s 2.5663 0.01189 2.2471 0.02702 4.5031 0.00001 3.7843 0.00027 23 Influential points Both the Toyota Prius and the Volkswagon Jetta have studentized residuals so extreme that they are considered statistically significant (P-value < 0.0005). 24

Summary Toyota Prius and Volkswagon Jetta are statistically significant outliers. Chevy Corvette and Porsche 911 are statistically significant high leverage values. Toyota Prius and Volkswagon Jetta exert statistically significant influence. 25 Response Highway MPG Summary of Fit RSquare RSquare Adj Root Mean Square Error Mean of Response Observations (or Sum Wgts) Analysis of Variance Source Model Error C. Total DF 7 92 99 Sum of Squares 2586.1328 1082.8672 3669.0000 Parameter Estimates Term Intercept SUV Minivan All Wheel Engine Horsepower Weight Wheel Base Estimate 30.735611-3.147224-3.283013-2.081883-1.654325-0.022587-0.002688 0.1632806 0.70486 0.682404 3.430786 27.7 100 Mean Square 369.448 11.770 Std Error 6.190658 1.385628 1.436711 1.01624 0.738966 0.008684 0.001221 0.075565 t Ratio 4.96-2.27-2.29-2.05-2.24-2.60-2.20 2.16 F Ratio 31.3881 Prob > F <.0001* Prob> t <.0001* 0.0255* 0.0246* 0.0433* 0.0276* 0.0108* 0.0302* 0.0333* 26 Prediction Equation All 100 vehicles Predicted Highway MPG = 30.74 3.15*SUV 3.28*Minivan 2.08*All Wheel 1.65*Engine 0.0226*Horsepower 0.0029*Weight + 0.163*Wheel Base 27

Response Highway MPG Summary of Fit RSquare RSquare Adj Root Mean Square Error Mean of Response Observations (or Sum Wgts) Analysis of Variance Source Model Error C. Total DF 7 90 97 Sum of Squares 2135.8830 637.6782 2773.5612 Parameter Estimates Term Intercept SUV Minivan All Wheel Engine Horsepower Weight Wheel Base Estimate 29.554037-2.543539-2.412591-1.649593-1.146582-0.016019-0.00368 0.1740468 0.770087 0.752205 2.661825 27.27551 98 Mean Square 305.126 7.085 Std Error 4.84856 1.07867 1.12014 0.790945 0.57808 0.00682 0.000959 0.059234 t Ratio 6.10-2.36-2.15-2.09-1.98-2.35-3.84 2.94 F Ratio 43.0646 Prob > F <.0001* Prob> t <.0001* 0.0205* 0.0339* 0.0398* 0.0504 0.0210* 0.0002* 0.0042* 28 Prediction Equation Excluding Prius and Jetta Predicted Highway MPG = 29.55 2.54*SUV 2.41*Minivan 1.65*All Wheel 1.15*Engine 0.0160*Horsepower 0.0037*Weight + 0.174*Wheel Base 29 Parameter Estimates Excluding Prius and Jetta results in a new prediction equation with different parameter estimates (a different relationship) between Highway MPG and the explanatory variables. 30

Comment Note that Engine has a P-value of 0.0504 and so is not significant at the 0.05 level. Is this model among the ones with the smallest RMSE, AIC c, and C p? 31 Comparison The model with SUV, Minivan, All Wheel, Engine Horsepower, Weight and Wheel Base: 16 th lowest RMSE 4 th lowest AIC c 4 th lowest C p 32 Comment A similar thing happens if you exclude the Porsche 911 and the Chevy Corvette. 33

Multicollinearity High correlation among explanatory variables is called multicollinearity. Multicollinearity causes standard errors of estimates to be larger than they should be. 34 Variance Inflation Factor A general measure of the effect of multicollinearity is the variance inflation factor, VIF. VIF i 1 1 R 2 i 35 Multiple R 2 2 R i is the value of R 2 among the k 1 explanatory variables excluding explanatory variable i. 2 R i There are k values of. 36

Variance Inflation Factor The VIF gives how much the variance of an estimate is inflated by multicollinearity. The square root of the VIF gives how much the standard error of an estimate is inflated by multicollinearity. 37 Multiple R 2 SUV excluded: 0.544 Minivan excluded: 0.304 All Wheel excluded: 0.356 Engine excluded: 0.779 Horsepower excluded: 0.637 Weight excluded: 0.866 Wheel Base excluded: 0.673 38 VIF i SUV: 2.19 Minivan: 1.44 All Wheel: 1.55 Engine: 4.52 Horsepower: 2.75 Weight: 7.46 Wheel Base: 3.06 39

Interpretation The VIF = 2.19 for SUV. This means that the standard error for SUV is 1.48 (the square root of 2.19) times bigger than it would be if SUV were uncorrelated with the other explanatory variables. 40 Interpretation The VIF = 7.46 for Weight. This means that the standard error for Weight is 2.73 (the square root of 7.46) times bigger than it would be if Weight were uncorrelated with the other explanatory variables. 41 Comment If the standard error is 2.73 times what it could be, then the t-statistic is 2.73 times smaller than it could be. The corresponding P-value would be less than 0.0001. 42