Regression. Height Weight How much would an adult female weigh if she were 5 feet tall? She could weigh varying amounts – in other words, there is a distribution.

Slides:



Advertisements
Similar presentations
11-1 Empirical Models Many problems in engineering and science involve exploring the relationships between two or more variables. Regression analysis.
Advertisements

Forecasting Using the Simple Linear Regression Model and Correlation
Inference for Regression
Regression Inferential Methods
CHAPTER 24: Inference for Regression
Objectives (BPS chapter 24)
© 2010 Pearson Prentice Hall. All rights reserved Least Squares Regression Models.
Chapter 10 Simple Regression.
Chapter 13 Introduction to Linear Regression and Correlation Analysis
Chapter Topics Types of Regression Models
Linear Regression and Correlation Analysis
Business Statistics - QBM117 Interval estimation for the slope and y-intercept Hypothesis tests for regression.
© 2000 Prentice-Hall, Inc. Chap Forecasting Using the Simple Linear Regression Model and Correlation.
11-1 Empirical Models Many problems in engineering and science involve exploring the relationships between two or more variables. Regression analysis.
Chapter 14 Introduction to Linear Regression and Correlation Analysis
Copyright ©2006 Brooks/Cole, a division of Thomson Learning, Inc. More About Regression Chapter 14.
Chapter 12 Section 1 Inference for Linear Regression.
Introduction to Linear Regression and Correlation Analysis
STA291 Statistical Methods Lecture 27. Inference for Regression.
Simple linear regression Linear regression with one predictor variable.
Copyright © 2013, 2010 and 2007 Pearson Education, Inc. Chapter Inference on the Least-Squares Regression Model and Multiple Regression 14.
Confidence Intervals for the Regression Slope 12.1b Target Goal: I can perform a significance test about the slope β of a population (true) regression.
Inference for Linear Regression Conditions for Regression Inference: Suppose we have n observations on an explanatory variable x and a response variable.
OPIM 303-Lecture #8 Jose M. Cruz Assistant Professor.
+ Chapter 12: Inference for Regression Inference for Linear Regression.
Regression. Height Weight How much would an adult female weigh if she were 5 feet tall? She could weigh varying amounts – in other words, there is a distribution.
Regression. Height Weight Suppose you took many samples of the same size from this population & calculated the LSRL for each. Using the slope from each.
Introduction to Linear Regression
Chap 12-1 A Course In Business Statistics, 4th © 2006 Prentice-Hall, Inc. A Course In Business Statistics 4 th Edition Chapter 12 Introduction to Linear.
Regression with Inference Notes: Page 231. Height Weight Suppose you took many samples of the same size from this population & calculated the LSRL for.
Chapter 14 Inference for Regression AP Statistics 14.1 – Inference about the Model 14.2 – Predictions and Conditions.
Lesson Inference for Regression. Knowledge Objectives Identify the conditions necessary to do inference for regression. Explain what is meant by.
Lecture 8 Simple Linear Regression (cont.). Section Objectives: Statistical model for linear regression Data for simple linear regression Estimation.
Inference for Regression Simple Linear Regression IPS Chapter 10.1 © 2009 W.H. Freeman and Company.
Inference for Regression Chapter 14. Linear Regression We can use least squares regression to estimate the linear relationship between two quantitative.
+ Chapter 12: More About Regression Section 12.1 Inference for Linear Regression.
Copyright © 2013, 2009, and 2007, Pearson Education, Inc. Chapter 13 Multiple Regression Section 13.3 Using Multiple Regression to Make Inferences.
Copyright ©2011 Brooks/Cole, Cengage Learning Inference about Simple Regression Chapter 14 1.
Multiple Regression. Simple Regression in detail Y i = β o + β 1 x i + ε i Where Y => Dependent variable X => Independent variable β o => Model parameter.
Chapter 14: Inference for Regression. A brief review of chapter 4... (Regression Analysis: Exploring Association BetweenVariables )  Bi-variate data.
Chapter 10 Inference for Regression
The Practice of Statistics, 5th Edition Starnes, Tabor, Yates, Moore Bedford Freeman Worth Publishers CHAPTER 12 More About Regression 12.1 Inference for.
Chapter 26: Inference for Slope. Height Weight How much would an adult female weigh if she were 5 feet tall? She could weigh varying amounts – in other.
The Practice of Statistics Third Edition Chapter 15: Inference for Regression Copyright © 2008 by W. H. Freeman & Company.
The Practice of Statistics, 5th Edition Starnes, Tabor, Yates, Moore Bedford Freeman Worth Publishers CHAPTER 12 More About Regression 12.1 Inference for.
Regression Inference. Height Weight How much would an adult male weigh if he were 5 feet tall? He could weigh varying amounts (in other words, there is.
Chapter 15 Inference for Regression. How is this similar to what we have done in the past few chapters?  We have been using statistics to estimate parameters.
Chapter 13 Simple Linear Regression
Inference for Regression (Chapter 14) A.P. Stats Review Topic #3
Regression.
AP Statistics Chapter 14 Section 1.
Regression Inferential Methods
Inference for Regression
Linear Regression and Correlation Analysis
CHAPTER 12 More About Regression
Regression.
Inference for Regression Lines
Chapter 12 Regression.
Regression Inference.
Regression.
Regression.
PENGOLAHAN DAN PENYAJIAN
Regression.
Regression Chapter 8.
Regression.
CHAPTER 12 More About Regression
Regression.
Chapter 14 Inference for Regression
CHAPTER 12 More About Regression
Presentation transcript:

Regression

Height Weight How much would an adult female weigh if she were 5 feet tall? She could weigh varying amounts – in other words, there is a distribution of weights for adult females who are 5 feet tall. This distribution is normally distributed. (we hope) What would you expect for other heights? Where would you expect the TRUE LSRL to be? What about the standard deviations of all these normal distributions? We want the standard deviations of all these normal distributions to be the same.

Regression Model The mean response  y has a straight-line relationship with x: –Where: slope  and intercept  are unknown parameters For any fixed value of x, the response y varies according to a normal distribution. Repeated responses of y are independent of each other. The standard deviation of y (  y ) is the same for all values of x. (  y is also an unknown parameter)

The slope b of the LSRL is an unbiased estimator of the true slope . The intercept a of the LSRL is an unbiased estimator of the true intercept . The standard error s is an unbiased estimator of the true standard deviation of y (  y ). Note: df = n-2 We use to estimate

Linear Regression: Inference on the slope of a line Write justifications: 3) Independent random sample for the population being studied. 1) Residuals are normally distributed. 2) The y values at any given x value are approx. normal and all have the same standard deviation. Look at the normal probability plot of the of the residuals. Look at the scatter plot. Is the scatter plot relatively straight? State the parameter – β

Linear Regression: inference on the slope of a line df = n-2 Confidence Interval

Linear Regression: Inference on the slope of a line Write justifications: 3) Independent random sample for the population being studied. 1) Residuals are normally distributed. 2) The y values at any given x value are approx. normal and all have the same standard deviation. Look at the normal quartile plot of the of the residuals. Look at the scatter plot. Is the scatter plot relatively straight?

Linear Regression: Inference on the slope of a line Null Hypothesis: Alternative Hypothesis There is no change - slope is zero– there is not a useful linear relationship There is a change - slope is not zero– there is a useful linear relationship Test Statistic df = n-2 Reject H o – there is a useful linear relationship between x and y Fail to Reject H o – there is not a useful linear relationship between x and y is the standard error of the slope s is our sample estimate of the common standard deviation of errors around the true line Inference Test

The Leaning Tower of Pisa leans more as time passes. Here are measurements of the lean of the tower for the years 1975 to The lean is the distance between where a point on the tower would be if the tower were straight and where it actually is. The distances are tenths of a millimeter in excess of 2.9 meters. For example, the 1975 lean, which was meters, appears in the table as 642 Year Lean Does there appear to be clear evidence there is a strong linear relationship between year and lean?  = the true mean change in lean per year for the Leaning Tower of Pisa H 0 :  = 0 H a :   0

Conditions: 1) The residuals should be normally distributed. The normal probability plot of the residuals is fairly linear, so this condition is met. 2) The y-values at any given x value should be approximately normal and have the same standard deviation. The scatter plot is fairly linear so this condition is met. 3) The sample should be random and independent which we will assume. Since the conditions are met a test for slope is appropriate.

p-value = df = 11 Decision: Since p-value < , I will reject the null hypothesis at the.05 significance level. Conclusion: There is enough evidence to conclude that there is a useful linear relationship between year and lean of the Leaning Tower of Pisa.

The Leaning Tower of Pisa leans more as time passes. Here are measurements of the lean of the tower for the years 1975 to The lean is the distance between where a point on the tower would be if the tower were straight and where it actually is. The distances are tenths of a millimeter in excess of 2.9 meters. For example, the 1975 lean, which was meters, appears in the table as 642 Year Lean Construct a 95% confidence interval for the true slope of the regression line. df = 11 I am 95% confident, the true mean change in lean per year is between and tenths of a millimeter in excess of 2.9 meters per year, based on this regression

The management of a chain of package delivery stores would like to predict the weekly sales (in $1000) for individual stores based on the number of customers. Minitab output is for sample data is below. PredictorCoef Stdev t-ratio p Constant CUSTOMER s = R-sq = 91.2%R-sq (adj) = 90.7% Analysis of Variance Source DF SS MS F P Regression 1SSR Error 18 SSE Total 19 SST The regression equation is a bSE b t df p-value