Save this PDF as:

Size: px
Start display at page:

## Transcription

1 Lecture 11: Outliers and Influential data Regression III: Advanced Methods William G. Jacoby Michigan State University

2 Outlying Observations: Why pay attention? Can cause us to misinterpret patterns in plots Outliers can affect visual resolution of remaining data in plots (forces observations into clusters ) Temporary removal of outliers, and/or transformations can spread out clustered observations and bring in the outliers (if not removed) More importantly, separated points can have a strong influence on statistical models deleting outliers from a regression model can sometimes give completely different results Unusual cases can substantially influence the fit of the OLS model Cases that are both outliers and high leverage exert influence on both the slopes and intercept of the model Outliers may also indicate that our model fails to capture important characteristics of the data 2

3 Ex 1. Influence and Small Samples: Inequality Data (1) Small samples are especially vulnerable to outliers there are fewer cases to counter the outlier With Czech Republic and Slovakia included, there is no relationship between Attitudes towards inequality and the Gini coefficient If these cases are removed, we see a positive relationship Attitudes towards inequality(mean) Slovakia Nondemocratic countries CzechRepublic All cases Outliers excluded Gini 3

4 Ex 1. Influence and Small Samples: Inequality Data (2) 4

5 R script for Ex. 1 5

6 Ex 2. Influence and Small Samples: Davis Data (1) These data are the Davis data in the car package It is clear that observation 12 is influential The model including observation 12 does a poor job of representing the trend in the data; The model excluding observation 12 does much better weight The output on the next slide confirms this Davis data All cases Outlier excluded height 6

7 Ex 2. Influence and Small Samples: Davis Data (2) 7

8 R script for Ex. 2 8

9 Types of Unusual Observations (1) 1. Regression Outliers An observation that is unconditionally unusual in either its Y or X value is called a univariate outlier, but it is not necessarily a regression outlier A regression outlier is an observation that has an unusual value of the dependent variable Y, conditional on its value of the independent variable X In other words, for a regression outlier, neither the X nor the Y value is necessarily unusual on its own A regression outlier will have a large residual but not necessarily affect the regression slope coefficient 9

10 Types of Unusual Observations (2) 2. Cases with Leverage An observation that has an unusual X value i.e., it is far from the mean of X has leverage on (i.e., the potential to influence) the regression line The further away from from the mean of X (either in a positive or negative direction), the more leverage an observation has on the regression fit High leverage does not necessarily mean that it influences the regression coefficients It is possible to have a high leverage and yet follow straight in line with the pattern of the rest of the data 10

11 Types of Unusual Observations (3) 3. Influential Observations Only when an observation has high leverage and is an outlier in terms of Y-value will it strongly influence the regression line In other words, it must have an unusual X-value with an unusual Y-value given its X-value In such cases both the intercept and slope are affected, as the line chases the observation Influence=Leverage X Discrepancy 11

12 Types of Unusual Observations (4) Figure (a): Outlier without influence. Although its Y value is unusual given its X value, it has little influence on the regression line because it is in the middle of the X- range Figure (b) High leverage because it has a high value of X. However, because its value of Y puts it in line with the general pattern of the data it has no influence Figure (c): Combination of discrepancy (unusual Y value) and leverage (unusual X value) results in strong influence. When this case is deleted both the slope and intercept change dramatically. 12

13 Assessing Leverage: Hat Values (1) Most common measure of leverage is the hat-value, h i The name hat-values results from their calculation based on the fitted values (Y-hat): Recall that the Hat Matrix, H, projects the Y s onto their predicted values: 13

14 Assessing Leverage: Hat Values (2) If h ij is large, the ith observation has a substantial impact on the jth fitted value Since H is symmetric and idempotent, the diagonal entries represent both the i th row and the i th column: This implies, then, that h i =h ii As a result, the hat value h i measures the potential leverage of Y i on all the fitted values 14

15 Properties of Hat-Values The average hat-value is: Hat values are bounded between 1/n and 1 In simple regression hat values measure distance from the mean of X: In multiple regression, h i measures the distance from the centroid point of X s (point of means) Rule of Thumb: Hat values exceeding about twice the average hat-value should be considered noteworthy With large sample sizes, however, this cut-off is unlikely to identify any observations regardless of whether they deserve attention 15

16 Hat Values in Multiple Regression The diagram to the right shows elliptical contours of hat values for two independent variables As the contours suggest, hat values in multiple regression take into consideration the correlational and variational structure of the X s As a result, outliers in multidimensional X-space are high leverage observations i.e., the dependent variable values are irrelevant in calculating h i 16

17 Leverage and Hat Values: Inequality data revisited (1) We start by fitting the model to the complete dataset Recall that, looking at the scatterplot of Gini and attitudes, we identified two possible outliers (Czech Republic and Slovakia) With these included in the model there was no apparent effect of Gini on attitudes: 17

18 R script for plot of Hat Values 18

19 Leverage and Hat Values: Inequality data revisited (2) Hat Values for Inequality model Several countries have large hat values, suggesting that they have unusual X values Notice that there are several that have much higher hat values than the Czech Republic and Slovakia These cases have high leverage, but not necessarily high influence hatvalues(weakliem.model1) Brazil Slovenia Chile CzechRepublic Slovakia Index 19

20 Formal Tests for Outliers: Standardized Residuals Unusual observations typically have large residuals but not necessarily so high leverage observations can have small residuals because they pull the line towards them: Standardized residuals provide one possible, though unsatisfactory, way of detecting outliers: The numerator and denominator are not independent and thus E i does not follow a t-distribution: If E i is large, the standard error is also large: 20

21 Studentized Residuals (1) If we refit the model deleting the ith observation we obtain an estimate of the standard deviation of the residuals S E(-1) (standard error of the regression) that is based on the n-1 observations We then calculate the studentized residuals E i* s, which have an independent numerator and denominator: Studentized residuals follow a t-distribution with n-k-2 degrees of freedom We might employ this method when we have several cases that might be outliers Observations that have a studentized residual outside the ± 2 range are considered statistically significant at the 95% a level 21

22 Studentized Residuals (2) An alternative, but equivalent, method of calculating studentized residuals is the so-called mean-shift outlier model: Here D is a dummy regressor coded 1 for observation i and 0 for all other observations. We test the null hypothesis that the outlier i does not differ from the rest of the observations, H 0 :γ=0, by calculating the t-test: The test statistic is the studentized residual E i* and is distributed as t n-k-2 This method is most suitable when, after looking at the data, we have determined that a particular case might be an outlier 22

23 Studentized Residuals (3) The Bonferroni adjustment Since we are selecting the furthest outlier, it is not legitimate to use a simple t-test We would expect that 5% of the studentized residuals would be beyond t.025 ± 2 by chance alone To remedy this we can make a Bonferroni adjustment to the p-value. The Bonferroni p-value for the largest outlier is: p=2np where p is the unadjusted p-value from a t- test with n-k-2 degrees of freedom A special t-table is needed if you do this calculation by hand, but the outlier.test function in the car package for R will give it to you automatically 23

24 Studentized Residuals (4) An Example of the Outlier Test The Bonferroni-adjusted outlier test in car tests the largest absolute studentized residual. Recalling our inequality model: It is now quite clear that Slovakia (observation 26) is an outlier, but as of yet we have not assessed whether it influences the regression line 24

25 Quantile Comparison Plots (1) Recall that we used quantile comparison plots to compare the distribution of a single variable to the t- distribution, assessing whether the distribution of the variable showed a departure from normality Using the same technique, we can compare the distribution of the studentized residuals from our regression model to the t-distribution Observations that stray outside of the 95% confidence envelope are statistically significant outliers 25

26 Quantile-Comparison Plots (2): Example: Inequality data Here we can again see that two cases appear to be outliers: 7 and 26, which represent the Czech Republic and Slovakia Studentized Residuals(Weakliem.model1) t Quantiles 26

27 Influential Observations: DFBeta and DFBetas (1) Recall that an influential observation is one that combines discrepancy with leverage Therefore, examine how regression coefficients change if outliers are omitted from the model We can use D ij (often termed DFBeta ij ) to do so: D* ij (Dfbetas ij ) standardizes the measure, by dividing by S Bj(-i) A standard cut-off for an influential observation is: D* ij = 2 n

28 R script for DFBetas plot 28

29 Influential Observations: DFBetas (2) We see here Slovakia makes the gdp coefficient CzechRepublic larger and the coefficient for gini smaller The Czech Republic also Slovakia makes the coefficient for Chile gdp larger A problem with DFBetas is that each observation has several measures of influence one for each coefficient n(k+1) different measures Cook s D overcomes the problem by presenting a single summary measure for each observation gdp DFBetas for the Gini and GDP coefficients gini 29

30 Cook s Distance (Cook s D) Cook s D measures the distance between B j and B j(-i) by calculating an F-test for the hypothesis that β j =B j(-i), for j=0,1,,k. An F statistic is calculated for each observation as follows: where h i is the hat-value for each observation and E I is the standardized residual The first fraction measures discrepancy; the second fraction measures leverage There is no significance test for D i (i.e., the F value here measures only distance) but a cut-off rule of thumb is: The cut-off is useful, but there is no substitute for examining relative discrepancies in plots of Cook s D versus cases, or of E i* against h i 30

31 Cook s D: An Example We can see from this plot of Cook s D against the case numbers, that Slovakia has an unusually high level of influence on the regression surface The Czech Republic and Slovenia also stand out cookd(weakliem.model1) CzechRepublic Slovenia Slovakia Index 31

32 Influence Plot (or bubble plot ) Displays studentized residuals, hat-values and Cook s D on a single plot The horizontal axis represents the hatvalues; the vertical axis represents the studentized residuals; circles for each observation represent the relative size of the Cook s D The radius is proportional to the square root of Cook s D, and thus the areas are proportional to the Cook s D Studentized Residuals Influence Plot for Inequality data Slovakia CzechRepublic Hat Values 32

33 R-script for the Influence Plot 33

34 Joint Influence (1) Subsets of cases can jointly influence a regression line, or can offset each other s influence Cook s D can help us determine joint influence if there are relatively few influential cases. That is, we can delete cases sequentially, updating the model each time and exploring the Cook s Ds again This approach is impractical if there are potentially a large number of subsets to explore, however Added-variable plots (also called partialregression plots) provide a more useful method of assessing joint influence 34

35 Joint influence (2) The heavy solid represent the regression with all cases included; The broken line is the regression with the asterisk deleted;the light solid line is for the regression with both the plus and asterisk deleted Depending on where the jointly influential cases lie, they can have different effects on the regression line. (a) and (b) are jointly influential because they change the regression line when included together. The observations in (c) offset each other and thus have little effect on the regression line 35

36 Added-Variable Plots (1) (or partial regression plots) Let Y i (1) represent the residuals from the leastsquares regression of Y on all of the X s except for X 1 : Similarly, X i (1) are the residuals from the regression of X 1 on all other X s: These two equations determine the residuals Y (1) and X (1) as parts of Y and X 1 that remain when the effects of X 2,, X k are removed 36

37 Added-Variable Plots (2) (or partial regression plots) Residuals Y (1) and X (1) have the following properties: 1. Slope of the regression of Y (1) on X (1) is the leastsquares slope B 1 from the full multiple regression 2. Residuals from the regression of Y (1) on X (1) are the same as the residuals from the full regression: 3. Variation of X (1) is the conditional variance of X 1 holding the other X s constant. Consequently, except for the df the standard error from the partial simple regression is the same as the multiple regression SE of B 1. 37

38 Added-Variable Plots (3) An Example Once again recalling the outlier model from the Inequality data (Weakliem.model1) A plot of Y (1) against X (1) allows us to examine the leverage and influence of cases on B 1 we make one plot for each X These plots also gives us an idea of the precision of our slopes (B 1 B k ) 38

39 Added-Variable Plots (4) Example cont d Added-Variable Plot Added-Variable Plot secpay others secpay others gini others gdp others We see here that cases 7 (Czech Republic) and 26 (Slovakia) have unusually high Y values given their X s Because they are on the extreme of the X-range as well, they are most likely influencing both slopes 39

40 Unusual Observations and their impact on Standard Errors Depending on their location, unusual observations can either increase or decrease standard errors Recall that the standard error for a slope is as follows: An observation with high leverage (i.e., an X-value far from the mean of X) increases the size of the denominator, and thus decreases the standard error A regression outlier (i.e., a point with a large residual) that does not have leverage (i.e., it does not have an unusual X-value) does not change the slope coefficients but will increase the standard error 40

41 Unusual cases: Solutions? Unusual observations may reflect miscoding, in which case the observations can be rectified or deleted entirely Outliers are sometimes of substantive interest: If only a few cases, we may decide to deal separately with them Several outliers may reflect model misspecification i.e., an important explanatory variable that accounts for the subset of the data that are outliers has been neglected Unless there are strong reasons to remove outliers we may decide to keep them in the analysis and use alternative models to OLS, for example robust regression, which down weight outlying data. Often these models give similar results to an OLS model that omits the influential cases, because they assign very low weight to highly influential cases 41

42 Summary (1) Small samples are especially vulnerable to outliers there are fewer cases to counter the outlier Large samples can also be affected, however, as shown by the marital coital frequency example Even if you have many cases, and your variables have limited ranges, miscodes that could influence the regression model are still possible Unusual cases are only influential when they are both unusual in terms of their Y value given their X (outlier), and when they have an unusual X-value (leverage): Influence = Leverage X Discrepency 42

43 Summary (2) We can test for outliers using studentized residuals and quantile-comparison plots Leverage is assessed by exploring the hat-values Influence is assessed using DFBetas and, preferably Cook s Ds Influence Plots (or bubble plots) are useful because they display the studentized residuals, hat-values and Cook s distances all on the same plot Joint influence is best assessed using Added-Variable Plots (or partial-regression plots) 43

Lecture 16: Generalized Additive Models Regression III: Advanced Methods Bill Jacoby Michigan State University http://polisci.msu.edu/jacoby/icpsr/regress3 Goals of the Lecture Introduce Additive Models

Lecture 5: Linear least-squares Regression III: Advanced Methods William G. Jacoby Department of Political Science Michigan State University http://polisci.msu.edu/jacoby/icpsr/regress3 Simple Linear Regression

### A correlation exists between two variables when one of them is related to the other in some way.

Lecture #10 Chapter 10 Correlation and Regression The main focus of this chapter is to form inferences based on sample data that come in pairs. Given such paired sample data, we want to determine whether

### Example: Boats and Manatees

Figure 9-6 Example: Boats and Manatees Slide 1 Given the sample data in Table 9-1, find the value of the linear correlation coefficient r, then refer to Table A-6 to determine whether there is a significant

### Chapter 7: Simple linear regression Learning Objectives

Chapter 7: Simple linear regression Learning Objectives Reading: Section 7.1 of OpenIntro Statistics Video: Correlation vs. causation, YouTube (2:19) Video: Intro to Linear Regression, YouTube (5:18) -

### UNDERSTANDING MULTIPLE REGRESSION

UNDERSTANDING Multiple regression analysis (MRA) is any of several related statistical methods for evaluating the effects of more than one independent (or predictor) variable on a dependent (or outcome)

### Statistical Modelling in Stata 5: Linear Models

Statistical Modelling in Stata 5: Linear Models Mark Lunt Arthritis Research UK Centre for Excellence in Epidemiology University of Manchester 08/11/2016 Structure This Week What is a linear model? How

### Simple Linear Regression Inference

Simple Linear Regression Inference 1 Inference requirements The Normality assumption of the stochastic term e is needed for inference even if it is not a OLS requirement. Therefore we have: Interpretation

### Simple Linear Regression in SPSS STAT 314

Simple Linear Regression in SPSS STAT 314 1. Ten Corvettes between 1 and 6 years old were randomly selected from last year s sales records in Virginia Beach, Virginia. The following data were obtained,

### Univariate Regression

Univariate Regression Correlation and Regression The regression line summarizes the linear relationship between 2 variables Correlation coefficient, r, measures strength of relationship: the closer r is

### , has mean A) 0.3. B) the smaller of 0.8 and 0.5. C) 0.15. D) which cannot be determined without knowing the sample results.

BA 275 Review Problems - Week 9 (11/20/06-11/24/06) CD Lessons: 69, 70, 16-20 Textbook: pp. 520-528, 111-124, 133-141 An SRS of size 100 is taken from a population having proportion 0.8 of successes. An

### Residuals. Residuals = ª Department of ISM, University of Alabama, ST 260, M23 Residuals & Minitab. ^ e i = y i - y i

A continuation of regression analysis Lesson Objectives Continue to build on regression analysis. Learn how residual plots help identify problems with the analysis. M23-1 M23-2 Example 1: continued Case

### CORRELATION AND SIMPLE REGRESSION ANALYSIS USING SAS IN DAIRY SCIENCE

CORRELATION AND SIMPLE REGRESSION ANALYSIS USING SAS IN DAIRY SCIENCE A. K. Gupta, Vipul Sharma and M. Manoj NDRI, Karnal-132001 When analyzing farm records, simple descriptive statistics can reveal a

### Exercise 1.12 (Pg. 22-23)

Individuals: The objects that are described by a set of data. They may be people, animals, things, etc. (Also referred to as Cases or Records) Variables: The characteristics recorded about each individual.

### 2. Simple Linear Regression

Research methods - II 3 2. Simple Linear Regression Simple linear regression is a technique in parametric statistics that is commonly used for analyzing mean response of a variable Y which changes according

### Simple linear regression

Simple linear regression Introduction Simple linear regression is a statistical method for obtaining a formula to predict values of one variable from another where there is a causal relationship between

### Lesson Lesson Outline Outline

Lesson 15 Linear Regression Lesson 15 Outline Review correlation analysis Dependent and Independent variables Least Squares Regression line Calculating l the slope Calculating the Intercept Residuals and

### Multiple Regression in SPSS STAT 314

Multiple Regression in SPSS STAT 314 I. The accompanying data is on y = profit margin of savings and loan companies in a given year, x 1 = net revenues in that year, and x 2 = number of savings and loan

### Inferential Statistics

Inferential Statistics Sampling and the normal distribution Z-scores Confidence levels and intervals Hypothesis testing Commonly used statistical methods Inferential Statistics Descriptive statistics are

### , then the form of the model is given by: which comprises a deterministic component involving the three regression coefficients (

Multiple regression Introduction Multiple regression is a logical extension of the principles of simple linear regression to situations in which there are several predictor variables. For instance if we

### Lecture - 32 Regression Modelling Using SPSS

Applied Multivariate Statistical Modelling Prof. J. Maiti Department of Industrial Engineering and Management Indian Institute of Technology, Kharagpur Lecture - 32 Regression Modelling Using SPSS (Refer

### Chapter 9. Section Correlation

Chapter 9 Section 9.1 - Correlation Objectives: Introduce linear correlation, independent and dependent variables, and the types of correlation Find a correlation coefficient Test a population correlation

### Simple Regression Theory II 2010 Samuel L. Baker

SIMPLE REGRESSION THEORY II 1 Simple Regression Theory II 2010 Samuel L. Baker Assessing how good the regression equation is likely to be Assignment 1A gets into drawing inferences about how close the

### Chapter 10. Key Ideas Correlation, Correlation Coefficient (r),

Chapter 0 Key Ideas Correlation, Correlation Coefficient (r), Section 0-: Overview We have already explored the basics of describing single variable data sets. However, when two quantitative variables

### Simple Linear Regression

Inference for Regression Simple Linear Regression IPS Chapter 10.1 2009 W.H. Freeman and Company Objectives (IPS Chapter 10.1) Simple linear regression Statistical model for linear regression Estimating

### The scatterplot indicates a positive linear relationship between waist size and body fat percentage:

STAT E-150 Statistical Methods Multiple Regression Three percent of a man's body is essential fat, which is necessary for a healthy body. However, too much body fat can be dangerous. For men between the

### POLYNOMIAL AND MULTIPLE REGRESSION. Polynomial regression used to fit nonlinear (e.g. curvilinear) data into a least squares linear regression model.

Polynomial Regression POLYNOMIAL AND MULTIPLE REGRESSION Polynomial regression used to fit nonlinear (e.g. curvilinear) data into a least squares linear regression model. It is a form of linear regression

### Course Objective This course is designed to give you a basic understanding of how to run regressions in SPSS.

SPSS Regressions Social Science Research Lab American University, Washington, D.C. Web. www.american.edu/provost/ctrl/pclabs.cfm Tel. x3862 Email. SSRL@American.edu Course Objective This course is designed

### A. Karpinski

Chapter 3 Multiple Linear Regression Page 1. Overview of multiple regression 3-2 2. Considering relationships among variables 3-3 3. Extending the simple regression model to multiple predictors 3-4 4.

### AP Statistics 2002 Scoring Guidelines

AP Statistics 2002 Scoring Guidelines The materials included in these files are intended for use by AP teachers for course and exam preparation in the classroom; permission for any other use must be sought

### where b is the slope of the line and a is the intercept i.e. where the line cuts the y axis.

Least Squares Introduction We have mentioned that one should not always conclude that because two variables are correlated that one variable is causing the other to behave a certain way. However, sometimes

### Using R for Linear Regression

Using R for Linear Regression In the following handout words and symbols in bold are R functions and words and symbols in italics are entries supplied by the user; underlined words and symbols are optional

### Using Minitab for Regression Analysis: An extended example

Using Minitab for Regression Analysis: An extended example The following example uses data from another text on fertilizer application and crop yield, and is intended to show how Minitab can be used to

### NCSS Statistical Software Principal Components Regression. In ordinary least squares, the regression coefficients are estimated using the formula ( )

Chapter 340 Principal Components Regression Introduction is a technique for analyzing multiple regression data that suffer from multicollinearity. When multicollinearity occurs, least squares estimates

### Practice 3 SPSS. Partially based on Notes from the University of Reading:

Practice 3 SPSS Partially based on Notes from the University of Reading: http://www.reading.ac.uk Simple Linear Regression A simple linear regression model is fitted when you want to investigate whether

### ANNOTATED OUTPUT--SPSS Simple Linear (OLS) Regression

Simple Linear (OLS) Regression Regression is a method for studying the relationship of a dependent variable and one or more independent variables. Simple Linear Regression tells you the amount of variance

### 2013 MBA Jump Start Program. Statistics Module Part 3

2013 MBA Jump Start Program Module 1: Statistics Thomas Gilbert Part 3 Statistics Module Part 3 Hypothesis Testing (Inference) Regressions 2 1 Making an Investment Decision A researcher in your firm just

### Fairfield Public Schools

Mathematics Fairfield Public Schools AP Statistics AP Statistics BOE Approved 04/08/2014 1 AP STATISTICS Critical Areas of Focus AP Statistics is a rigorous course that offers advanced students an opportunity

### Linear Regression. Chapter 5. Prediction via Regression Line Number of new birds and Percent returning. Least Squares

Linear Regression Chapter 5 Regression Objective: To quantify the linear relationship between an explanatory variable (x) and response variable (y). We can then predict the average response for all subjects

### Regression Analysis Using ArcMap. By Jennie Murack

Regression Analysis Using ArcMap By Jennie Murack Regression Basics How is Regression Different from other Spatial Statistical Analyses? With other tools you ask WHERE something is happening? Are there

### e = random error, assumed to be normally distributed with mean 0 and standard deviation σ

1 Linear Regression 1.1 Simple Linear Regression Model The linear regression model is applied if we want to model a numeric response variable and its dependency on at least one numeric factor variable.

### X X X a) perfect linear correlation b) no correlation c) positive correlation (r = 1) (r = 0) (0 < r < 1)

CORRELATION AND REGRESSION / 47 CHAPTER EIGHT CORRELATION AND REGRESSION Correlation and regression are statistical methods that are commonly used in the medical literature to compare two or more variables.

### Regression Analysis: Basic Concepts

The simple linear model Regression Analysis: Basic Concepts Allin Cottrell Represents the dependent variable, y i, as a linear function of one independent variable, x i, subject to a random disturbance

### ALGEBRA I A PLUS COURSE OUTLINE

ALGEBRA I A PLUS COURSE OUTLINE OVERVIEW: 1. Operations with Real Numbers 2. Equation Solving 3. Word Problems 4. Inequalities 5. Graphs of Functions 6. Linear Functions 7. Scatterplots and Lines of Best

### In Chapter 27 we tried to predict the percent body fat of male subjects from

29 C H A P T E R Multiple Regression WHO WHAT UNITS WHEN WHERE WHY 25 Male subjects Body fat and waist size %Body fat and inches 199s United States Scientific research In Chapter 27 we tried to predict

### Notes on Applied Linear Regression

Notes on Applied Linear Regression Jamie DeCoster Department of Social Psychology Free University Amsterdam Van der Boechorststraat 1 1081 BT Amsterdam The Netherlands phone: +31 (0)20 444-8935 email:

### 1. What is the critical value for this 95% confidence interval? CV = z.025 = invnorm(0.025) = 1.96

1 Final Review 2 Review 2.1 CI 1-propZint Scenario 1 A TV manufacturer claims in its warranty brochure that in the past not more than 10 percent of its TV sets needed any repair during the first two years

### SELF-TEST: SIMPLE REGRESSION

ECO 22000 McRAE SELF-TEST: SIMPLE REGRESSION Note: Those questions indicated with an (N) are unlikely to appear in this form on an in-class examination, but you should be able to describe the procedures

### Statistiek II. John Nerbonne. March 24, 2010. Information Science, Groningen Slides improved a lot by Harmut Fitz, Groningen!

Information Science, Groningen j.nerbonne@rug.nl Slides improved a lot by Harmut Fitz, Groningen! March 24, 2010 Correlation and regression We often wish to compare two different variables Examples: compare

### 12/31/2016. PSY 512: Advanced Statistics for Psychological and Behavioral Research 2

PSY 512: Advanced Statistics for Psychological and Behavioral Research 2 Understand when to use multiple Understand the multiple equation and what the coefficients represent Understand different methods

### Technology Step-by-Step Using StatCrunch

Technology Step-by-Step Using StatCrunch Section 1.3 Simple Random Sampling 1. Select Data, highlight Simulate Data, then highlight Discrete Uniform. 2. Fill in the following window with the appropriate

### Analysis of Variance ANOVA

Analysis of Variance ANOVA Overview We ve used the t -test to compare the means from two independent groups. Now we ve come to the final topic of the course: how to compare means from more than two populations.

### Unit 31 A Hypothesis Test about Correlation and Slope in a Simple Linear Regression

Unit 31 A Hypothesis Test about Correlation and Slope in a Simple Linear Regression Objectives: To perform a hypothesis test concerning the slope of a least squares line To recognize that testing for a

### ST 311 Evening Problem Session Solutions Week 11

1. p. 175, Question 32 (Modules 10.1-10.4) [Learning Objectives J1, J3, J9, J11-14, J17] Since 1980, average mortgage rates have fluctuated from a low of under 6% to a high of over 14%. Is there a relationship

### Simple Linear Regression, Scatterplots, and Bivariate Correlation

1 Simple Linear Regression, Scatterplots, and Bivariate Correlation This section covers procedures for testing the association between two continuous variables using the SPSS Regression and Correlate analyses.

### Part 2: Analysis of Relationship Between Two Variables

Part 2: Analysis of Relationship Between Two Variables Linear Regression Linear correlation Significance Tests Multiple regression Linear Regression Y = a X + b Dependent Variable Independent Variable

### Regression in SPSS. Workshop offered by the Mississippi Center for Supercomputing Research and the UM Office of Information Technology

Regression in SPSS Workshop offered by the Mississippi Center for Supercomputing Research and the UM Office of Information Technology John P. Bentley Department of Pharmacy Administration University of

### 1) Write the following as an algebraic expression using x as the variable: Triple a number subtracted from the number

1) Write the following as an algebraic expression using x as the variable: Triple a number subtracted from the number A. 3(x - x) B. x 3 x C. 3x - x D. x - 3x 2) Write the following as an algebraic expression

### Statistics 112 Regression Cheatsheet Section 1B - Ryan Rosario

Statistics 112 Regression Cheatsheet Section 1B - Ryan Rosario I have found that the best way to practice regression is by brute force That is, given nothing but a dataset and your mind, compute everything

### Chapter 23. Inferences for Regression

Chapter 23. Inferences for Regression Topics covered in this chapter: Simple Linear Regression Simple Linear Regression Example 23.1: Crying and IQ The Problem: Infants who cry easily may be more easily

### Chapter 8: Interval Estimates and Hypothesis Testing

Chapter 8: Interval Estimates and Hypothesis Testing Chapter 8 Outline Clint s Assignment: Taking Stock Estimate Reliability: Interval Estimate Question o Normal Distribution versus the Student t-distribution:

### Prediction and Confidence Intervals in Regression

Fall Semester, 2001 Statistics 621 Lecture 3 Robert Stine 1 Prediction and Confidence Intervals in Regression Preliminaries Teaching assistants See them in Room 3009 SH-DH. Hours are detailed in the syllabus.

### Calculate Confidence Intervals Using the TI Graphing Calculator

Calculate Confidence Intervals Using the TI Graphing Calculator Confidence Interval for Population Proportion p Confidence Interval for Population μ (σ is known 1 Select: STAT / TESTS / 1-PropZInt x: number

### Analysing Questionnaires using Minitab (for SPSS queries contact -) Graham.Currell@uwe.ac.uk

Analysing Questionnaires using Minitab (for SPSS queries contact -) Graham.Currell@uwe.ac.uk Structure As a starting point it is useful to consider a basic questionnaire as containing three main sections:

### Statistics for Management II-STAT 362-Final Review

Statistics for Management II-STAT 362-Final Review Multiple Choice Identify the letter of the choice that best completes the statement or answers the question. 1. The ability of an interval estimate to

### The Philosophy of Hypothesis Testing, Questions and Answers 2006 Samuel L. Baker

HYPOTHESIS TESTING PHILOSOPHY 1 The Philosophy of Hypothesis Testing, Questions and Answers 2006 Samuel L. Baker Question: So I'm hypothesis testing. What's the hypothesis I'm testing? Answer: When you're

### Session 7 Bivariate Data and Analysis

Session 7 Bivariate Data and Analysis Key Terms for This Session Previously Introduced mean standard deviation New in This Session association bivariate analysis contingency table co-variation least squares

### Simple Regression and Correlation

Simple Regression and Correlation Today, we are going to discuss a powerful statistical technique for examining whether or not two variables are related. Specifically, we are going to talk about the ideas

### Perform hypothesis testing

Multivariate hypothesis tests for fixed effects Testing homogeneity of level-1 variances In the following sections, we use the model displayed in the figure below to illustrate the hypothesis tests. Partial

### Chapter 11: Two Variable Regression Analysis

Department of Mathematics Izmir University of Economics Week 14-15 2014-2015 In this chapter, we will focus on linear models and extend our analysis to relationships between variables, the definitions

### OLS is not only unbiased it is also the most precise (efficient) unbiased estimation technique - ie the estimator has the smallest variance

Lecture 5: Hypothesis Testing What we know now: OLS is not only unbiased it is also the most precise (efficient) unbiased estimation technique - ie the estimator has the smallest variance (if the Gauss-Markov

### 7. Tests of association and Linear Regression

7. Tests of association and Linear Regression In this chapter we consider 1. Tests of Association for 2 qualitative variables. 2. Measures of the strength of linear association between 2 quantitative variables.

### Unit 21 Student s t Distribution in Hypotheses Testing

Unit 21 Student s t Distribution in Hypotheses Testing Objectives: To understand the difference between the standard normal distribution and the Student's t distributions To understand the difference between

### In Chapter 2, we used linear regression to describe linear relationships. The setting for this is a

Math 143 Inference on Regression 1 Review of Linear Regression In Chapter 2, we used linear regression to describe linear relationships. The setting for this is a bivariate data set (i.e., a list of cases/subjects

### 12-1 Multiple Linear Regression Models

12-1.1 Introduction Many applications of regression analysis involve situations in which there are more than one regressor variable. A regression model that contains more than one regressor variable is

### SOCI Homework 6 Key

SOCI 252-002 Homework 6 Key Professor François Nielsen Chapter 27 2. (pg. 702 drug use) a) The percentage of 9th graders in these countries who have used other drugs is estimated to have increased 0.615%

### Monopoly and Regression

Math Objectives Students will analyze the linear association between two variables and interpret the association in the context of a given scenario. Students will calculate a least-squares regression line

### Multiple Regression Analysis in Minitab 1

Multiple Regression Analysis in Minitab 1 Suppose we are interested in how the exercise and body mass index affect the blood pressure. A random sample of 10 males 50 years of age is selected and their

### Correlation and Regression

Correlation and Regression Scatterplots Correlation Explanatory and response variables Simple linear regression General Principles of Data Analysis First plot the data, then add numerical summaries Look

### Statistics 2014 Scoring Guidelines

AP Statistics 2014 Scoring Guidelines College Board, Advanced Placement Program, AP, AP Central, and the acorn logo are registered trademarks of the College Board. AP Central is the official online home

### Section 14 Simple Linear Regression: Introduction to Least Squares Regression

Slide 1 Section 14 Simple Linear Regression: Introduction to Least Squares Regression There are several different measures of statistical association used for understanding the quantitative relationship

### Canonical Correlation

Chapter 400 Introduction Canonical correlation analysis is the study of the linear relations between two sets of variables. It is the multivariate extension of correlation analysis. Although we will present

### Final Exam Practice Problem Answers

Final Exam Practice Problem Answers The following data set consists of data gathered from 77 popular breakfast cereals. The variables in the data set are as follows: Brand: The brand name of the cereal

### TRINITY COLLEGE. Faculty of Engineering, Mathematics and Science. School of Computer Science & Statistics

UNIVERSITY OF DUBLIN TRINITY COLLEGE Faculty of Engineering, Mathematics and Science School of Computer Science & Statistics BA (Mod) Enter Course Title Trinity Term 2013 Junior/Senior Sophister ST7002

### 496 STATISTICAL ANALYSIS OF CAUSE AND EFFECT

496 STATISTICAL ANALYSIS OF CAUSE AND EFFECT * Use a non-parametric technique. There are statistical methods, called non-parametric methods, that don t make any assumptions about the underlying distribution

### An analysis appropriate for a quantitative outcome and a single quantitative explanatory. 9.1 The model behind linear regression

Chapter 9 Simple Linear Regression An analysis appropriate for a quantitative outcome and a single quantitative explanatory variable. 9.1 The model behind linear regression When we are examining the relationship

### Factors affecting online sales

Factors affecting online sales Table of contents Summary... 1 Research questions... 1 The dataset... 2 Descriptive statistics: The exploratory stage... 3 Confidence intervals... 4 Hypothesis tests... 4

### Stat 412/512 CASE INFLUENCE STATISTICS. Charlotte Wickham. stat512.cwick.co.nz. Feb 2 2015

Stat 412/512 CASE INFLUENCE STATISTICS Feb 2 2015 Charlotte Wickham stat512.cwick.co.nz Regression in your field See website. You may complete this assignment in pairs. Find a journal article in your field

### An Intermediate Course in SPSS. Mr. Liberato Camilleri

An Intermediate Course in SPSS by Mr. Liberato Camilleri 3. Simple linear regression 3. Regression Analysis The model that is applicable in the simplest regression structure is the simple linear regression

### Chapter 10 - Practice Problems 1

Chapter 10 - Practice Problems 1 1. A researcher is interested in determining if one could predict the score on a statistics exam from the amount of time spent studying for the exam. In this study, the

### Chapter 12 : Linear Correlation and Linear Regression

Number of Faculty Chapter 12 : Linear Correlation and Linear Regression Determining whether a linear relationship exists between two quantitative variables, and modeling the relationship with a line, if

### Regression. Name: Class: Date: Multiple Choice Identify the choice that best completes the statement or answers the question.

Class: Date: Regression Multiple Choice Identify the choice that best completes the statement or answers the question. 1. Given the least squares regression line y8 = 5 2x: a. the relationship between

### Assessing Forecasting Error: The Prediction Interval. David Gerbing School of Business Administration Portland State University

Assessing Forecasting Error: The Prediction Interval David Gerbing School of Business Administration Portland State University November 27, 2015 Contents 1 Prediction Intervals 1 1.1 Modeling Error..................................

### Introduction to Linear Regression

14. Regression A. Introduction to Simple Linear Regression B. Partitioning Sums of Squares C. Standard Error of the Estimate D. Inferential Statistics for b and r E. Influential Observations F. Regression

### Yiming Peng, Department of Statistics. February 12, 2013

Regression Analysis Using JMP Yiming Peng, Department of Statistics February 12, 2013 2 Presentation and Data http://www.lisa.stat.vt.edu Short Courses Regression Analysis Using JMP Download Data to Desktop

### Multiple Hypothesis Testing: The F-test

Multiple Hypothesis Testing: The F-test Matt Blackwell December 3, 2008 1 A bit of review When moving into the matrix version of linear regression, it is easy to lose sight of the big picture and get lost

### Elements of statistics (MATH0487-1)

Elements of statistics (MATH0487-1) Prof. Dr. Dr. K. Van Steen University of Liège, Belgium December 10, 2012 Introduction to Statistics Basic Probability Revisited Sampling Exploratory Data Analysis -

### Introduction to Regression and Data Analysis

Statlab Workshop Introduction to Regression and Data Analysis with Dan Campbell and Sherlock Campbell October 28, 2008 I. The basics A. Types of variables Your variables may take several forms, and it