Inference for Regression Section 14.1.1. Starter 14.1.1 The Goodwill second-hand stores did a survey of their customers in Walnut Creek and Oakland. Among.

Slides:



Advertisements
Similar presentations
Inference for Regression: Inference About the Model Section 14.1.
Advertisements

Chapter 12 Inference for Linear Regression
Lesson 10: Linear Regression and Correlation
Section 10-3 Regression.
Forecasting Using the Simple Linear Regression Model and Correlation
AP Statistics.  Least Squares regression is a way of finding a line that summarizes the relationship between two variables.
Regression Inferential Methods
Probabilistic & Statistical Techniques Eng. Tamer Eshtawi First Semester Eng. Tamer Eshtawi First Semester
Correlation and Regression
The Coefficient of Determination: r 2 Section
Objectives (BPS chapter 24)
Chapter Topics Types of Regression Models
© 2000 Prentice-Hall, Inc. Chap Forecasting Using the Simple Linear Regression Model and Correlation.
Chapter 12 Section 1 Inference for Linear Regression.
1 Chapter 10 Correlation and Regression We deal with two variables, x and y. Main goal: Investigate how x and y are related, or correlated; how much they.
Correlation & Regression
Introduction to Linear Regression and Correlation Analysis
Inference for regression - Simple linear regression
BPS - 3rd Ed. Chapter 211 Inference for Regression.
Chapter 3 concepts/objectives Define and describe density curves Measure position using percentiles Measure position using z-scores Describe Normal distributions.
+ 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
3.2 Least Squares Regression Line. Regression Line Describes how a response variable changes as an explanatory variable changes Formula sheet: Calculator.
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.
Review Lecture 51 Tue, Dec 13, Chapter 1 Sections 1.1 – 1.4. Sections 1.1 – 1.4. Be familiar with the language and principles of hypothesis testing.
AP STATISTICS LESSON 14 – 1 ( DAY 1 ) INFERENCE ABOUT THE MODEL.
Chapter 3-Examining Relationships Scatterplots and Correlation Least-squares Regression.
Residuals and Residual Plots Section Starter A study showed that the correlation between GPA and hours of study per week was r =.6 –Which.
Chapter 14: Inference for Regression. A brief review of chapter 4... (Regression Analysis: Exploring Association BetweenVariables )  Bi-variate data.
AP Statistics Section 15 A. The Regression Model When a scatterplot shows a linear relationship between a quantitative explanatory variable x and a quantitative.
BUSINESS MATHEMATICS & STATISTICS. Module 6 Correlation ( Lecture 28-29) Line Fitting ( Lectures 30-31) Time Series and Exponential Smoothing ( Lectures.
BPS - 5th Ed. Chapter 231 Inference for Regression.
1 Objective Given two linearly correlated variables (x and y), find the linear function (equation) that best describes the trend. Section 10.3 Regression.
CHAPTER 3 Describing Relationships
Lecture #26 Thursday, November 17, 2016 Textbook: 14.1 and 14.3
Regression.
Sections Review.
Statistics 101 Chapter 3 Section 3.
AP Statistics Chapter 14 Section 1.
Inference for Regression
Chapter 5 LSRL.
Regression.
Chapter 3.2 LSRL.
Simple Linear Regression - Introduction
CHAPTER 29: Multiple Regression*
CHAPTER 26: Inference for Regression
AP Stats: 3.3 Least-Squares Regression Line
Chapter 12 Regression.
Chapter 10 Correlation and Regression
No notecard for this quiz!!
Regression.
Regression.
CHAPTER 3 Describing Relationships
Regression.
Chapter 14 Inference for Regression
Regression Chapter 8.
Regression.
Basic Practice of Statistics - 3rd Edition Inference for Regression
CHAPTER 12 More About Regression
Regression.
Chapter 14 Inference for Regression
A medical researcher wishes to determine how the dosage (in mg) of a drug affects the heart rate of the patient. Find the correlation coefficient & interpret.
Inference for Regression
Created by Erin Hodgess, Houston, Texas
Presentation transcript:

Inference for Regression Section

Starter The Goodwill second-hand stores did a survey of their customers in Walnut Creek and Oakland. Among other things, they noted the sex of each respondent. Here is the breakdown: Is there a significant difference between the proportion of women customers in the two stores? 1.Treat this as a two-sample proportion problem –Find the z statistic and p value; draw a conclusion 2.Do a chi-square test –Find X² and the p value; draw a conclusion –How does X² relate to z? MenWomen W.C Oakland68150

Today’s Objective The students will find estimates for the three unknown population parameters in a linear regression model: True intercept α True slope  True standard deviation σ California Standards 12.0 Students find the line of best fit to a given distribution of data by using least squares regression Students know what the correlation coefficient of two variables means and are familiar with the coefficient's properties.

Linear Regression Revisited Recall that we describe the association between two numeric variables in terms of three expressions –Shape –Strength –Direction To make that description, we perform several steps: –Draw a scatterplot of the data –Look for outliers or influential observations Discard if justifiable –Find the equation of the Least Squares Regression Line (LSRL) –Calculate r, a measure of how well the LSRL fits the data r² is the proportion of y variation due to the linear relationship

Example Let’s re-do the Sanchez household gas consumption problem from Chapter 3 Recall that the explanatory variable was “degree-days” and the response variable was consumption of gas in hundreds of cubic feet –We called those lists L GASDA and L GASFT Copy the lists into L 1 and L 2 –Link up to get those lists if you do not still have them in your TI (or enter from p. 754)

Example Continued Draw the scatterplot on your TI –Are there any points that should be removed? Perform Linear Regression and add the graph of the equation found to the scatterplot Draw a sketch of the scatterplot and line –Write the regression equation and the value of r² below the sketch

The Regression Model Several assumptions are made in regression inference: 1.We assume that the response variable y varies as a linear function of the explanatory variable x. 2.For any given x, the response variable y varies normally about the regression line. –Repeated responses are independent of each other 3.The mean of these responses is µ y –µ y = α +  x –α and  are unknown parameters we want to estimate 4.The standard deviation of y is σ –σ is the other unknown parameter we want to estimate –We assume σ is constant throughout the range of x values

Estimating α, , and σ The LSRL gives us a and b directly –a is an unbiased estimator of α –b is an unbiased estimator of  To estimate σ, we will use Standard Error:

Calculating the sum of resid² Recall that a residual is the difference between the observed and predicted y values –resid = y – y-hat So the first (of 16) residuals for Sanchez is 6.3 – [ (.1890)(24)] =.6748 Or do all 16 at once in lists: L 2 – Y 1 (L 1 )  L 3 Easier: Store L RESID in L 3 Then 1-Var Stats (L 3 ) gives Σx²

Example Concluded Find Σx² for the Sanchez data –You should have found Now apply the formula to find s –You should have found So we now have estimates for the parameters –Estimate α with a = –Estimate  with b = –Estimate σ with s =

Today’s Objective The students will find estimates for the three population parameters in a linear regression model: True slope  True intercept α True standard deviation σ California Standards 12.0 Students find the line of best fit to a given distribution of data by using least squares regression Students know what the correlation coefficient of two variables means and are familiar with the coefficient's properties.

Homework Read pages 752 – 760 Do problems 1 - 3