Timing Production Runs

Similar documents
Categorical Variables, Part 2

Categorical Predictors, Building Regression Models

Chapter 10 Regression Analysis

Only check assumptions when I explicitly ask you to.

Two Way ANOVA. Turkheimer PSYC 771. Page 1 Two-Way ANOVA

Lab 1: A review of linear models

STATISTICS PART Instructor: Dr. Samir Safi Name:

Problem Points Score USE YOUR TIME WISELY SHOW YOUR WORK TO RECEIVE PARTIAL CREDIT

F u = t n+1, t f = 1994, 2005

ECONOMICS AND ECONOMIC METHODS PRELIM EXAM Statistics and Econometrics May 2014

Final Exam Spring Bread-and-Butter Edition

ECONOMICS AND ECONOMIC METHODS PRELIM EXAM Statistics and Econometrics May 2011

= = Intro to Statistics for the Social Sciences. Name: Lab Session: Spring, 2015, Dr. Suzanne Delaney

Understanding and accounting for product

Stat 301 Final Exam December 20, 2013

Chapter 5 Regression

SPSS Guide Page 1 of 13

Stata Program Notes Biostatistics: A Guide to Design, Analysis, and Discovery Second Edition Chapter 12: Analysis of Variance

Latent Growth Curve Analysis. Daniel Boduszek Department of Behavioural and Social Sciences University of Huddersfield, UK

= = Name: Lab Session: CID Number: The database can be found on our class website: Donald s used car data

Chapter 2 Part 1B. Measures of Location. September 4, 2008

Using SPSS for Linear Regression

Statistics: Data Analysis and Presentation. Fr Clinic II

STAT 350 (Spring 2016) Homework 12 Online 1

SOCY7706: Longitudinal Data Analysis Instructor: Natasha Sarkisian Two Wave Panel Data Analysis

Getting Started with HLM 5. For Windows

EXPERIMENTAL INVESTIGATIONS ON FRICTION WELDING PROCESS FOR DISSIMILAR MATERIALS USING DESIGN OF EXPERIMENTS

Sociology 7704: Regression Models for Categorical Data Instructor: Natasha Sarkisian. Preliminary Data Screening

Unit 6: Simple Linear Regression Lecture 2: Outliers and inference

CHAPTER 5 RESULTS AND ANALYSIS

Using Excel s Analysis ToolPak Add-In

. *increase the memory or there will problems. set memory 40m (40960k)

Business Quantitative Analysis [QU1] Examination Blueprint

The SPSS Sample Problem To demonstrate these concepts, we will work the sample problem for logistic regression in SPSS Professional Statistics 7.5, pa

STAT 2300: Unit 1 Learning Objectives Spring 2019

5 CHAPTER: DATA COLLECTION AND ANALYSIS

SCENARIO: We are interested in studying the relationship between the amount of corruption in a country and the quality of their economy.

Question Total Points Points Received 1 16

Hierarchical Linear Modeling: A Primer 1 (Measures Within People) R. C. Gardner Department of Psychology

RESIDUAL FILES IN HLM OVERVIEW

Regression. Jay Benesch. Brief history context of RF fault analysis regression methods via JMP and R summary

Bios 312 Midterm: Appendix of Results March 1, Race of mother: Coded as 0==black, 1==Asian, 2==White. . table race white

Lecture 2a: Model building I

CHAPTER. Activity Cost Behavior

Soci Statistics for Sociologists

Regression Analysis I & II

R-SQUARED RESID. MEAN SQUARE (MSE) 1.885E+07 ADJUSTED R-SQUARED STANDARD ERROR OF ESTIMATE

CHAPTER Activity Cost Behavior

CHAPTER 8 T Tests. A number of t tests are available, including: The One-Sample T Test The Paired-Samples Test The Independent-Samples T Test

Psych 5741/5751: Data Analysis University of Boulder Gary McClelland & Charles Judd

Elementary tests. proc ttest; title3 'Two-sample t-test: Does consumption depend on Damper Type?'; class damper; var dampin dampout diff ;

Computer Handout Two

AcaStat How To Guide. AcaStat. Software. Copyright 2016, AcaStat Software. All rights Reserved.

CHAPTER 6 ASDA ANALYSIS EXAMPLES REPLICATION SAS V9.2

Example Analysis with STATA

4.3 Nonparametric Tests cont...

A SIMULATION STUDY OF ROBOTIC WELDING SYSTEM WITH PARALLEL AND SERIAL PROCESSES IN THE METAL FABRICATION INDUSTRY

Example Analysis with STATA

LECTURE 17: MULTIVARIABLE REGRESSIONS I

Midterm Exam. Friday the 29th of October, 2010

EFFICACY OF ROBUST REGRESSION APPLIED TO FRACTIONAL FACTORIAL TREATMENT STRUCTURES MICHAEL MCCANTS

The Multivariate Dustbin

You can find the consultant s raw data here:

3 Ways to Improve Your Targeted Marketing with Analytics

rat cortex data: all 5 experiments Friday, June 15, :04:07 AM 1

Multiple Regressions for the Financial Analysis of Alabanian Economy

Regression diagnostics

Winsor Approach in Regression Analysis. with Outlier

Multiple Imputation and Multiple Regression with SAS and IBM SPSS

y x where x age and y height r = 0.994

Introduction of STATA

Tutorial #7: LC Segmentation with Ratings-based Conjoint Data

Week 10: Heteroskedasticity

Correlation and Simple. Linear Regression. Scenario. Defining Correlation

A SIMULATION STUDY OF THE ROBUSTNESS OF THE LEAST MEDIAN OF SQUARES ESTIMATOR OF SLOPE IN A REGRESSION THROUGH THE ORIGIN MODEL

SAARC Training Workshop Program Identification, Comparison and Scenario Based Application of Power Demand/ Load Forecasting Tools

i. The profit maximizing output of firm B is smaller than the profit maximizing output of firm A.

!! NOTE: SAS Institute Inc., SAS Campus Drive, Cary, NC USA ! NOTE: The SAS System used:!

Visual tolerance analysis for engineering optimization

Statistical Analysis of TI GHG Stack Data. Joel Dobson, TI Wednesday, Nov 30, 2011

Eco311, Final Exam, Fall 2017 Prof. Bill Even. Your Name (Please print) Directions. Each question is worth 4 points unless indicated otherwise.

Background for Case Study: Clifton Park Residential Real Estate

Comparison of conservation farming demonstration plots with conventionally farmed control plots

PROJECT PROPOSAL: OPTIMIZATION OF A TUNGSTEN CVD PROCESS

UNIVERSITY OF MORATUWA

Hearst Challenge : A Framework to Learn Magazine Sales Volume

Calculating the Standard Error of Measurement

Analysis of Variance

Survey commands in STATA

Foley Retreat Research Methods Workshop: Introduction to Hierarchical Modeling

Evaluation of Initial IRI Values as Acceptance Criteria for Flexible Pavements

STEP 1: ANOVA WITH ALL FACTORS

More Multiple Regression

Design of Experiments

energy usage summary (both house designs) Friday, June 15, :51:26 PM 1

Untangling Correlated Predictors with Principle Components

CHAPTER 10 ASDA ANALYSIS EXAMPLES REPLICATION IVEware

Unit 2 Regression and Correlation 2 of 2 - Practice Problems SOLUTIONS Stata Users

A Statistical Comparison Of Accelerated Concrete Testing Methods

CHAPTER 5 INVESTIGATION ON DRILLING CHARACTERISTICS OF HYBRID COMPOSITES

Transcription:

Class 7 Categorical Factors with Two or More Levels 189 Timing Production Runs ProdTime.jmp An analysis has shown that the time required in minutes to complete a production run increases with the number of items produced. Data were collected for the time required to process 20 randomly selected orders as supervised by three managers. How do the managers compare? The initial plot below is vague until coded using the Manager indicator variable as shown below. (Use the Col/Marker by Col... command from the Rows menu.) The overall fit is indeed positive in slope, with an average time per unit (the slope) of 0.22 per unit. Time for Run by Run Size 300 Time for Run 250 200 150 0 50 100 150 200 250 300 350 400 Run Size Linear Fit RSquare 0.256 Root Mean Square Error 32.108 Intercept 182.31 10.96 16.63 <.0001 Run Size 0.22 0.05 4.47 <.0001

190 Categorical Factors with Two or More Levels Class 7 In contrast to one overall regression, might the fit differ if restricted to the 20 runs available for each manager? When the regression is fit separately for each manager as shown next, it is clear that the fits are different. Time for Run by Run Size Manager b 300 Time for Run 250 200 Manager a 150 0 50 100 150 200 250 300 350 400 Run Size Manager c Linear Fit Manager=a Linear Fit Manager=b Linear Fit Manager=c Are the differences among these three fitted lines large and significant, or might they be the result of random variation? After all, we haven t much data for each manager. Summaries of the three fitted regressions appear on the next page.

Class 7 Categorical Factors with Two or More Levels 191 What is the interpretation of the slope and intercept in each equation? Linear Fit Manager=a (Red) RSquare 0.710 RSquare Adj 0.694 Root Mean Square Error 16.613 Mean of Response 263.050 Observations (or Sum Wgts) 2 0 Intercept 202.53 9.83 20.59 <.0001 Run Size 0.31 0.05 6.65 <.0001 Linear Fit Manager=b (Green) RSquare 0.360 RSquare Adj 0.325 Root Mean Square Error 13.979 Mean of Response 217.850 Observations (or Sum Wgts) 2 0 Intercept 186.49 10.33 18.05 <.0001 Run Size 0.14 0.04 3.18 0.0051 Linear Fit Manager=c (Blue) RSquare 0.730 RSquare Adj 0.715 Root Mean Square Error 16.252 Mean of Response 202.050 Observations (or Sum Wgts) 2 0 Intercept 149.75 8.33 17.98 <.0001 Run Size 0.26 0.04 6.98 <.0001 To see if these evident differences are significant, we embed these three models into one multiple regression.

192 Categorical Factors with Two or More Levels Class 7 The multiple regression tool Fit Model lets us add the categorical variable Manager to the regression. Here are the results of the model with Manager and Run Size. Since we have more than two levels of this categorical factor, the Effect Test component of the output becomes relevant. It holds the partial F-tests. We ignored these previously since these are equivalent to the usual t-statistic if the covariate is continuous or is a categorical predictor with two levels. Response: Time for Run RSquare 0.813 RSquare Adj 0.803 Root Mean Square Error 16.376 Mean of Response 227.650 Observations (or Sum Wgts) 6 0 Intercept 176.71 5.66 31.23 <.0001 Run Size 0.24 0.03 9.71 <.0001 Manager[a-c] 38.41 3.01 12.78 <.0001 Manager[b-c] -14.65 3.03-4.83 <.0001 Effect Test Source Nparm DF Sum of Squares F Ratio Prob>F Run Size 1 1 25260.250 94.2 <.0001 Manager 2 2 44773.996 83.5 <.0001

Class 7 Categorical Factors with Two or More Levels 193 The two terms Manager[a-c] and Manager[b-c] require some review. These two coefficients represent the differences in the intercepts for managers a and b, respectively, from the average intercept of three parallel regression lines. The effect for manager c is the negative of the sum of these two (so that the sum of all three is zero). That is, Effect for Manager c = (38.41 14.65) = 23.76 The effect test for Manager indicates that the differences among these three intercepts are significant. It does this by measuring the improvement in fit obtained by adding the Manager terms to the regression simultaneously. One way to see how it s calculated is to compare the R 2 without using Manager to that with it. If we remove Manager from the fit, the R 2 drops to 0.256. Adding the two terms representing the two additional intercepts improves this to 0.813. The effect test determines whether this increase is significant by looking at the improvement in R 2 per added term. Here s the expression: (another example of the partial F-test appears in Class 5). Change in R 2 per added variable Partial F = ----------------------------------------- Remaining variation per residual (R 2 complete R 2 reduced)/ (# variables added) = -------------------------------------------------------- (1 R 2 complete) / (Error degrees of freedom) (0.813 0.256)/2 = (1 0.813)/56 0.28.0033 = 83.4 What about the clear differences in slopes?

194 Categorical Factors with Two or More Levels Class 7 We need to add interactions to capture the differences in the slopes associated with the different managers. Response: Time for Run RSquare 0.835 RSquare Adj 0.820 Root Mean Square Error 15.658 Mean of Response 227.65 Observations (or Sum Wgts) 6 0 Intercept 179.59 5.62 31.96 0.00 Run Size 0.23 0.02 9.49 0.00 Manager[a-c] 22.94 7.76 2.96 0.00 Manager[b-c] 6.90 8.73 0.79 0.43 Manager[a-c]*Run Size 0.07 0.04 2.07 0.04 Manager[b-c]*Run Size -0.10 0.04-2.63 0.01 Effect Test Source Nparm DF Sum of Squares F Ratio Prob>F Run Size 1 1 22070.614 90.0 <.0001 Manager 2 2 4832.335 9.9 0.0002 Manager*Run Size 2 2 1778.661 3.6 0.0333 In this output, the coefficients Manager[a-c]*Run Size and Manager[b-c]*Run Size indicate the differences in slopes from the average manager slope. As before, to get the term for manager c we need to find the negative of the sum of the shown effects, 0.03. The differences are significant, as seen from the effect test for the interaction.

Class 7 Categorical Factors with Two or More Levels 195 The residual checks indicate that the model satisfies the usual assumptions. 40 30 20 10 Residual 0-10 -20-30 -40 150 200 250 300 Time for Run Predicted Residual Time for Run 40 30 20 10 0-10 -20-30 -40-3 -2-1 0 1 2 3 Normal Quantile

196 Categorical Factors with Two or More Levels Class 7 Since the model has categorical factors, we also need to check that the residual variance is comparable across the groups. Here, the variances seem quite similar. Residual Time for Run by Manager 40 30 20 Residual Time for Run 10 0-10 -20-30 -40 a b c Manager Means and Std Deviations Manager # Mean Std Dev Std Err Mean a 20 0.00 16.2 3.6 b 20 0.00 13.6 3.0 c 20 0.00 15.8 3.5

Class 7 Categorical Factors with Two or More Levels 197 An analysis has shown that the time required in minutes to complete a production run increases with the number of items produced. Data were collected for the time required to process 20 randomly selected orders as supervised by three managers. How do the managers compare? The runs supervised by Manager a appear abnormally time consuming. Manager b has high initial fixed setup costs, but the time per unit for this manager is the best of the three. Manager c has the lowest fixed costs with a typical per unit production time.