1 / 16

Analysis of LSRL

Analysis of LSRL. EQ: How well does the line fit the data?. What would you conclude based on the graph?. Data from 1860-1940. Barrels of Rum Sold. Ministers in Boston. Reasons for strong correlation. Lurking variables: Something in the background that affects both variables the same way.

toshi
Télécharger la présentation

Analysis of LSRL

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Analysis of LSRL EQ: How well does the line fit the data?

  2. What would you conclude based on the graph? Data from 1860-1940 Barrels of Rum Sold Ministers in Boston

  3. Reasons for strong correlation • Lurking variables: Something in the background that affects both variables the same way. For the historical data, as population increased the number of ministers increased as did the amount of alcohol being sold.

  4. Shoe size vs. Height Determine if a linear model is a good idea. Create a scatterplot and examine the relationship. DON’T FIND THE LSRL!!!!

  5. Find the LSRL using summary statistics

  6. Interpret all of the values r : There is a strong positive linear relationship a: when the shoe size is 0 the height will be 51.36 inches b: for every 1 increase in shoe size the height will increase by 1.87 inches

  7. Coefficient of Determination The percent of variation in the y values that is explained by the linear model with x. Coefficient of determination = r2 where r is the correlation.

  8. The coefficient of determination between shoe size and height is .8575. What does this mean???? 85.75% of the variation in heights is explained by the linear model with shoe size.

  9. Residuals A residual is the difference between an observed value of the response variable and the value predicted by the LSRL

  10. Predictions Predict the height of a person with a shoe size of 8.5

  11. Residual Actual Data: Residual: Observed - Predicted 8.5 shoe size and 66 inches for height 66-67.25 =-1.25

  12. Create the LSRL

  13. Calculate Residuals

  14. Evaluate Residual Plot A good residual plot has No patterns No outliers Balance between +’s and –’s

  15. Bad Residual Plots

  16. Example How are American female (30-39) heights and weights related? • Create a scatterplot and comment on the relationship • Determine the LSRL, r, and r2 and interpret the values. • Evaluate the model by analyzing the residuals. • Predict the weight for a 63 inch female. • Calculate the residual for a 63 inch female. • How confident are you in your prediction?

More Related