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

Inference for Regression: Inference About the Model Section 14.1.
Linear regression T-test Your last test !!. How good does this line fit the data?  What are some things that determine how good the line fits the.
AP Statistics Section 15 C
Chapter 12 Inference for Linear Regression
Copyright © 2010 Pearson Education, Inc. Slide
Inference for Regression Slope
Inference for Regression
Regression Inferential Methods
Objectives (BPS chapter 24)
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
Inference for Regression Find your notes from last week, Put # of beers in L1 and BAC in L2, then find LinReg(ax+b)
Inferences for Regression
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.
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
A.P. STATISTICS LESSON 14 – 2 ( DAY 2) PREDICTIONS AND CONDITIONS.
+ 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.
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.
AP Statistics Chapter 15 Notes. Inference for a Regression Line Goal: To determine if there is a relationship between two quantitative variables. Goal:
Inference for Regression Simple Linear Regression IPS Chapter 10.1 © 2009 W.H. Freeman and Company.
AP Statistics Chapter 15 Notes. Inference for a Regression Line Goal: To determine if there is a relationship between two quantitative variables. –i.e.
Inference for Regression Chapter 14. Linear Regression We can use least squares regression to estimate the linear relationship between two quantitative.
Lecture 10 Chapter 23. Inference for regression. Objectives (PSLS Chapter 23) Inference for regression (NHST Regression Inference Award)[B level award]
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?
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 Third Edition Chapter 15: Inference for Regression Copyright © 2008 by W. H. Freeman & Company.
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.
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.
We will use the 2012 AP Grade Conversion Chart for Saturday’s Mock Exam.
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 12 More About Regression
Inference for Regression (Chapter 14) A.P. Stats Review Topic #3
Regression.
AP Statistics Chapter 14 Section 1.
Inferences for Regression
Inference for Regression
CHAPTER 12 More About Regression
Regression.
The Practice of Statistics in the Life Sciences Fourth Edition
CHAPTER 29: Multiple Regression*
CHAPTER 26: Inference for Regression
Chapter 12 Regression.
Regression.
Regression.
Regression.
Chapter 14 Inference for Regression
Regression Chapter 8.
Regression.
Chapter 12 Review Inference for Regression
Basic Practice of Statistics - 3rd Edition Inference for Regression
CHAPTER 12 More About Regression
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
Inference for Regression Slope
CHAPTER 12 More About Regression
Inferences for Regression
Inference for Regression
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 with me pg 770 Look with me pg 770 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

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 How well does the number of beers a student drinks predict his or her blood alcohol level? Sixteen student volunteers at Ohio State University drank a randomly assigned number of cans of beer. Thirty minutes later, a police officer measured their blood alcohol content (BAC). How well does the number of beers a student drinks predict his or her blood alcohol level? Sixteen student volunteers at Ohio State University drank a randomly assigned number of cans of beer. Thirty minutes later, a police officer measured their blood alcohol content (BAC).

The Data Student Beers BAC Student Beers BAC

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

Homework: Homework: Read Chapter 12. Do questions #9, 10, 14, 18, MC (explain) Read Chapter 12. Do questions #9, 10, 14, 18, MC (explain)

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