Regression Models Course Project, 2016

Size: px
Start display at page:

Download "Regression Models Course Project, 2016"

Transcription

1 Regression Models Course Project, 2016 Venkat Batchu July 13, 2016 Executive Summary In this report, mtcars data set is explored/analyzed for relationship between outcome variable mpg (miles for gallon) and a set of predictor/confounder variables. The main objectives of the study are as follows: Is an automatic or manual transmission better for miles per gallon (MPG)? How different is the MPG between automatic and manual transmissions? Simple linear regression tells us that the manual transmission cars give 7.25 miles more on average when compared against auto transmission cars. Howver, when we take into consideration of confounder variables like weight,cylinders and hp manual transmission cars give 1.8 miles more per gallon only. library(datasets) data(mtcars) dim(mtcars) [1] sapply(mtcars,class) mpg cyl disp hp drat wt qsec "numeric" "numeric" "numeric" "numeric" "numeric" "numeric" "numeric" vs am gear carb "numeric" "numeric" "numeric" "numeric" We see that variables including our predictor variable am, are of numeric class. convert dichotomous predictor variable to a factor class and label the levels as Automatic and Manual for better readability. Also, transform some otherconfounder variables to factor class. mtcars$am < factor(mtcars$am,labels=c('automatic','manual')) mtcars$cyl < factor(mtcars$cyl) mtcars$vs < factor(mtcars$vs) mtcars$gear < factor(mtcars$gear) mtcars$carb < factor(mtcars$carb) Exploratory Data Analysis

2 As we are going to build a linear regression model, we need to make sure that data meets its assumptions. Plot the outcome variable mpg to check its distribution: par(mfrow = c(1, 2)) # Histogram with Normal Curve x< mtcars$mpg h< hist(x, breaks=10, col="blue", xlab="miles Per Gallon", main="histogram of Miles per Gallon") xfit< seq(min(x),max(x),length=40) yfit< dnorm(xfit,mean=mean(x),sd=sd(x)) yfit < yfit*diff(h$mids[1:2])*length(x) lines(xfit, yfit, col="blue", lwd=2) # Kernel Density Plot d < density(mtcars$mpg) plot(d, xlab = "MPG", main ="Density Plot of MPG") The distribution of mpg is close to normal and there are no outliers that skew our data. Once again, there are no outliers in our data. From the boxplot, it is clearly evident that manual transmission is better than Automatic transmission for MPG. Regression Analysis

3 In this section, we build linear regression models based on the different variables and try to figure out the best model. Then compare it against the base model using ANOVA. Perform analysis of residuals upon finalizing the model. Model Building and Selection To identify predictors for our model, we look at how mpg correlated with all other variables. Based on the correlation matrix, several variables appear to have high correlation with mpg, We build an initial model with all the variables as predictors. Perfom stepwise model selection to select significant predictors for the final model which is the best model. Step method builds various multiple regression models in iterative manner and find out the best variables using both forward selection and backward elimination methods by the AIC algorithm. init_model < lm(mpg ~., data = mtcars) best_model < step(init_model, direction = "both") The best model obtained from the above computations consists of the confound variables, cyl, wt and hp along with predictor variable am. summary(best_model) Call: lm(formula = mpg ~ cyl + hp + wt + am, data = mtcars) Residuals: Min 1Q Median 3Q Max Coefficients: Estimate Std. Error t value Pr(> t ) (Intercept) e 13 *** cyl * cyl hp * wt ** ammanual Signif. codes: 0 '***' '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1 Residual standard error: 2.41 on 26 degrees of freedom Multiple R squared: , Adjusted R squared: F statistic: on 5 and 26 DF, p value: 1.506e 10 Please note that the adjusted R squared value is 0.84 which is best value after including appropriate confounder variables.this model explains 84% variability. We compare base model with only one predictor variable am against our best mode.

4 base_model< lm(mpg ~ am, data=mtcars) anova(base_model,best_model) Analysis of Variance Table Model 1: mpg ~ am Model 2: mpg ~ cyl + hp + wt + am Res.Df RSS Df Sum of Sq F Pr(>F) e 08 *** Signif. codes: 0 '***' '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1 Since the p value is significant, null hypothesis that the confounder variables do not improve the model is rejected. Residuals and Diagnostics In this section, we shall study the residual plots of our regression model and also compute some of the regression diagnostics for our model to find out some interesting outliers in the data set. par(mfrow = c(2,2)) plot(best_model,which=1:4)

5 From the above plots, we can make the below conclusions The points on the Residuals vs. Fitted plot seem to be randomly scattered on the plot which satisfies the i.i.d assumption. From the Normal Q Q plot it appears that the points are closely aligned to the line which means that the residuals are normally distributed. The scale location plot verifies constant variance of the points. The fourth plot is of Cook s distance, which is a measure of the influence of each observation on the regression coefficients. We now compute regression diagnostics of our model to find out points of influence and leverage points. influence < dfbetas(best_model) tail(sort(influence[,6]),3) Chrysler Imperial Fiat 128 Toyota Corona leverage < hatvalues(best_model) tail(sort(leverage),3) Toyota Corona Lincoln Continental Maserati Bora ``` Inference t.test(mpg ~ am,data=mtcars,var.equal=true) Two Sample t test data: mpg by am t = , df = 30, p value = alternative hypothesis: true difference in means is not equal to 0 95 percent confidence interval: sample estimates: mean in group Automatic mean in group Manual This test shows that we should reject the null hypothesis and conclude that mean MPGs are different for manual transmission cars and automatic transmission cars. Conclusions

6 Based on the observations from our best fit model, we can draw below conclusions: Cars with Manual transmission give better miles per gallon mpg than cars with Automatic transmission. (1.8 confounded by hp, cyl, and wt). mpg will decrease by 2.5 (confounded by hp, cyl, and am) for every 1000 lb increase in wt. For cylinders increase from 4 to 6 and 8, mpg will decrease by 3 and 2.2 respectively (confounded by hp, wt, and am) mpg decreases negligibly with increase of hp. Appendix Explore how mpg varies by automatic versus manual transmission boxplot(mpg~am, data = mtcars, col = c("red", "blue"), xlab = "Transmission", ylab = "Miles per Gallon", main = "MPG by Transmission Type") par(mar = c(1, 1, 1, 1)) pairs(~mpg+.,data=mtcars,panel=panel.smooth,main="pairs Plot for mtcars dataset")

7 data(mtcars) sort(cor(mtcars)[1,]) wt cyl disp hp carb qsec gear am vs drat mpg

Motor Trend MPG Analysis

Motor Trend MPG Analysis Motor Trend MPG Analysis SJ May 15, 2016 Executive Summary For this project, we were asked to look at a data set of a collection of cars in the automobile industry. We are going to explore the relationship

More information

Motor Trend Yvette Winton September 1, 2016

Motor Trend Yvette Winton September 1, 2016 Motor Trend Yvette Winton September 1, 2016 Executive Summary Objective In this analysis, the relationship between a set of variables and miles per gallon (MPG) (outcome) is explored from a data set of

More information

AIC Laboratory R. Leaf November 28, 2016

AIC Laboratory R. Leaf November 28, 2016 AIC Laboratory R. Leaf November 28, 2016 In this lab we will evaluate the role of AIC to help us understand how this index can assist in model selection and model averaging. We will use the mtcars data

More information

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

tool<-read.csv(file=d:/chilo/regression 7/tool.csv, header=t) tool Regression nalysis lab 7 1 Indicator variables 1.1 Import data tool

More information

Drilling Example: Diagnostic Plots

Drilling Example: Diagnostic Plots Math 3080 1. Treibergs Drilling Example: Diagnostic Plots Name: Example March 1, 2014 This data is taken from Penner & Watts, Mining Information, American Statistician 1991, as quoted by Levine, Ramsey

More information

R-Sq criterion Data : Surgical room data Chap 9

R-Sq criterion Data : Surgical room data Chap 9 Chap 9 - For controlled experiments model reduction is not very important. P 347 - For exploratory observational studies, model reduction is important. Criteria for model selection p353 R-Sq criterion

More information

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

delivery<-read.csv(file=d:/chilo/regression 4/delivery.csv, header=t) delivery Regression Analysis lab 4 1 Model Adequacy Checking 1.1 Import data delivery

More information

Lampiran IV. Hasil Output SPSS Versi 16.0 untuk Analisis Deskriptif

Lampiran IV. Hasil Output SPSS Versi 16.0 untuk Analisis Deskriptif 182 Lampiran IV. Hasil Output SPSS Versi 16.0 untuk Analisis Deskriptif Frequencies Statistics Kinerja Guru Sikap Guru Thdp Kepsek Motivasi Kerja Guru Kompetensi Pedagogik Guru N Valid 64 64 64 64 Missing

More information

HASIL OUTPUT SPSS. Reliability Scale: ALL VARIABLES

HASIL OUTPUT SPSS. Reliability Scale: ALL VARIABLES 139 HASIL OUTPUT SPSS Reliability Scale: ALL VARIABLES Case Processing Summary N % 100 100.0 Cases Excluded a 0.0 Total 100 100.0 a. Listwise deletion based on all variables in the procedure. Reliability

More information

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

Stat 301 Lecture 30. Model Selection. Explanatory Variables. A Good Model. Response: Highway MPG Explanatory: 13 explanatory variables 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)

More information

Stat 401 B Lecture 31

Stat 401 B Lecture 31 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)

More information

TABLE 4.1 POPULATION OF 100 VALUES 2

TABLE 4.1 POPULATION OF 100 VALUES 2 TABLE 4. POPULATION OF 00 VALUES WITH µ = 6. AND = 7.5 8. 6.4 0. 9.9 9.8 6.6 6. 5.7 5. 6.3 6.7 30.6.6.3 30.0 6.5 8. 5.6 0.3 35.5.9 30.7 3.. 9. 6. 6.8 5.3 4.3 4.4 9.0 5.0 9.9 5. 0.8 9.0.9 5.4 7.3 3.4 38..6

More information

Appendix B STATISTICAL TABLES OVERVIEW

Appendix B STATISTICAL TABLES OVERVIEW Appendix B STATISTICAL TABLES OVERVIEW Table B.1: Proportions of the Area Under the Normal Curve Table B.2: 1200 Two-Digit Random Numbers Table B.3: Critical Values for Student s t-test Table B.4: Power

More information

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

. Enter. Model Summary b. Std. Error. of the. Estimate. Change. a. Predictors: (Constant), Emphaty, reliability, Assurance, responsive, Tangible LAMPIRAN Variables Entered/Removed b Variables Model Variables Entered Removed Method 1 Emphaty, reliability, Assurance, responsive, Tangible a. Enter a. All requested variables entered. b. Dependent Variable:

More information

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

fruitfly fecundity example summary Tuesday, July 17, :13:19 PM 1 fruitfly fecundity example summary Tuesday, July 17, 2018 02:13:19 PM 1 The UNIVARIATE Procedure Variable: fecund line = NS Basic Statistical Measures Location Variability Mean 33.37200 Std Deviation 8.94201

More information

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

5. CONSTRUCTION OF THE WEIGHT-FOR-LENGTH AND WEIGHT-FOR- HEIGHT STANDARDS 5. CONSTRUCTION OF THE WEIGHT-FOR-LENGTH AND WEIGHT-FOR- HEIGHT STANDARDS 5.1 Indicator-specific methodology The construction of the weight-for-length (45 to 110 cm) and weight-for-height (65 to 120 cm)

More information

Booklet of Code and Output for STAD29/STA 1007 Final Exam

Booklet of Code and Output for STAD29/STA 1007 Final Exam Booklet of Code and Output for STAD29/STA 1007 Final Exam List of Figures in this document by page: List of Figures 1 Raisins data.............................. 2 2 Boxplot of raisin data........................

More information

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

Getting Started with Correlated Component Regression (CCR) in XLSTAT-CCR Tutorial 1 Getting Started with Correlated Component Regression (CCR) in XLSTAT-CCR Dataset for running Correlated Component Regression This tutorial 1 is based on data provided by Michel Tenenhaus and

More information

9.3 Tests About a Population Mean (Day 1)

9.3 Tests About a Population Mean (Day 1) Bellwork In a recent year, 73% of first year college students responding to a national survey identified being very well off financially as an important personal goal. A state university finds that 132

More information

Technical Papers supporting SAP 2009

Technical Papers supporting SAP 2009 Technical Papers supporting SAP 29 A meta-analysis of boiler test efficiencies to compare independent and manufacturers results Reference no. STP9/B5 Date last amended 25 March 29 Date originated 6 October

More information

Modeling Ignition Delay in a Diesel Engine

Modeling Ignition Delay in a Diesel Engine Modeling Ignition Delay in a Diesel Engine Ivonna D. Ploma Introduction The object of this analysis is to develop a model for the ignition delay in a diesel engine as a function of four experimental variables:

More information

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

Lecture 2. Review of Linear Regression I Statistics Statistical Methods II. Presented January 9, 2018 Review of Linear Regression I Statistics 211 - Statistical Methods II Presented January 9, 2018 Estimation of The OLS under normality the OLS Dan Gillen Department of Statistics University of California,

More information

TRY OUT 25 Responden Variabel Kepuasan / x1

TRY OUT 25 Responden Variabel Kepuasan / x1 1 TRY OUT 25 Responden Variabel Kepuasan / x1 Case Processing Summary N % 25 100.0 Cases Excluded a 0.0 Total 25 100.0 a. Listwise deletion based on all variables in the procedure. Reliability Statistics

More information

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

Important Formulas. Discrete Probability Distributions. Probability and Counting Rules. The Normal Distribution. Confidence Intervals and Sample Size blu38582_if_1-8.qxd 9/27/10 9:19 PM Page 1 Important Formulas Chapter 3 Data Description Mean for individual data: Mean for grouped data: Standard deviation for a sample: X2 s X n 1 or Standard deviation

More information

ggplot2: easy graphics with R

ggplot2: easy graphics with R ggplot2: easy graphics with R Ilmari Ahonen Department of Mathematics and Statistics University of Turku ilmari.ahonen@utu.fi ggplot2 1 / 26 Versatile and rich graphics are widely concidered a major strength

More information

Subsetting Data in R. Data Wrangling in R

Subsetting Data in R. Data Wrangling in R Subsetting Data in R Data Wrangling in R Overview We showed one way to read data into R using read_csv and read.csv. In this module, we will show you how to: 1. Select specific elements of an object by

More information

TRY OUT 30 Responden Variabel Kompetensi/ x1

TRY OUT 30 Responden Variabel Kompetensi/ x1 1 TRY OUT 30 Responden Variabel Kompetensi/ x1 Case Processing Summary N % 30 100.0 Cases Excluded a 0.0 Total 30 100.0 a. Listwise deletion based on all variables in the procedure. Reliability Statistics

More information

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

Preface... xi. A Word to the Practitioner... xi The Organization of the Book... xi Required Software... xii Accessing the Supplementary Content... Contents Preface... xi A Word to the Practitioner... xi The Organization of the Book... xi Required Software... xii Accessing the Supplementary Content... xii Chapter 1 Introducing Partial Least Squares...

More information

Investigation of Relationship between Fuel Economy and Owner Satisfaction

Investigation of Relationship between Fuel Economy and Owner Satisfaction Investigation of Relationship between Fuel Economy and Owner Satisfaction June 2016 Malcolm Hazel, Consultant Michael S. Saccucci, Keith Newsom-Stewart, Martin Romm, Consumer Reports Introduction This

More information

Identify Formula for Throughput with Multi-Variate Regression

Identify Formula for Throughput with Multi-Variate Regression DECISION SCIENCES INSTITUTE Using multi-variate regression and simulation to identify a generic formula for throughput of flow manufacturing lines with identical stations Samrawi Berhanu Gebermedhin and

More information

Lampiran 1. Data Perusahaan

Lampiran 1. Data Perusahaan Lampiran. Data Perusahaan NO PERUSH MV EARN DIV CFO LB.USAHA TOT.ASS ACAP 3 9 8 5 369 9678 376 ADES 75-35 - 6 3559-5977 7358 3 AQUA 5 368 65 335 797 678 53597 BATA 88 5 9 863 958 93 5 BKSL 5.3 -. 9-9 5

More information

UJI VALIDITAS DAN RELIABILIAS VARIABEL KOMPENSASI

UJI VALIDITAS DAN RELIABILIAS VARIABEL KOMPENSASI 1 UJI VALIDITAS DAN RELIABILIAS VARIABEL KOMPENSASI Case Processing Summary N % 20 100.0 Cases Excluded a 0.0 Total 20 100.0 a. Listwise deletion based on all variables in the procedure. Reliability Statistics

More information

Stat 401 B Lecture 27

Stat 401 B Lecture 27 Model Selection Response: Highway MPG Explanatory: 13 explanatory variables Indicator variables for types of car Sports Car, SUV, Wagon, Minivan There is an indicator for Pickup but there are no pickups

More information

Descriptive Statistics

Descriptive Statistics Chapter 2 Descriptive Statistics 2-1 Overview 2-2 Summarizing Data 2-3 Pictures of Data 2-4 Measures of Central Tendency 2-5 Measures of Variation 2-6 Measures of Position 2-7 Exploratory Data Analysis

More information

Exercises An Introduction to R for Epidemiologists using RStudio SER 2014

Exercises An Introduction to R for Epidemiologists using RStudio SER 2014 Exercises An Introduction to R for Epidemiologists using RStudio SER 2014 S Mooney June 18, 2014 1. (a) Create a vector of numbers named odd.numbers with all odd numbers between 1 and 19, inclusive odd.numbers

More information

Problem Set 3 - Solutions

Problem Set 3 - Solutions Ecn 102 - Analysis of Economic Data University of California - Davis January 22, 2011 John Parman Problem Set 3 - Solutions This problem set will be due by 5pm on Monday, February 7th. It may be turned

More information

Robust alternatives to best linear unbiased prediction of complex traits

Robust alternatives to best linear unbiased prediction of complex traits Robust alternatives to best linear unbiased prediction of complex traits WHY BEST LINEAR UNBIASED PREDICTION EASY TO EXPLAIN FLEXIBLE AMENDABLE WELL UNDERSTOOD FEASIBLE UNPRETENTIOUS NORMALITY IS IMPLICIT

More information

Guatemalan cholesterol example summary

Guatemalan cholesterol example summary Guatemalan cholesterol example summary Wednesday, July 11, 2018 02:04:06 PM 1 The UNIVARIATE Procedure Variable: level = rural Basic Statistical Measures Location Variability Mean 157.0204 Std Deviation

More information

The PRINCOMP Procedure

The PRINCOMP Procedure Grizzly Bear Project - Coastal Sites - invci 15:14 Friday, June 11, 2010 1 Food production variables The PRINCOMP Procedure Observations 16 Variables 4 Simple Statistics PRECIP ndvi aet temp Mean 260.8102476

More information

Graphics in R. Fall /5/17 1

Graphics in R. Fall /5/17 1 Graphics in R Fall 2017 9/5/17 1 Graphics Both built in and third party libraries for graphics Popular examples include ggplot2 ggvis lattice We will start with built in graphics Basic functions to remember:

More information

Basic SAS and R for HLM

Basic SAS and R for HLM Basic SAS and R for HLM Edps/Psych/Soc 589 Carolyn J. Anderson Department of Educational Psychology c Board of Trustees, University of Illinois Spring 2019 Overview The following will be demonstrated in

More information

SAN PEDRO BAY PORTS YARD TRACTOR LOAD FACTOR STUDY Addendum

SAN PEDRO BAY PORTS YARD TRACTOR LOAD FACTOR STUDY Addendum SAN PEDRO BAY PORTS YARD TRACTOR LOAD FACTOR STUDY Addendum December 2008 Prepared by: Starcrest Consulting Group, LLC P.O. Box 434 Poulsbo, WA 98370 TABLE OF CONTENTS 1.0 EXECUTIVE SUMMARY...2 1.1 Background...2

More information

PREDICTION OF FUEL CONSUMPTION

PREDICTION OF FUEL CONSUMPTION PREDICTION OF FUEL CONSUMPTION OF AGRICULTURAL TRACTORS S. C. Kim, K. U. Kim, D. C. Kim ABSTRACT. A mathematical model was developed to predict fuel consumption of agricultural tractors using their official

More information

Improving CERs building

Improving CERs building Improving CERs building Getting Rid of the R² tyranny Pierre Foussier pmf@3f fr.com ISPA. San Diego. June 2010 1 Why abandon the OLS? The ordinary least squares (OLS) aims to build a CER by minimizing

More information

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

Math 135 S18 Exam 1 Review. The Environmental Protection Agency records data on the fuel economy of many different makes of cars. Math 135 S18 Exam 1 Review Name *note: In addition to this Review, study the material from Take Home Assignments, Classwork sheets and class notes. ALL are represented in the exam. The Environmental Protection

More information

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

TRINITY COLLEGE DUBLIN THE UNIVERSITY OF DUBLIN. Faculty of Engineering, Mathematics and Science. School of Computer Science and Statistics ST7003-1 TRINITY COLLEGE DUBLIN THE UNIVERSITY OF DUBLIN Faculty of Engineering, Mathematics and Science School of Computer Science and Statistics Postgraduate Certificate in Statistics Hilary Term 2015

More information

: ( .

: ( . 2 27 ( ) 2 3 4 2 ( ) 59 Y n n U i ( ) & smith H 98 Draper N Curran PJ,bauer DJ & Willoughby Kam,Cindy &Robert 23 MT24 Jaccard,J & Rebert T23 Franzese 23 Aiken LS & West SG 99 " Multiple Regression Testing

More information

Road Surface characteristics and traffic accident rates on New Zealand s state highway network

Road Surface characteristics and traffic accident rates on New Zealand s state highway network Road Surface characteristics and traffic accident rates on New Zealand s state highway network Robert Davies Statistics Research Associates http://www.statsresearch.co.nz Joint work with Marian Loader,

More information

Power and Fuel Economy Tradeoffs, and Implications for Benefits and Costs of Vehicle Greenhouse Gas Regulations

Power and Fuel Economy Tradeoffs, and Implications for Benefits and Costs of Vehicle Greenhouse Gas Regulations Power and Fuel Economy Tradeoffs, and Implications for Benefits and Costs of Vehicle Greenhouse Gas Regulations Gloria Helfand Andrew Moskalik Kevin Newman Jeff Alson US Environmental Protection Agency

More information

From Developing Credit Risk Models Using SAS Enterprise Miner and SAS/STAT. Full book available for purchase here.

From Developing Credit Risk Models Using SAS Enterprise Miner and SAS/STAT. Full book available for purchase here. From Developing Credit Risk Models Using SAS Enterprise Miner and SAS/STAT. Full book available for purchase here. About this Book... ix About the Author... xiii Acknowledgments...xv Chapter 1 Introduction...

More information

Assignment 3 solutions

Assignment 3 solutions Assignment 3 solutions Question 1: SVM on the OJ data (a) [2 points] Create a training set containing a random sample of 800 observations, and a test set containing the remaining observations. library(islr)

More information

DEPARTMENT OF STATISTICS AND DEMOGRAPHY MAIN EXAMINATION, 2011/12 STATISTICAL INFERENCE II ST232 TWO (2) HOURS. ANSWER ANY mree QUESTIONS

DEPARTMENT OF STATISTICS AND DEMOGRAPHY MAIN EXAMINATION, 2011/12 STATISTICAL INFERENCE II ST232 TWO (2) HOURS. ANSWER ANY mree QUESTIONS I.. UNIVERSITY OF SWAZILAND Page 1 of3 DEPARTMENT OF STATISTICS AND DEMOGRAPHY, MAIN EXAMINATION, 2011/12 COURSE TITLE: STATISTICAL INFERENCE II COURSE CODE: ST232 TIME ALLOWED: TWO (2) HOURS INSTRUCTION:

More information

FutureMetrics LLC. 8 Airport Road Bethel, ME 04217, USA. Cheap Natural Gas will be Good for the Wood-to-Energy Sector!

FutureMetrics LLC. 8 Airport Road Bethel, ME 04217, USA. Cheap Natural Gas will be Good for the Wood-to-Energy Sector! FutureMetrics LLC 8 Airport Road Bethel, ME 04217, USA Cheap Natural Gas will be Good for the Wood-to-Energy Sector! January 13, 2013 By Dr. William Strauss, FutureMetrics It is not uncommon to hear that

More information

Chapter 5 ESTIMATION OF MAINTENANCE COST PER HOUR USING AGE REPLACEMENT COST MODEL

Chapter 5 ESTIMATION OF MAINTENANCE COST PER HOUR USING AGE REPLACEMENT COST MODEL Chapter 5 ESTIMATION OF MAINTENANCE COST PER HOUR USING AGE REPLACEMENT COST MODEL 87 ESTIMATION OF MAINTENANCE COST PER HOUR USING AGE REPLACEMENT COST MODEL 5.1 INTRODUCTION Maintenance is usually carried

More information

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

Stat 301 Lecture 26. Model Selection. Indicator Variables. Explanatory Variables Model Selection Response: Highway MPG Explanatory: 13 explanatory variables Indicator variables for types of car Sports Car, SUV, Wagon, Minivan There is an indicator for Pickup but there are no pickups

More information

Antonio Olmos Priyalatha Govindasamy Research Methods & Statistics University of Denver

Antonio Olmos Priyalatha Govindasamy Research Methods & Statistics University of Denver Antonio Olmos Priyalatha Govindasamy Research Methods & Statistics University of Denver American Evaluation Association Conference, Chicago, Ill, November 2015 AEA 2015, Chicago Ill 1 Paper overview Propensity

More information

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

EXST7034 Multiple Regression Geaghan Chapter 11 Bootstrapping (Toluca example) Page 1 Chapter 11 Bootstrapping (Toluca example) Page 1 Toluca Company Example (Problem from Neter, Kutner, Nachtsheim & Wasserman 1996,1.21) A particular part needed for refigeration equipment replacement parts

More information

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

LET S ARGUE: STUDENT WORK PAMELA RAWSON. Baxter Academy for Technology & Science Portland, rawsonmath. LET S ARGUE: STUDENT WORK PAMELA RAWSON Baxter Academy for Technology & Science Portland, Maine pamela.rawson@gmail.com @rawsonmath rawsonmath.com Contents Student Movie Data Claims (Cycle 1)... 2 Student

More information

Lampiran 1. Penjualan PT Honda Mandiri Bogor

Lampiran 1. Penjualan PT Honda Mandiri Bogor LAMPIRAN 64 Lampiran 1. Penjualan PT Honda Mandiri Bogor 29-211 PENJUALAN 29 TYPE JAN FEB MAR APR MEI JUNI JULI AGT SEP OKT NOV DES TOTA JAZZ 16 14 22 15 23 19 13 28 15 28 3 25 248 FREED 23 25 14 4 13

More information

DRIVER SPEED COMPLIANCE WITHIN SCHOOL ZONES AND EFFECTS OF 40 PAINTED SPEED LIMIT ON DRIVER SPEED BEHAVIOURS Tony Radalj Main Roads Western Australia

DRIVER SPEED COMPLIANCE WITHIN SCHOOL ZONES AND EFFECTS OF 40 PAINTED SPEED LIMIT ON DRIVER SPEED BEHAVIOURS Tony Radalj Main Roads Western Australia DRIVER SPEED COMPLIANCE WITHIN SCHOOL ZONES AND EFFECTS OF 4 PAINTED SPEED LIMIT ON DRIVER SPEED BEHAVIOURS Tony Radalj Main Roads Western Australia ABSTRACT Two speed surveys were conducted on nineteen

More information

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

Topic 5 Lecture 3 Estimating Policy Effects via the Simple Linear. Regression Model (SLRM) and the Ordinary Least Squares (OLS) Method Econometrics for Health Policy, Health Economics, and Outcomes Research Topic 5 Lecture 3 Estimating Policy Effects via the Simple Linear Regression Model (SLRM) and the Ordinary Least Squares (OLS) Method

More information

Using Statistics To Make Inferences 6. Wilcoxon Matched Pairs Signed Ranks Test. Wilcoxon Rank Sum Test/ Mann-Whitney Test

Using Statistics To Make Inferences 6. Wilcoxon Matched Pairs Signed Ranks Test. Wilcoxon Rank Sum Test/ Mann-Whitney Test Using Statistics To Make Inferences 6 Summary Non-parametric tests Wilcoxon Signed Ranks Test Wilcoxon Matched Pairs Signed Ranks Test Wilcoxon Rank Sum Test/ Mann-Whitney Test Goals Perform and interpret

More information

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

Statistics and Quantitative Analysis U4320. Segment 8 Prof. Sharyn O Halloran Statistics and Quantitative Analysis U4320 Segment 8 Prof. Sharyn O Halloran I. Introduction A. Overview 1. Ways to describe, summarize and display data. 2.Summary statements: Mean Standard deviation Variance

More information

The Session.. Rosaria Silipo Phil Winters KNIME KNIME.com AG. All Right Reserved.

The Session.. Rosaria Silipo Phil Winters KNIME KNIME.com AG. All Right Reserved. The Session.. Rosaria Silipo Phil Winters KNIME 2016 KNIME.com AG. All Right Reserved. Past KNIME Summits: Merging Techniques, Data and MUSIC! 2016 KNIME.com AG. All Rights Reserved. 2 Analytics, Machine

More information

Vehicle Scrappage and Gasoline Policy. Online Appendix. Alternative First Stage and Reduced Form Specifications

Vehicle Scrappage and Gasoline Policy. Online Appendix. Alternative First Stage and Reduced Form Specifications Vehicle Scrappage and Gasoline Policy By Mark R. Jacobsen and Arthur A. van Benthem Online Appendix Appendix A Alternative First Stage and Reduced Form Specifications Reduced Form Using MPG Quartiles The

More information

DATA SAMPEL TAHUN 2006

DATA SAMPEL TAHUN 2006 DATA SAMPEL TAHUN 2006 No Nama Emiten CGPI Kode Saham Harga Saham EPS PER Laba Bersih 1 Bank Niaga 89.27 BNGA 920 54 17.02 647,732 2 Bank Mandiri 83.66 BMRI 2,900 118 24.65 2,422,472 3 Astra International

More information

MODUL PELATIHAN SEM ANANDA SABIL HUSSEIN, PHD

MODUL PELATIHAN SEM ANANDA SABIL HUSSEIN, PHD MODUL PELATIHAN SEM ANANDA SABIL HUSSEIN, PHD PUSAT KAJIAN DAN PENGABDIAN MASYARAKAT JURUSAN MANAJEMEN UNIVERSITAS BRAWIJAYA 2018 1) 2) ANALISA JALUR 1) LMK = 27,209 3,599IPK + 1,749 x 10-7 US + 0,019JR

More information

The Degrees of Freedom of Partial Least Squares Regression

The Degrees of Freedom of Partial Least Squares Regression The Degrees of Freedom of Partial Least Squares Regression Dr. Nicole Krämer TU München 5th ESSEC-SUPELEC Research Workshop May 20, 2011 My talk is about...... the statistical analysis of Partial Least

More information

LAMPIRAN I FORMULIR SURVEI

LAMPIRAN I FORMULIR SURVEI LAMPIRAN I FORMULIR SURVEI 56 Universitas Kristen Maranatha L.1.1 FORMULIR SURVEI KEBISINGAN LALULINTAS Lokasi : Cuaca : Hari/Tanggal : Surveyor : Periode / menit 5 10 15 20 25 30 35 40 45 50 55 60 65

More information

female male help("predict") yhat age

female male help(predict) yhat age 30 40 50 60 70 female male 1.0 help("predict") 0.5 yhat 0.0 0.5 1.0 30 40 50 60 70 age 30 40 50 60 70 1.5 1.0 female male help("predict") 0.5 yhat 0.0 0.5 1.0 1.5 30 40 50 60 70 age 2 Wald Statistics Response:

More information

Appendices for: Statistical Power in Analyzing Interaction Effects: Questioning the Advantage of PLS with Product Indicators

Appendices for: Statistical Power in Analyzing Interaction Effects: Questioning the Advantage of PLS with Product Indicators Appendices for: Statistical Power in Analyzing Interaction Effects: Questioning the Advantage of PLS with Product Indicators Dale Goodhue Terry College of Business MIS Department University of Georgia

More information

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

LAMPIRAN I Data Perusahaan Sampel kode DPS EPS Ekuitas akpi ,97 51,04 40, LAMPIRAN I Data Perusahaan Sampel kode DPS EPS Ekuitas 2013 2014 2015 2013 2014 2015 2013 2014 2015 akpi 34 8 9 50,97 51,04 40,67 1.029.336.000.000 1.035.846.000.000 1.107.566.000.000 asii 216 216 177

More information

Relating your PIRA and PUMA test marks to the national standard

Relating your PIRA and PUMA test marks to the national standard Relating your PIRA and PUMA test marks to the national standard We have carried out a detailed statistical analysis between the results from the PIRA and PUMA tests for Year 2 and Year 6 and the scaled

More information

Level of service model for exclusive motorcycle lane

Level of service model for exclusive motorcycle lane 387 Level of service model for exclusive motorcycle lane Seyed Farzin Faezi, Hussain Hamid, Sulistyo Arintono and Seyed Rasoul Davoodi Dept. of Civil Engineering, University Putra Malaysia, 43400, UPM

More information

Relating your PIRA and PUMA test marks to the national standard

Relating your PIRA and PUMA test marks to the national standard Relating your PIRA and PUMA test marks to the national standard We have carried out a detailed statistical analysis between the results from the PIRA and PUMA tests for Year 2 and Year 6 and the scaled

More information

Fuel Economy and Safety

Fuel Economy and Safety Fuel Economy and Safety A Reexamination under the U.S. Footprint-Based Fuel Economy Standards Jiaxi Wang University of California, Irvine Abstract The purpose of this study is to reexamine the tradeoff

More information

Effect of Sample Size and Method of Sampling Pig Weights on the Accuracy of Estimating the Mean Weight of the Population 1

Effect of Sample Size and Method of Sampling Pig Weights on the Accuracy of Estimating the Mean Weight of the Population 1 Effect of Sample Size and Method of Sampling Pig Weights on the Accuracy of Estimating the Mean Weight of the Population C. B. Paulk, G. L. Highland 2, M. D. Tokach, J. L. Nelssen, S. S. Dritz 3, R. D.

More information

Consumer Satisfaction with New Vehicles Subject to Greenhouse Gas and Fuel Economy Standards

Consumer Satisfaction with New Vehicles Subject to Greenhouse Gas and Fuel Economy Standards Consumer Satisfaction with New Vehicles Subject to Greenhouse Gas and Fuel Economy Standards Hsing-Hsiang Huang*, Gloria Helfand**, Kevin Bolon** March 15, 2018 * ORISE Participant at the U.S. Environmental

More information

DEFECT DISTRIBUTION IN WELDS OF INCOLOY 908

DEFECT DISTRIBUTION IN WELDS OF INCOLOY 908 PSFC/RR-10-8 DEFECT DISTRIBUTION IN WELDS OF INCOLOY 908 Jun Feng August 10, 2010 Plasma Science and Fusion Center Massachusetts Institute of Technology Cambridge, MA 02139, USA This work was supported

More information

LECTURE 6: HETEROSKEDASTICITY

LECTURE 6: HETEROSKEDASTICITY LECTURE 6: HETEROSKEDASTICITY Summary of MLR Assumptions 2 MLR.1 (linear in parameters) MLR.2 (random sampling) the basic framework (we have to start somewhere) MLR.3 (no perfect collinearity) a technical

More information

Voting Draft Standard

Voting Draft Standard page 1 of 7 Voting Draft Standard EL-V1M4 Sections 1.7.1 and 1.7.2 March 2013 Description This proposed standard is a modification of EL-V1M4-2009-Rev1.1. The proposed changes are shown through tracking.

More information

THE ACCURACY OF WINSMASH DELTA-V ESTIMATES: THE INFLUENCE OF VEHICLE TYPE, STIFFNESS, AND IMPACT MODE

THE ACCURACY OF WINSMASH DELTA-V ESTIMATES: THE INFLUENCE OF VEHICLE TYPE, STIFFNESS, AND IMPACT MODE THE ACCURACY OF WINSMASH DELTA-V ESTIMATES: THE INFLUENCE OF VEHICLE TYPE, STIFFNESS, AND IMPACT MODE P. Niehoff Rowan University Department of Mechanical Engineering Glassboro, New Jersey H.C. Gabler

More information

Universitas Sumatera Utara

Universitas Sumatera Utara LAMPIRAN I LAMPRIAN PDRB Harga Berlaku NO KAB/KOTA 2005 2006 2007 2008 2009 2010 1 Asahan 15527794210 6429147880 8174125380 9505603030 10435935630 11931676610 2 Dairi 2303591460 2552751860 2860204810 3116742540

More information

Bioconductor s sva package

Bioconductor s sva package Bioconductor s sva package Jeffrey Leek and John Storey Johns Hopkins School of Public Health Princeton University email: jleek@jhsph.edu, jstorey@princeton.edu August 27, 2009 Contents 1 Overview 1 2

More information

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

Sharif University of Technology. Graduate School of Management and Economics. Econometrics I. Fall Seyed Mahdi Barakchian Sharif University of Technology Graduate School of Management and Economics Econometrics I Fall 2010 Seyed Mahdi Barakchian Textbook: Wooldridge, J., Introductory Econometrics: A Modern Approach, South

More information

Analyzing Crash Risk Using Automatic Traffic Recorder Speed Data

Analyzing Crash Risk Using Automatic Traffic Recorder Speed Data Analyzing Crash Risk Using Automatic Traffic Recorder Speed Data Thomas B. Stout Center for Transportation Research and Education Iowa State University 2901 S. Loop Drive Ames, IA 50010 stouttom@iastate.edu

More information

Article: Sulfur Testing VPS Quality Approach By Dr Sunil Kumar Laboratory Manager Fujairah, UAE

Article: Sulfur Testing VPS Quality Approach By Dr Sunil Kumar Laboratory Manager Fujairah, UAE Article: Sulfur Testing VPS Quality Approach By Dr Sunil Kumar Laboratory Manager Fujairah, UAE 26th September 2017 For over a decade, both regional ECA and global sulphur limits within marine fuels have

More information

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

Model Information Data Set. Response Variable (Events) Summe Response Variable (Trials) N Response Distribution Binomial Link Function 02:32 Donnerstag, November 03, 2016 1 Model Information Data Set WORK.EXP Response Variable (Events) Summe Response Variable (Trials) N Response Distribution inomial Link Function Logit Variance Function

More information

Studying the Factors Affecting Sales of New Energy Vehicles from Supply Side Shuang Zhang

Studying the Factors Affecting Sales of New Energy Vehicles from Supply Side Shuang Zhang Studying the Factors Affecting Sales of New Energy Vehicles from Supply Side Shuang Zhang School of Economics and Management, Beijing JiaoTong University, Beijing 100044, China hangain0614@126.com Keywords:

More information

Multiple Imputation of Missing Blood Alcohol Concentration (BAC) Values in FARS

Multiple Imputation of Missing Blood Alcohol Concentration (BAC) Values in FARS Multiple Imputation of Missing Blood Alcohol Concentration (BAC Values in FARS Introduction Rajesh Subramanian and Dennis Utter National Highway Traffic Safety Administration, 400, 7 th Street, S.W., Room

More information

Mouse Trap Racer Scientific Investigations (Exemplar)

Mouse Trap Racer Scientific Investigations (Exemplar) Mouse Trap Racer Scientific Investigations (Exemplar) Online Resources at www.steminabox.com.au/projects This Mouse Trap Racer Classroom STEM educational kit is appropriate for Upper Primary and Secondary

More information

Follow this and additional works at: https://digitalcommons.usu.edu/mathsci_stures

Follow this and additional works at: https://digitalcommons.usu.edu/mathsci_stures Utah State University DigitalCommons@USU Mathematics and Statistics Student Research and Class Projects Mathematics and Statistics Student Works 2016 Car Crash Conundrum Mohammad Sadra Sharifi Utah State

More information

Predicting Solutions to the Optimal Power Flow Problem

Predicting Solutions to the Optimal Power Flow Problem Thomas Navidi Suvrat Bhooshan Aditya Garg Abstract Predicting Solutions to the Optimal Power Flow Problem This paper discusses an implementation of gradient boosting regression to predict the output of

More information

namibia UniVERSITY OF SCIEnCE AnD TECHnOLOGY FACULTY OF HEALTH AND APPLIED SCIENCES DEPARTMENT OF MATHEMATICS AND STATISTICS MARKS: 100

namibia UniVERSITY OF SCIEnCE AnD TECHnOLOGY FACULTY OF HEALTH AND APPLIED SCIENCES DEPARTMENT OF MATHEMATICS AND STATISTICS MARKS: 100 namibia UniVERSITY OF SCIEnCE AnD TECHnOLOGY FACULTY OF HEALTH AND APPLIED SCIENCES DEPARTMENT OF MATHEMATICS AND STATISTICS QUALIFICATION: BACHELOR OF ECONOMICS -., QUALIFICATION CODE: 7BAMS LEVEL: 7

More information

Forecasting elections with tricks and tools from Ch. 2 in BDA3

Forecasting elections with tricks and tools from Ch. 2 in BDA3 Forecasting elections with tricks and tools from Ch. 2 in BDA3 1 The data Emil Aas Stoltenberg September 7, 2017 In this example we look at the political party Arbeiderpartiet (Ap) and try to predict their

More information

MOTORCYCLE ACCIDENT MODEL ON THE ROAD SECTION OF HIGHLANDS REGION BY USING GENELARIZED LINEAR MODEL

MOTORCYCLE ACCIDENT MODEL ON THE ROAD SECTION OF HIGHLANDS REGION BY USING GENELARIZED LINEAR MODEL International Journal of Civil Engineering and Technology (IJCIET) Volume 8, Issue 10, October 2017, pp. 1249-1258 1248, Article ID: IJCIET_08_10_127 Available online at http://http://www.iaeme.com/ijciet/issues.asp?jtype=ijciet&vtype=8&itype=10

More information

ACCIDENT MODIFICATION FACTORS FOR MEDIAN WIDTH

ACCIDENT MODIFICATION FACTORS FOR MEDIAN WIDTH APPENDIX G ACCIDENT MODIFICATION FACTORS FOR MEDIAN WIDTH INTRODUCTION Studies on the effect of median width have shown that increasing width reduces crossmedian crashes, but the amount of reduction varies

More information

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

CHAPTER V CONCLUSION, SUGGESTION AND LIMITATION. 1. Independent commissioner boards proportion does not negatively affect CHAPTER V CONCLUSION, SUGGESTION AND LIMITATION 5.. Conclusion Based on data analysis that has been done, researcher may draw following conclusions:. Independent commissioner boards proportion does not

More information

Oklahoma Gas & Electric P.O. Box 321 Oklahoma City, OK, Main Street, Suite 900 Cambridge, MA 02142

Oklahoma Gas & Electric P.O. Box 321 Oklahoma City, OK, Main Street, Suite 900 Cambridge, MA 02142 Final Report Oklahoma Gas & Electric System Loss Study Submitted to Oklahoma Gas & Electric P.O. Box 321 Oklahoma City, OK, 73101-0321 Submitted by Stone & Webster Management Consultants, Inc. 1 Main Street,

More information

Effects of two-way left-turn lane on roadway safety

Effects of two-way left-turn lane on roadway safety University of South Florida Scholar Commons Graduate Theses and Dissertations Graduate School 2004 Effects of two-way left-turn lane on roadway safety Haolei Peng University of South Florida Follow this

More information