Lesson 15 - 1 Inference for Regression. Knowledge Objectives Identify the conditions necessary to do inference for regression. Explain what is meant by.

Slides:



Advertisements
Similar presentations
Chapter 12 Inference for Linear Regression
Advertisements

Eight backpackers were asked their age (in years) and the number of days they backpacked on their last backpacking trip. Is there a linear relationship.
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.
Objectives (BPS chapter 24)
Inference for Regression 1Section 13.3, Page 284.
© 2010 Pearson Prentice Hall. All rights reserved Least Squares Regression Models.
Chapter 10 Simple Regression.
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
Copyright © 2013, 2010 and 2007 Pearson Education, Inc. Chapter Inference on the Least-Squares Regression Model and Multiple Regression 14.
Inference for Regression Find your notes from last week, Put # of beers in L1 and BAC in L2, then find LinReg(ax+b)
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
Inference for Linear Regression Conditions for Regression Inference: Suppose we have n observations on an explanatory variable x and a response variable.
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.
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.
Lesson Multiple Regression Models. Objectives Obtain the correlation matrix Use technology to find a multiple regression equation Interpret the.
+ Chapter 12: More About Regression Section 12.1 Inference for Linear Regression.
STA 286 week 131 Inference for the Regression Coefficient Recall, b 0 and b 1 are the estimates of the slope β 1 and intercept β 0 of population regression.
Lesson Comparing Two Means. Knowledge Objectives Describe the three conditions necessary for doing inference involving two population means. Clarify.
Lecture 10 Chapter 23. Inference for regression. Objectives (PSLS Chapter 23) Inference for regression (NHST Regression Inference Award)[B level award]
HAWKES LEARNING SYSTEMS Students Matter. Success Counts. Copyright © 2013 by Hawkes Learning Systems/Quant Systems, Inc. All rights reserved. Section 12.3.
AP STATISTICS LESSON 14 – 1 ( DAY 1 ) INFERENCE ABOUT THE MODEL.
Applied Quantitative Analysis and Practices LECTURE#25 By Dr. Osman Sadiq Paracha.
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.
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.
Lesson 14 - R Chapter 14 Review. Objectives Summarize the chapter Define the vocabulary used Complete all objectives Successfully answer any of the review.
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.
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.
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
CHAPTER 12 More About Regression
Inference for Regression (Chapter 14) A.P. Stats Review Topic #3
Inference about Two Means - Independent Samples
Inference for Regression
CHAPTER 12 More About Regression
Review of Chapter 10 Confidence Intervals
The Practice of Statistics in the Life Sciences Fourth Edition
CHAPTER 29: Multiple Regression*
CHAPTER 26: Inference for Regression
Lesson Comparing Two Means.
Chapter 14 Inference for Regression
Chapter 12 Review Inference for Regression
Click the mouse button or press the Space Bar to display the answers.
Basic Practice of Statistics - 3rd Edition Inference for Regression
CHAPTER 12 More About Regression
Chapter 14 Inference for Regression
Inference for Regression
CHAPTER 12 More About Regression
Inference for Regression
Confidence and Prediction Intervals
Presentation transcript:

Lesson Inference for Regression

Knowledge Objectives Identify the conditions necessary to do inference for regression. Explain what is meant by the standard error about the least-squares line.

Construction Objectives Given a set of data, check that the conditions for doing inference for regression are present. Compute a confidence interval for the slope of the regression line. Conduct a test of the hypothesis that the slope of the regression line is 0 (or that the correlation is 0) in the population.

Vocabulary Statistical Inference – tests to see if the relationship is statistically significant

Conditions for Regression Inference Repeated responses y are independent of each other The mean response, μ y, has a straight-line relationship with x: μ y = α + βx where the slope β and intercept α are unknown parameters The standard deviation of y (call it σ) is the same for all values of x. The value of σ is unknown. For any fixed value of x, the response variable y varies according to a Normal distribution

Sampling Distribution Concepts Remember from our sampling distribution lesson how repeated samplings of the mean will be Normally distributed (n > 30, CLT applies)

Checking Regression Conditions Observations are independent –No repeated observations on the same individual The true relationship is linear –Scatter plot the data to check this –Remember the transformations to make non-linear data linear Response standard deviation is the same everywhere –Check the scatter plot to see if this is violated Response varies Normally about the true regression line –To check this, we look at the residuals (since they must be Normally distributed as well) either with a box plot or normality plot –These procedures are robust, so slight departures from Normality will not affect the inference

Estimating the Parameters We need to estimate parameters for μ y = α + βx and σ From the least square regression line: y-hat = a + bx we get unbiased estimators a (for α) and b (for β) We use n – 2 because we used a and b as estimators

Confidence Interval on β Remember our form: Point Estimate ± Margin of Error Since β is the true slope, then b is the point estimate The Margin of Error takes the form of t*  SE b

Confidence Intervals in Practice We use rarely have to calculate this by hand Output from Minitab: Parameters: b (1.4929), a (91.3), s (17.50) CI = PE ± MOE = ± (2.042)(0.4870) = ± [0.4985, ] t* = from n – 2, 95% CL Since 0 is not in the interval, then we might conclude that β ≠ 0

Inference Tests on β Since the null hypothesis can not be proved, our hypotheses for tests on the regression slope will be: H 0 : β = 0 (no correlation between x and y) H a : β ≠ 0 (some linear correlation) Testing correlation makes sense only if the observations are a random sample. –This is often not the case in regression settings, where researchers often fix in advance the values of x being tested

Test Statistic

Beer vs BAC Example 16 student volunteers at Ohio State drank a randomly assigned number of cans of beer. Thirty minutes later, a police officer measured their BAC. Here are the data: Enter the data into your calculator. a)Draw a scatter plot of the data and the regression line b)Conduct an inference test on the effect of beers on BAC Student Beers BAC Student Beers BAC LinReg(a + bx) L1, L2, Y1

Scatter plot and Regression Line Interpret the scatter plot DFSOCDFSOC

Output from Minitab Could we have used this instead of output from our calculator?

Using the TI for Inference Test on β Enter explanatory data into L1 Enter response data into L2 Stat  Tests  E:LinRegTTest Xlist: L1 Ylist: L2 (Test type) β & ρ: ≠ 0 0 RegEq: (leave blank) Test will take two screens to output the data Inference: t-statistic, degrees of freedom and p-value Regression: a, b, s, r², and r

TI Output from page 907 y = a + bx β ≠ 0 and ρ ≠ 0 t = p = df = 36 a = b = s = r 2 = r = Minitab Output

Interpreting Computer Output In the following examples of computer output from commonly used statistical packages: Find the a and b values for the regression eqn Find r and r 2 Find SE b, t-value and p-value (if available) We can use these outputs to finish an inference test on the association of our explanatory and response variables.

Sample from Excel prob 15.10

Sample from CrunchIt prob 15.20

Summary and Homework Summary –Inference Conditions Needed: 1) Observations independent 2) True relationship is linear 3) σ is constant 4) Responses Normally distributed about the line –Confidence Intervals on β can be done –Inference testing on β use the t statistic = b/SE b Homework –Pg 914 – 918: ,