bfa74e8105fe2ad2cef25782fc79823c.ppt

- Количество слайдов: 27

Introduction to Regression (Dr. Monticino)

Assignment Sheet Math 1680 q Read Chapter 9 and 10 q Assignment # 7 (Due March 2) Ø Chapter 9 • Exercise Set A: 2, 6, 7, 8; Exercise Set B: 3, 4 • Exercise Set C: 1, 2; Exercise Set E: 3, 4, 5 Ø Chapter 10 • Exercise Set A: 1, 2, 4, 5; Exercise Set B: 3 • Exercise Set C: 1; Exercise Set D: 1, 2 • Exercise Set E: 1, 2 q Test on March 2 on Chapters 1 -5, 8, 9, 10. Ø Emphasis on problems, concepts covered in class and on quizzes

Regression q Regression is used to express how the independent variable(s) is (are) related to the dependent variable Ø Ø And, to make predictions about the value of the dependent variable based on knowledge of the value of the independent variable In particular, regression is used to build a linear model to describe the relationship between the independent and dependent variable

Regression FE score = a + b*(MT score)

Regression Line q. The regression line is to a scatter diagram as the average is to a list. q. The regression line for y on x estimates the average value of y corresponding to each value of x

Linear Regression Model q. Again, the regression line provides a linear model for predicting the value of the dependent variable given the value of the independent variable Ø Ø If there was no correlation between the variables then a reasonable guess for the value of the dependent variable would be the Ave(Y) If there was very strong correlation between the variables, say correlation 1, then given a value X = Ave(X) + k*SD(X), then one should guess Y = Ave(Y) + k*SD(Y)…see next slide for details

Linear Regression Model Equation of the Regression Line: (Notice its relationship to the SD Line)

Origins of Regression Line q. Regression line is the smoothed version of the graph of averages

Graph of Averages

SD and Regression Lines qr =. 99 Yellow – Regression Line Purple – SD Line

SD and Regression Lines qr =. 89 Yellow – Regression Line Purple – SD Line

SD and Regression Lines qr =. 75 Yellow – Regression Line Purple – SD Line

SD and Regression Lines qr =. 54 Yellow – Regression Line Purple – SD Line

SD and Regression Lines qr =. 12 Yellow – Regression Line Purple – SD Line

Regression Example q A Denton consumer welfare group investigated the relationship between the size of houses and the rents paid by tenants. The group collected the following information on the sizes (square feet) of six houses and monthly rents (in dollars) paid by tenant

Regression Example q. Draw a scatter plot q. Find the correlation coefficient between the size of house and the rent paid q. Give the equation for the SD line Ø Graph the SD line q. Find the equation for the regression line Ø Graph the regression line

Regression Example q. Use the regression line model to predict the rent for a 1400 sq. ft. house Ø Suppose that you do not know the square footage of the home, how much would you expect to pay for rent?

Scatter Plot

Regression Example Avg(X) = 1266. 67 SD of X = 188. 56 Avg(Y) = 911. 67 SD of Y = 114. 81

SD Line q. SD line passes through the point (x-average, y-average) and has slope (+/ - ) (SD of y)/(SD of x)

SD Line

Regression Line

Regression Line

Prediction q Rent for a 1400 sq. ft. house q Suppose that do not know the square footage of the home, how much would you expect to pay for rent?

Regression Tidbits q. Regression effect q. Regression fallacy q Two Regression lines

Two Regression Lines q Often there are not clear “cause” and “effect” variables Ø Ø In such cases, it may be just as reasonable to regress either variable with respect to the other However, need to be clear which variable is being considered the dependent variable (the value being predicted) and which variable is being considered the independent variable in the regression application

Two Regression Lines q Example Ø Ø Ø Suppose the correlation between husband’s and wife’s IQs is. 6. The average husband IQ is 100 with an SD of 10, the average wife IQ is 105 with an SD of 8 Given a husband with an IQ of 110, use regression to estimate his wife’s IQ Given a wife with an IQ of 100, use regression to estimate her husband’s IQ (Dr. Monticino) Ø Ø Chapter 9 Review exercises: 2, 3, 5, 8 Chapter 10 Review Exercises: 1, 2, 3, 5, 7