Chapter 12 Section 1 Inference for Linear Regression.

Slides:



Advertisements
Similar presentations
Chapter 12 Inference for Linear Regression
Advertisements

Objectives 10.1 Simple linear regression
Irwin/McGraw-Hill © Andrew F. Siegel, 1997 and l Chapter 12 l Multiple Regression: Predicting One Factor from Several Others.
Regression Inferential Methods
CHAPTER 24: Inference for Regression
+ The Practice of Statistics, 4 th edition – For AP* STARNES, YATES, MOORE Chapter 14: More About Regression Section 14.1 Inference for Linear Regression.
Chapter 14: Inference for Regression
Objectives (BPS chapter 24)
© 2010 Pearson Prentice Hall. All rights reserved Least Squares Regression Models.
Chapter 10 Simple Regression.
The Simple Regression Model
Welcome to class today! Chapter 12 summary sheet Jimmy Fallon video
Simple Linear Regression Analysis
Introduction to Linear Regression and Correlation Analysis
Inference for regression - Simple linear regression
Chapter 13: Inference in Regression
STA291 Statistical Methods Lecture 27. Inference for Regression.
Copyright © 2013, 2010 and 2007 Pearson Education, Inc. Chapter Inference on the Least-Squares Regression Model and Multiple Regression 14.
Inferences for Regression
BPS - 3rd Ed. Chapter 211 Inference for Regression.
Inference for Linear Regression Conditions for Regression Inference: Suppose we have n observations on an explanatory variable x and a response variable.
Chapter 12: More About Regression
+ Chapter 12: Inference for Regression Inference for Linear Regression.
The Practice of Statistics, 5th Edition Starnes, Tabor, Yates, Moore Bedford Freeman Worth Publishers CHAPTER 10 Comparing Two Populations or Groups 10.2.
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 with Inference Notes: Page 231. Height Weight Suppose you took many samples of the same size from this population & calculated the LSRL for.
12.1: Inference for Linear Regression. Section 12.1 Inference for Linear Regression CHECK conditions for performing inference about the slope β of the.
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.
Lecture 10 Chapter 23. Inference for regression. Objectives (PSLS Chapter 23) Inference for regression (NHST Regression Inference Award)[B level award]
AP STATISTICS LESSON 14 – 1 ( DAY 1 ) INFERENCE ABOUT THE MODEL.
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.
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.
Inference with Regression. Suppose we have n observations on an explanatory variable x and a response variable y. Our goal is to study or predict the.
Learning Objectives After this section, you should be able to: The Practice of Statistics, 5 th Edition1 DESCRIBE the shape, center, and spread of the.
Lesson Testing the Significance of the Least Squares Regression Model.
+ The Practice of Statistics, 4 th edition – For AP* STARNES, YATES, MOORE Chapter 12: More About Regression Section 12.1 Inference for Linear Regression.
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.
BPS - 5th Ed. Chapter 231 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.
+ The Practice of Statistics, 4 th edition – For AP* STARNES, YATES, MOORE Chapter 12: More About Regression Section 12.1 Inference for Linear Regression.
+ The Practice of Statistics, 4 th edition – For AP* STARNES, YATES, MOORE Chapter 12: More About Regression Section 12.1 Inference for Linear Regression.
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.
+ The Practice of Statistics, 4 th edition – For AP* STARNES, YATES, MOORE Chapter 12: More About Regression Section 12.1 Inference for Linear Regression.
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 14: More About Regression
CHAPTER 12 More About Regression
Inference for Regression (Chapter 14) A.P. Stats Review Topic #3
Inferences for Regression
Inference for Regression
CHAPTER 12 More About Regression
CHAPTER 29: Multiple Regression*
CHAPTER 26: Inference for Regression
Chapter 14 Inference for Regression
CHAPTER 10 Comparing Two Populations or Groups
Correlation and Regression
Chapter 12 Review Inference for Regression
CHAPTER 12 More About Regression
CHAPTER 10 Comparing Two Populations or Groups
Chapter 14 Inference for Regression
Inference for Regression
CHAPTER 12 More About Regression
Inferences for Regression
Inference for Regression
Presentation transcript:

Chapter 12 Section 1 Inference for Linear Regression

Students will be able Students will be able to check conditions for performing inference about the slope (beta) for the population (true) regression line. to check conditions for performing inference about the slope (beta) for the population (true) regression line. to interpret computer output from a least-squares regression analysis to interpret computer output from a least-squares regression analysis to construct and interpret a confidence interval for the slope (beta) of the population (true) regression line. to construct and interpret a confidence interval for the slope (beta) of the population (true) regression line. to perform a significance test about the slope (beta) of a population (true) regression line. to perform a significance test about the slope (beta) of a population (true) regression line.

Inference for Linear Regression Observing the scatter plot on pp. 739, the line that is draw out is known as the population regression line due to it using all the observations. Observing the scatter plot on pp. 739, the line that is draw out is known as the population regression line due to it using all the observations. If we take sample size out of the population (still use the equation (y (phat) = a + bx) for the sample regression line. If we take sample size out of the population (still use the equation (y (phat) = a + bx) for the sample regression line. More than likely the slope of the sample will vary on your choice of samples. The pattern of variation in the slope b is described by its sampling distribution. More than likely the slope of the sample will vary on your choice of samples. The pattern of variation in the slope b is described by its sampling distribution.

Sampling Distribution of b Confidence intervals and significance tests about the slope of the population regression line is based upon the sampling distribution of b, the slope of the sample regression line. Confidence intervals and significance tests about the slope of the population regression line is based upon the sampling distribution of b, the slope of the sample regression line.

Sampling Distribution of b Describing the approximate sampling distribution: Describing the approximate sampling distribution: Shape – a strong linear pattern in the graph tells that the approximate sampling distribution is close to Normal. Shape – a strong linear pattern in the graph tells that the approximate sampling distribution is close to Normal. Center – calculate the mean: as long as the mean of the sample is close to the mean of the population, then you are good. Center – calculate the mean: as long as the mean of the sample is close to the mean of the population, then you are good. Spread – calculate the standard deviation: same rules of the center applies Spread – calculate the standard deviation: same rules of the center applies

Conditions for Regression Inference Conditions: Conditions: Linear – the actual relationship between x and y is linear. For any fixed value of x, the mean response (mhew), falls on the population (true) regression line mhew x = alpha + beta x. The slope beta and intercept alpha are usually unknown parameters. Linear – the actual relationship between x and y is linear. For any fixed value of x, the mean response (mhew), falls on the population (true) regression line mhew x = alpha + beta x. The slope beta and intercept alpha are usually unknown parameters. Independent – individual observations are independent of each other (one does not effect the other) Independent – individual observations are independent of each other (one does not effect the other) Normal – for any fixed value of x, the response y varies according to a normal distribution. Normal – for any fixed value of x, the response y varies according to a normal distribution. Equal variance – the standard deviation of y (call it sigma) is the same for all values of x. The common standard deviation sigma is usually an unknown parameter. Equal variance – the standard deviation of y (call it sigma) is the same for all values of x. The common standard deviation sigma is usually an unknown parameter. Random – the data come from a well-designed random sample or randomized experiment. Random – the data come from a well-designed random sample or randomized experiment.

Conditions for Regression Inference Regression model tells us: a linear regression tells us whatever x does it concludes with a predicted y value. Regression model tells us: a linear regression tells us whatever x does it concludes with a predicted y value. **** Remember to always check conditions before doing inference about the regression model. **** Remember to always check conditions before doing inference about the regression model. Take a look at example on pp Take a look at example on pp

Estimating the Parameters When conditions are met, we can proceed to calculating the unknown parameters. When conditions are met, we can proceed to calculating the unknown parameters. If we calculate the least-square regression line, the slope is an unbiased estimator of the true slope and the y intercept is an unbiased estimator of the true y intercept. The remaining parameter is the standard deviation (sigma), which describes the variability of the response y about the population (true) regression line. If we calculate the least-square regression line, the slope is an unbiased estimator of the true slope and the y intercept is an unbiased estimator of the true y intercept. The remaining parameter is the standard deviation (sigma), which describes the variability of the response y about the population (true) regression line. Residuals estimate how much y varies about the population line. The standard deviation of responses about the population regression line, we estimate standard deviation using the formula at the top of page 745 Residuals estimate how much y varies about the population line. The standard deviation of responses about the population regression line, we estimate standard deviation using the formula at the top of page 745

Estimating the Parameters Take a look at example on pp. 745 Take a look at example on pp. 745 It is possible to do inference about any of the three parameters. However, the slope (beta) is usually the most important parameter in a regression problem. So try to stick with that one. It is possible to do inference about any of the three parameters. However, the slope (beta) is usually the most important parameter in a regression problem. So try to stick with that one.

Sampling Distribution of b For spread – since we do not know the standard deviation, then we estimate using the standard deviation of the residuals. Then we estimate the spread of the sampling distribution of b with the standard error of the slope (formula on pp. 746) For spread – since we do not know the standard deviation, then we estimate using the standard deviation of the residuals. Then we estimate the spread of the sampling distribution of b with the standard error of the slope (formula on pp. 746) If we transform to a formula we use (the middle formula on pp. 746) which translates to the last formula (use this one). Now when calculating the degrees of freedom take the “n” value and subtract 2 from it (we use 2 instead of 1 – explanation is deeper and complicating). If we transform to a formula we use (the middle formula on pp. 746) which translates to the last formula (use this one). Now when calculating the degrees of freedom take the “n” value and subtract 2 from it (we use 2 instead of 1 – explanation is deeper and complicating).

Constructing a Confidence Interval for the Slope The slope (beta) is the rate of change of the mean response as the explanatory variable increases. Mhew x = alpha + beta x The slope (beta) is the rate of change of the mean response as the explanatory variable increases. Mhew x = alpha + beta x A confidence interval is more useful than the point estimate because it shows how precise the estimate b is likely to be. A confidence interval is more useful than the point estimate because it shows how precise the estimate b is likely to be. (Statistic) plus/minus (critical value) * (standard deviation) (Statistic) plus/minus (critical value) * (standard deviation) B plus/minus t * Se b B plus/minus t * Se b Take a look at yellow box on pp. 747 and example on pp Take a look at yellow box on pp. 747 and example on pp

Performing a Significance Test for the Slope Null hypothesis has the general form H 0 : beta = hypothesized value. Null hypothesis has the general form H 0 : beta = hypothesized value. To do the test: To do the test: Test statistic = (statistic – parameter) / (standard deviation of statistic) Test statistic = (statistic – parameter) / (standard deviation of statistic) T = b – beta 0 / Se b T = b – beta 0 / Se b To find p-value, use t distribution with n – 2 To find p-value, use t distribution with n – 2 Take a look at yellow box on pp. 751 Take a look at yellow box on pp. 751 Take a look at the remainder of the examples in this section for clarification Take a look at the remainder of the examples in this section for clarification