Chapter 12 Inference for Linear Regression. Reminder of Linear Regression First thing you should do is examine your data… First thing you should do is.

Slides:



Advertisements
Similar presentations
Linear regression T-test
Advertisements

Chapter 12 Inference for Linear Regression
Inference for Regression
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
Chapter 12: More About Regression
Objectives (BPS chapter 24)
Fall 2006 – Fundamentals of Business Statistics 1 Chapter 13 Introduction to Linear Regression and Correlation Analysis.
Linear Regression and Correlation Analysis
Simple Linear Regression Analysis
Welcome to class today! Chapter 12 summary sheet Jimmy Fallon video
Chapter 12 Section 1 Inference for Linear Regression.
Inference for regression - Simple linear regression
Chapter 13: Inference in Regression
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.
BPS - 3rd Ed. Chapter 211 Inference for Regression.
1. Enter the marginal totals.
Chapter 15 Inference for Regression
Ch 15 – Inference for Regression. Example #1: The following data are pulse rates and heights for a group of 10 female statistics students. Height
AP Statistics Section 15 A. The Regression Model When a scatterplot shows a linear relationship between a quantitative explanatory variable x and a quantitative.
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.
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.
Chapter 12 More About Regression Let’s look at the Warm-Up first to remind ourselves what we did with regression! Remember FODS!
AP STATISTICS LESSON 14 – 1 ( DAY 1 ) INFERENCE ABOUT THE MODEL.
Chapter 14: Inference for Regression. A brief review of chapter 4... (Regression Analysis: Exploring Association BetweenVariables )  Bi-variate data.
I NFERENCE F OR R EGRESSION Is a child’s IQ linked to their crying as an infant?
Chapter 12 Inference for Linear Regression. Reminder of Linear Regression First thing you should do is examine your data… First thing you should do is.
I NFERENCE F OR R EGRESSION Is a child’s IQ linked to their crying as an infant?
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.
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.
AP Statistics Section 15 A. The Regression Model When a scatterplot shows a linear relationship between a quantitative explanatory variable x and a quantitative.
+ 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 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.
We will use the 2012 AP Grade Conversion Chart for Saturday’s Mock Exam.
+ The Practice of Statistics, 4 th edition – For AP* STARNES, YATES, MOORE Chapter 12: More About Regression Section 12.1 Inference for Linear Regression.
Inference for Linear Regression
Chapter 14: More About Regression
CHAPTER 12 More About Regression
CHAPTER 12 More About Regression
Inference for Regression (Chapter 14) A.P. Stats Review Topic #3
Regression Inferential Methods
Inferences for Regression
Inference for Regression
CHAPTER 12 More About Regression
Regression.
CHAPTER 26: Inference for Regression
Chapter 12: More About Regression
Regression Chapter 8.
Basic Practice of Statistics - 3rd Edition Inference for Regression
CHAPTER 12 More About Regression
Chapter 14 Inference for Regression
Day 68 Agenda: 30 minute workday on Hypothesis Test --- you have 9 worksheets to use as practice Begin Ch 15 (last topic)
Inference for Regression
CHAPTER 12 More About Regression
Inference for Regression
Regression inference.
Presentation transcript:

Chapter 12 Inference for Linear Regression

Reminder of Linear Regression First thing you should do is examine your data… First thing you should do is examine your data… Look at your scatterplot. Does it appear linear? Are there outliers? What direction is it going in? Is there a strong relationship? Look at your scatterplot. Does it appear linear? Are there outliers? What direction is it going in? Is there a strong relationship? LSR: y-hat = a + bx LSR: y-hat = a + bx a = y-intercept; b= slope a = y-intercept; b= slope Slope is the rate of change in y for every one x. Slope is the rate of change in y for every one x.

Statistics versus parameters a and b are statistics (estimates of y-intercept and slope). a and b are statistics (estimates of y-intercept and slope). α and β are unknown parameters α and β are unknown parameters a is an unbiased estimator of α and b is an unbiased estimator of β a is an unbiased estimator of α and b is an unbiased estimator of β

We are interested in β We are going to look at inference for β (slope). We are going to look at inference for β (slope). Confidence Intervals and Hypothesis tests. Confidence Intervals and Hypothesis tests.

Confidence Intervals These will be t-tests These will be t-tests What is the basic formula for confidence intervals? What is the basic formula for confidence intervals? Estimate +/- margin of error Estimate +/- margin of error Estimate +/- t-statistic*Standard Error Estimate +/- t-statistic*Standard Error For inference for the true mean slope (β) For inference for the true mean slope (β) b +/- t*(SE) b +/- t*(SE)

Standard Error and DF You will either be given this information or you can get your calculator to give it to you! You will either be given this information or you can get your calculator to give it to you! Degrees of freedom = n – 2 Degrees of freedom = n – 2 Why? Why?

Computer Output Look on page 745 with me! Look on page 745 with me! Remember, under coefficient… Remember, under coefficient… Constant = y-intercept Constant = y-intercept Variable definition = slope Variable definition = slope Standard error is the second row under STDev Standard error is the second row under STDev

Example The local utility company surveys 101 randomly selected customers. For each survey participant, the company collects the following: annual electric bill (in dollars) and home size (in square feet). Output from a regression analysis appears on the next slide The local utility company surveys 101 randomly selected customers. For each survey participant, the company collects the following: annual electric bill (in dollars) and home size (in square feet). Output from a regression analysis appears on the next slide

Example Find and interpret the slope and y-intercept in this situation. Find and interpret the slope and y-intercept in this situation. Construct a 95% confidence interval for the slope. Construct a 95% confidence interval for the slope.

The sentence Your answer for the context in your sentence… the true slope of the population regression line relating (insert context). Your answer for the context in your sentence… the true slope of the population regression line relating (insert context).

Hypothesis Tests Generally, Generally, H 0 : β = 0 H 0 : β = 0 This says that the true slope is zero, which means there is no change in y. This can be different if the context of the problem would mean that no change is not zero… This says that the true slope is zero, which means there is no change in y. This can be different if the context of the problem would mean that no change is not zero…

Calculator! Put your data in List 1 and List 2 Put your data in List 1 and List 2 In your calculator, you go to LinRegTTest under Stat, Test In your calculator, you go to LinRegTTest under Stat, Test

Example Infants who cry easily may be more easily stimulated than others. This may be a sign of higher IQ. Child development researchers explored the relationship between crying of infants 4 to 10 days old and their later IQ scores. A snap of a rubber band on the sole of the foot caused the infants to cry. The researchers recorded the crying and measured its intensity by the number of peaks in the most active 20 seconds. They later measured the children’s IQ at age three years using the Stanford-Binet IQ test. Infants who cry easily may be more easily stimulated than others. This may be a sign of higher IQ. Child development researchers explored the relationship between crying of infants 4 to 10 days old and their later IQ scores. A snap of a rubber band on the sole of the foot caused the infants to cry. The researchers recorded the crying and measured its intensity by the number of peaks in the most active 20 seconds. They later measured the children’s IQ at age three years using the Stanford-Binet IQ test.

Crying IQ The Data Crying IQ Crying IQ Crying IQ Crying3122 IQ135157

Conditions Observations are independent Observations are independent You don’t observe the same person multiple times You don’t observe the same person multiple times The true relationship is linear The true relationship is linear Check residual plot for scatter. Look at scatter plot. Check residual plot for scatter. Look at scatter plot.

Conditions Continued The spread is uniform The spread is uniform The residual plot does not have a cone like appearance. The residual plot does not have a cone like appearance. The residuals have a normal distribution. The residuals have a normal distribution. Graph residuals Graph residuals

Residuals Since almost all the conditions deal with residuals, we should probably review Since almost all the conditions deal with residuals, we should probably review Residual = observed – predicted Residual = observed – predicted y – (y-hat) y – (y-hat) In you calculator: Define L3 as L2 – Y1(L1) In you calculator: Define L3 as L2 – Y1(L1) You can look at a scatter plot of L1 vs. L3 to see residual plot. You can look at a scatter plot of L1 vs. L3 to see residual plot. To determine normality, look at a histogram of L3 To determine normality, look at a histogram of L3

Example of Ohio State University Check your conditions for the previous problem. Check your conditions for the previous problem. Let’s finish the problem now. Let’s finish the problem now.

Example of when H 0 is not β = 0

You have now finished all of your AP Statistics Course work!!!!!!!