Download presentation
Presentation is loading. Please wait.
Published byLuke Cunningham Modified over 6 years ago
1
Bell Ringer Make a scatterplot for the following data.
(in the calculator)
2
Chapter 10 Notes The association between year (measured in years since 1800) and U.S. population (in millions) is strong, positive, and curved. We cannot use a regression line to model this relationship without re-expressing the data first.
3
If the association of two variables is curved, we canβt use linear regression for the data, but we can attempt to re-express the data by one of a few methods: Square it: π¦ 2 Square root it: π¦ Take the log of one or both variables: log π¦ ππ logπ₯ Take the reciprocal: 1 π¦
4
The scatterplot of sqrt(population) and year is still a bit curved, but straight enough to fit a line. The model is πππ = (ππππ)
5
How to do this on your calculator:
Enter the original data in L1 and L2 Instead of going through every single entry and recalculating it, use L3 For this example, make L3 = πΏ2 Do linear regression using L1 & L3
6
log π¦ =π₯ β 10 π₯ =π¦ Reminder of how logarithms work Examples:
= π¦ π¦ =537.03 π¦ =logβ‘(345) In calculator, type log(345) π¦ =2.54
7
Reminder of how logarithms work
ln π¦ =π₯ β π π₯ =π¦ Example: ln π¦ =7.8 π 7.8 = π¦ π¦ =2440.6
8
The scatterplot of years since 1970 and mortgage rates in millions is curved. The residual plot is shown on the right. Year Millions 1970 1.2 1972 2.5 1974 2.9 1976 3.1 1978 5.8 1980 8.3 1982 10.8 1984 14.7 1986 21.8 1988 29.7
9
A linear model is not appropriate for the scatterplot of years since 1970 and mortgage rates, but it can be straightened using log(y). Year Millions 1970 1.2 1972 2.5 1974 2.9 1976 3.1 1978 5.8 1980 8.3 1982 10.8 1984 14.7 1986 21.8 1988 29.7 You Try: Create a model using years since 1970 and log(millions). Use the model to estimate the mortgage rate in 1981.
10
Scatterplot for years since 1970 and log(mortgage)
Residual plot for years since 1970 and log(mortgage)
11
The appropriate model is:
log ππππ‘ππππ = (π¦ππππ π ππππ 1970) The estimate for the year 1981 using this model is: log ππππ‘ππππ = log ππππ‘ππππ =0.9602 ππππ‘ππππ = =9.12 πππππππ
12
Practice: Use re-expressed data to create a model that predicts ticket prices (scale the year).
What is the predicted ticket price for 2004? Answer: $11.67
13
Homework for Chapters 9 & 10
Read chapters 9 & 10 From Monday: p.215 #1-3, 9, 12 Add to HW: p.215 #20; p.239 #5, 6, 15, 16
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.