Presentation is loading. Please wait.

Presentation is loading. Please wait.

 Find the Least Squares Regression Line and interpret its slope, y-intercept, and the coefficients of correlation and determination  Justify the regression.

Similar presentations


Presentation on theme: " Find the Least Squares Regression Line and interpret its slope, y-intercept, and the coefficients of correlation and determination  Justify the regression."— Presentation transcript:

1  Find the Least Squares Regression Line and interpret its slope, y-intercept, and the coefficients of correlation and determination  Justify the regression model using the scatterplot and residual plot AP Statistics Objectives Ch8

2  Model  Residuals  Slope  Regression to the mean  Intercept R2R2 Vocabulary  Linear model  Predicted value  Regression line

3 Residual Plot Vocabulary Chapter 7 Answers Linear Regression Practice Regression Line Notes Chapter 8 Assignments Chp 8 Part I Day 2 Example Lurking Variable

4 Lurking Variable

5 Chapter 8 #1 r a)1022030.5 b)20.067.21.2-0.4 c)126-0.8 d)2.512100

6 Chapter 8 #1 r a)1022030.5 b)20.067.21.2-0.4 c)126-0.8 d)2.512100

7 Chapter 8 #1 r a)1022030.5 b)20.067.21.2-0.4 c)126-0.8 d)2.512100

8 Chapter 8 #1 r a)1022030.5 b)20.067.21.2-0.4 c)126-0.8 d)2.51.2100

9 Standardized Foot Length vs Height 2011 NOTE: (0,0) represents the mean of x and the mean of y. Slope is the correlation

10

11

12 Explanatory or Response Now interpret the R 2. R 2 =.697 According to the linear model, 69.7% of the variability in height is accounted for by variation in foot size.

13 Explanatory or Response

14

15 Residual Plot Example

16 REMEMBER: POSITIVE RESIDUALS are UNDERESTIMATES

17 Residual Plot Example NEGATIVE RESIDUALS are OVERESTIMATES

18 Assignment CHAPTER 8 Part I: pp. 189-190 #2,4,8&10,12&14 Part II: pp. 190-192 #16,18,20,28&30

19 Chapter 7 Answers a)#1 shows little or no association b)#4 shows a negative association c)#2 & #4 each show a linear association d)#3 shows a moderately strong, curved association e)#2 shows a very strong association

20 Chapter 7 Answers a)-0.977 b)0.736 c)0.951 d)-0.021

21 Chapter 7 Answers The researcher should have plotted the data first. A strong, curved relationship may have a very low correlation. In fact, correlation is only a useful measure of the strength of a linear relationship.

22 Chapter 7 Answers If the association between GDP and infant mortality is linear, a correlation of -0.772 shows a moderate, negative association.

23 Chapter 7 Answers Continent is a categorical variable. Correlation measures the strength of linear associations between quantitative variables.

24 Chapter 7 Answers Correlation must be between -1 and 1, inclusive. Correlation can never be 1.22.

25 Chapter 7 Answers A correlation, no matter how strong, cannot prove a cause-and-effect relationship.

26 Chapter 8 Vocabulary 1) Regression to the mean – each predicted response variable (y) tends to be closer to the mean (in standard deviations) than its corresponding explanatory variable (x)

27 Chapter 8 Vocabulary 3) Residual – the difference between the actual response value and the predicted response value 4) Overestimate – produces a negative residual 5) Underestimate – produces a positive residual

28 Chapter 8 Vocabulary 6) Slope – rate of change given in units of the response variable (y) per unit of the explanatory variable (x) 7) intercept – response value when the explanatory value is zero 8) R 2 – Must also be interpreted when describing a regression model (aka Coefficient of Determination)

29 Chapter 8 Vocabulary 8) R 2 – Must also be interpreted when describing a regression model “According to the linear model, _____% of the variability in _______ (response variable) is accounted for by variation in ________ (explanatory variable)” The remaining variation is due to the residuals

30 Chapter 8 Vocabulary CONDITIONS FOR USING A LINEAR REGRESSION 1)Quantitative Variables – Check the variables 2)Straight Enough – Check the scatterplot 1 st (should be nearly linear) - Check the residual plot next (should be random scatter) 3) Outlier Condition- - Any outliers need to be investigated

31 Chapter 8 Vocabulary If you find a pattern in the Residual Plot, that means the residuals (errors) are predictable. If the residuals are predictable, then a better model exists. ---- LINEAR MODEL IS NOT APPROPRIATE.

32 Chapter 8 Vocabulary If you find a pattern in the Residual Plot, that means the residuals (errors) are predictable. If the residuals are predictable, then a better model exists. ---- LINEAR MODEL IS NOT APPROPRIATE.

33 Did you say 2?Wrong. Try again. So what?

34 Important Note: The correlation is not given directly in this software package. You need to look in two places for it. Taking the square root of the “R squared” (coefficient of determination) is not enough. You must look at the sign of the slope too. Positive slope is a positive r-value. Negative slope is a negative r-value.

35 So here you should note that the slope is positive. The correlation will be positive too. Since R 2 is 0.482, r will be +0.694.

36 So here you should note that the slope is negative. The correlation will be negative too. Since R 2 is 0.482, r will be -0.694. S/F Ratio Grad Rate -0.07861

37 Coefficient of Determination = (0.694) 2 =0.4816

38 With the linear regression model, 48.2% of the variability in airline fares is accounted for by the variation in distance of the flight.

39 There is an increase of 7.86 cents for every additional mile. There is an increase of $7.86 for every additional 100 miles.

40 There is an increase of 7.86 cents for every additional mile. There is an increase of $7.86 for every additional 100 miles.

41 The model predicts a flight of zero miles will cost $177.23. The airline may have built in an initial cost to pay for some of its expenses.

42

43

44

45 8. Using those estimates, draw the line on the scatterplot.

46

47 12. In general, a positive residual means 13. In general, a negative residual means

48 A linear model should be appropriate, because 1) the scatterplot shows a nearly linear form and 2) the residual plot shows random scatter.

49 The coefficient of determination is.482, so

50 $150 for a flight of about 700 miles seems low compared to the other fares.

51 “fare” is the response variable. Not all software will call it the dependent variable. Always look for “Constant” and what is listed beside it. Here above it shows the column is for the “variable” and below “dist” is the explanatory variable.

52 Recall: For y = 3x + 1 the coefficient of x is ‘3’. For computer printouts this is the key column for your regression model.

53 Recall: For y = 3x + 1 the coefficient of x is ‘3’. For computer printouts this is the key column for your regression model. The “Coefficient” of the “Constant” is the y-intercept for your linear regression.

54 Recall: For y = 3x + 1 the coefficient of x is ‘3’. For computer printouts this is the key column for your regression model. The “Coefficient” of the “Constant” is the y-intercept for your linear regression. The “Coefficient” of the variable “dist” is the slope for your linear regression.

55 Recall: For y = 3x + 1 the coefficient of x is ‘3’. For computer printouts this is the key column for your regression model. The “Coefficient” of the “Constant” is the y-intercept for the linear regression. The “Coefficient” of the variable “dist” is the slope for the linear regression.

56 5. Predict the airfare for a 1000-mile flight.

57

58 R 2 doesn’t change, but the equation does.

59 = 924.2 miles

60 8. Residual?

61 Chp 8 #17 R squared = 92.4% 17a. What is the correlation between tar and nicotine? (NOTE: scatterplot shows a strong positive linear association.)

62 Chp 8 #17 R squared = 92.4% 17b. What would you predict about the average nicotine content of cigarettes that are 2 standard deviations below average in tar content. = -1.922 I would predict that the nicotine content would be 1.922 standard deviations below the average.

63 Chp 8 #17 R squared = 92.4% 17c. If a cigarette is 1 standard deviation above average in nicotine content, what do you suspect is true about its tar content? = 0.961 I would predict that the tar content would be 0.961 standard deviations above the average.


Download ppt " Find the Least Squares Regression Line and interpret its slope, y-intercept, and the coefficients of correlation and determination  Justify the regression."

Similar presentations


Ads by Google