# Regression BPS chapter 5 © 2006 W.H. Freeman and Company.

## Presentation on theme: "Regression BPS chapter 5 © 2006 W.H. Freeman and Company."— Presentation transcript:

Regression BPS chapter 5 © 2006 W.H. Freeman and Company

Sum of squared errors Which least-squares regression line would have a smaller sum of squared errors (SSE)? The line in Plot A. The line in Plot B. It would be the same for both plots.

Which least-squares regression line would have a smaller sum of squared errors (SSE)? The line in Plot A. The line in Plot B. It would be the same for both plots.

Scatterplots Look at the following scatterplot. What could we say about the relationship between r and the slope of the regression line? Since a is negative, r must also be negative. Since b is negative, r must also be negative. Since a is positive, r must also be positive. Since b is positive, r must also be positive.

Look at the following scatterplot. What could we say about the relationship between r and the slope of the regression line? Since a is negative, r must also be negative. Since b is negative, r must also be negative. Since a is positive, r must also be positive. Since b is positive, r must also be positive.

Slope Look at the following scatterplot. What would be a correct interpretation of the slope? As we increase our CO content by 1 mg, we increase the tar content by 1.01 mg. As we increase our CO content by 0.66 mg, we increase the tar content by 1.01 mg. As we increase our CO content by 0.66 mg, we increase the tar content by 0.66 mg. As we increase our CO content by 1 mg, we increase the tar content by 0.66 mg.

Slope (answer) Look at the following scatterplot. What would be a correct interpretation of the slope? As we increase our CO content by 1 mg, we increase the tar content by 1.01 mg. As we increase our CO content by 0.66 mg, we increase the tar content by 1.01 mg. As we increase our CO content by 0.66 mg, we increase the tar content by 0.66 mg. As we increase our CO content by 1 mg, we increase the tar content by 0.66 mg.

Regression line Look at the following least-squares regression line. If a person increased his/her weight by 10 pounds, by how much (in inches) would one expect to see their waist girth increase? 0.1332 1.332 99.994

Look at the following least-squares regression line. If a person increased his/her weight by 10 pounds, by how much (in inches) would one expect to see their waist girth increase? 0.1332 1.332 99.994

Regression line Look at the following least-squares regression line. The Y-intercept tells us the predicted waist girth for someone weighing how many pounds? 0.1332 9.9994 Cannot be determined from the graph.

Look at the following least-squares regression line. The Y-intercept tells us the predicted waist girth for someone weighing how many pounds? 0.1332 9.9994 Cannot be determined from the graph.

Residuals Look at the following least-squares regression line. Compare the squared errors (residuals) from the two Points A and B. Point A’s would be greater than Point B’s. Point A’s would be less than Point B’s. Point A’s would be equal to Point B’s. There is not enough information.

Residuals (answer) Look at the following least-squares regression line. Compare the squared errors (residuals) from the two Points A and B. Point A’s would be greater than Point B’s. Point A’s would be less than Point B’s. Point A’s would be equal to Point B’s. There is not enough information.

Percent of variation in Y
What percent of the variation in the sisters’ heights can be explained by the heights of the brothers? 25.64% (0.558)2 = 31.14% 52.7% 55.8%

Percent of variation in Y (answer)
What percent of the variation in the sisters’ heights can be explained by the heights of the brothers? 25.64% (0.558)2 = 31.14% 52.7% 55.8%

Correlation The correlation between math SAT score and total SAT score is about r = What is a correct conclusion that could be made? The least-squares regression line of Y on X would have slope = Math SAT scores explain about 98.7% (which is ) of the variation in the total SAT scores. About 99.35% of the time math SAT scores will accurately predict total SAT scores. Total SAT score is made up of 99.35% of the math SAT score.

Correlation (answer) The correlation between math SAT score and total SAT score is about r = What is a correct conclusion that could be made? The least-squares regression line of Y on X would have slope = Math SAT scores explain about 98.7% (which is ) of the variation in the total SAT scores. About 99.35% of the time math SAT scores will accurately predict total SAT scores. Total SAT score is made up of 99.35% of the math SAT score.

Residuals Residual equals

Residual plots Residual plots are used to
Examine the relationship between two variables. Identify the mean and spread of the residuals. Check for independence of observations. Magnify violations of regression assumptions.

Residual plots are used to Examine the relationship between two variables. Identify the mean and spread of the residuals. Check for independence of observations. Magnify violations of regression assumptions.

Residual plots The following are regression assumptions:
The relationship between X and Y can be modeled with a straight line. The variation in the Y values does not depend on the value of X (constant variance). The residual plot shown below indicates the violation of which regression assumption? 1 2 Neither

The following are regression assumptions: The relationship between X and Y can be modeled with a straight line. The variation in the Y values does not depend on the value of X (constant variance). The residual plot shown below indicates the violation of which regression assumption? 1 2 Neither

Residual plots The following are regression assumptions:
The relationship between X and Y can be modeled with a straight line. The variation in the Y values does not depend on the value of X (constant variance). The residual plot shown below indicates the violation of which regression assumption? 1 2 Neither

The following are regression assumptions: The relationship between X and Y can be modeled with a straight line. The variation in the Y values does not depend on the value of X (constant variance). The residual plot shown below indicates the violation of which regression assumption? 1 2 Neither

Correlation or regression
Which of the following measures the direction and strength of the linear association between X and Y? Correlation Regression

Which of the following measures the direction and strength of the linear association between X and Y? Correlation Regression

Correlation or regression
Which of the following makes no distinction between explanatory and response variables? Correlation Regression

Which of the following makes no distinction between explanatory and response variables? Correlation Regression

Correlation or regression
Which of the following is used for prediction? Correlation Regression

Which of the following is used for prediction? Correlation Regression

Regression line A regression line always passes through the point

A regression line always passes through the point

Correlation and slope Which of the following best describes the relationship between correlation and slope? The correlation of X and Y equals the slope of the regression line modeling the relationship between X and Y. When the correlation between X and Y is zero, the slope of the regression line modeling the relationship between X and Y is negative. The sign of the correlation between X and Y is the same as the sign of the slope of the regression line modeling the relationship between X and Y. The correlation between X and Y is not related to the slope of the regression line modeling the relationship between X and Y.

Which of the following best describes the relationship between correlation and slope? The correlation of X and Y equals the slope of the regression line modeling the relationship between X and Y. When the correlation between X and Y is zero, the slope of the regression line modeling the relationship between X and Y is negative. The sign of the correlation between X and Y is the same as the sign of the slope of the regression line modeling the relationship between X and Y. The correlation between X and Y is not related to the slope of the regression line modeling the relationship between X and Y.

Regression line Which of the following best measures the strength of fit of a regression line? Correlation coefficient, r. Square of the correlation coefficient, r2. Square root of the correlation coefficient, .

Which of the following best measures the strength of fit of a regression line? Correlation coefficient, r. Square of the correlation coefficient, r2. Square root of the correlation coefficient, .

Causation Researchers interviewed a group of women with knee pain awaiting knee replacement surgery. They also interviewed a group of women from the same geographical area with no knee pain. These researchers reported that wearing high-heeled shoes caused the knee pain which required surgery. As a savvy consumer of statistics, you conclude that: Because this was only an observational study, the researchers should not make claims that the knee pain was caused by high heels. Because the study was a valid experiment, the researchers were valid in their claim about high heels causing pain.

Causation (answer) Researchers interviewed a group of women with knee pain awaiting knee replacement surgery. They also interviewed a group of women from the same geographical area with no knee pain. These researchers reported that wearing high-heeled shoes caused the knee pain which required surgery. As a savvy consumer of statistics, you conclude that: Because this was only an observational study, the researchers should not make claims that the knee pain was caused by high heels. Because the study was a valid experiment, the researchers were valid in their claim about high heels causing pain.

Linear regression The following graph indicates the presence of
Extrapolation. An influential observation. A lurking variable.

The following graph indicates the presence of Extrapolation. An influential observation. A lurking variable.

Linear regression The following graph shows the linear relationship between diamond size and price for diamonds size 0.35 carats or less. Using this relationship to predict the price of a diamond that is 1 carat is considered Extrapolation. An influential observation. Prediction.

The following graph shows the linear relationship between diamond size and price for diamonds size 0.35 carats or less. Using this relationship to predict the price of a diamond that is 1 carat is considered Extrapolation. An influential observation. Prediction.

Linear regression The diamonds mentioned in the previous question were of the same cut and clarity. If diamonds of different cuts have different relationship between size and price, we would say that Type of cut is a lurking variable. Type of cut is a confounded variable. Type of cut should be ignored.