Chapter 7: Problem 14
The consumer price index (CPI) is shown in the following table. Fit a least squares line to the data. Then use the line to predict the CPI in the year \(2020 \quad(x=7)\). $$ \begin{array}{ccc} \hline & \boldsymbol{x} & \mathbf{C P I} \\ 1990 & 1 & 130.7 \\ 1995 & 2 & 152.4 \\ 2000 & 3 & 172.2 \\ 2005 & 4 & 195.3 \\ 2010 & 5 & 218.1 \\ \hline \end{array} $$
Short Answer
Step by step solution
Understanding the data
Set up the linear regression formula
Calculate the slope (m)
Calculate the y-intercept (b)
Construct the equation of the line
Predict the CPI for 2020 (x=7)
Unlock Step-by-Step Solutions & Ace Your Exams!
-
Full Textbook Solutions
Get detailed explanations and key concepts
-
Unlimited Al creation
Al flashcards, explanations, exams and more...
-
Ads-free access
To over 500 millions flashcards
-
Money-back guarantee
We refund you if you fail your exam.
Over 30 million students worldwide already upgrade their learning with 91Ó°ÊÓ!
Key Concepts
These are the key concepts you need to understand to accurately answer the question.
Consumer Price Index
The CPI serves multiple purposes:
- It's used as an economic indicator.
- Employers may use it to adjust wages based on inflation.
- Governments rely on it to make informed financial decisions.
Linear Regression
- \( y \) is the dependent variable (the variable we're trying to predict).
- \( x \) is the independent variable (the variable we're using to make predictions).
- \( m \) is the slope (the rate of change of \( y \) with respect to \( x \)).
- \( b \) is the y-intercept (the starting value of \( y \) when \( x \) is zero).
Slope Calculation
- \( n \) is the number of data points.
- \( \sum xy \) is the sum of the product of the paired scores.
- \( \sum x \) is the sum of the x-values, and \( \sum y \) is the sum of the y-values.
- \( \sum x^2 \) is the sum of the squares of the x-values.
Y-intercept Determination
- Remember that \( m \) is the slope you previously calculated.
- \( \sum y \) is the total of your dependent variable data.
- \( \sum x \) is the sum of your independent variable data.
- \( n \) is the count of your data points.