1 / 25

Predicting with lines of Best Fit

Predicting with lines of Best Fit. Correlation. Correlation A measure of association between two numerical variables. Example (positive correlation) Typically, in the summer as the temperature increases people are thirstier. Temperature (F). Water Consumption (ounces). 75. 16. 83. 20.

evelia
Download Presentation

Predicting with lines of Best Fit

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. Predicting with lines of Best Fit

  2. Correlation • Correlation • A measure of association between two numerical variables. • Example (positive correlation) • Typically, in the summer as the temperature increases people are thirstier.

  3. Temperature (F) Water Consumption (ounces) 75 16 83 20 85 25 85 27 92 32 97 48 99 48 Specific Example For seven random summer days, a person recorded the temperatureand their water consumption, during a three-hour period spent outside.  

  4. How would you describe the graph?

  5. How “strong” is the linear relationship?

  6. Positive Correlation Negative Correlation Direction of Association

  7. Strength of Linear Association

  8. Other Strengths of Association

  9. Regression • Linear Regression • Process of finding the line of best fit for a set of data.

  10. Regression: 3 Main Purposes • To describe (or model) • To predict—AKA Extrapolation (or estimate) • To control (or administer)

  11. Example • Plan an outdoor party. • Estimate number of soft drinks to buy per person, based on how hot the weather is. • Use Temperature/Water data and regression.

  12. Using the Line of Best fit to write an equation • .

  13. 5. Interpreting and Visualizing • Interpreting the result: y = mx+ b • The valueofmis the slope • The value of bis the y-intercept

  14. Questions ???

  15. How about this Result? • y = 1.5x - 96.9 • Interpret this equation. Tell me what you know.

  16. Interpretation in Context • Slope = 1.5 (ounces)/(degrees F) • for each 1 degree F increase in temperature, you expect an increase of 1.5 ounces of water drank.

  17. Interpretation in Context y-intercept = -96.9 • For this example, when the temperature is 0 degrees F, then a person would drink about -97 ounces of water. • That does not make any sense! • Our model is not applicable for x=0.  

  18. Prediction Example • Predict the amount of water a person would drink when the temperature is 95 degrees F. • Solution: Substitute the value of x=95 (degrees F) into the regression equation and solve for y (water consumption).If x=95, y=1.5*95 - 96.9 = 45.6 ounces.  

  19. Questions ???

  20. Real Life Applications Cost Estimating for Future Space Flight Vehicles (Multiple Regression)

  21. Real Life Applications • Predicting Student Grades Based on Time Spent Studying

  22. Real Life Applications • . . . • What ideas can you think of?

  23. Practice Problems • Measure Height vs. Arm Span • Find line of best fit for height. • Predict height forone student not indata set. Checkpredictability of model.

  24. Practice Problems • Is there any correlation between shoe size and height? • Does gender make a difference in this analysis?

  25. Classwork/Homework

More Related