Project 5 Exponential and Logarithmic Regression
Project 5 Exponential and Logarithmic Regression
Project 5 Exponential and Logarithmic Regression
US National Debt
70 370.90 12,000.00
80 907.70 10,000.00
90 3,233.00 8,000.00
100 5,659.00 6,000.00
105 7,918.00 4,000.00
110 13,551.00 2,000.00
115 18,138.00 0.00
20 30 40 50 60 70 80 90 100 110 120
b.
y=2.1483e^0.0789x
c.
y=2.1483e^0.0789*117
y=21,938.02764
The actual US debt in 2017 was 20,233 which means our model is 1,705 higher than the real number.
Source: https://en.wikipedia.org/wiki/National_debt_of_the_United_States#/media/File:USDebt.png
d.
30000=2.1483e^0.0789x
13964.53009=e^0.0789x
ln13964.53009=0.0789x
9.544275829=0.0789x
120.9667405=x
The national debt will reach 30 trillion dollars in 2021.
00,000)
78925307353054 x )
Year
21 80
40
30 90
45 100 20
60 110 0
0 10 20 30 40 50 60 70
b.
y=17.931ln(x)+29.867
c.
y=17.931ln(50)+29.867
y=100.0134845
The population was 50,000 in the year 2000.
The equation predicted that the population would be 50,000 in the year 2000, but our chart indicates that it was only 45,000 -
d.
117=17.931ln(x)+29.867
87.133=17.931ln(x)
4.85934973=ln(x)
e^4.85934973=x
x=128.9403288
The population of Jasmine, New Mexico will be 128,940 in 2017.
mine
60991
50 60 70
Annual Premium
50 $ 919.00 $3,000.00
55 $ 1,455.00 $2,500.00
60 $ 2,492.00 $2,000.00
65 $ 4,172.00 $1,500.00
$1,000.00
$500.00
$-
54 56 58 60 62 64 66
Age
b.
y=271.7x-13596
c.
Linear % Exp %
linear exponential Differenc Differenc
age premium prediction prediction e e
55 1455 1348 1558 93% 107%
60 2492 2706 2165 109% 87%
65 4172 4065 3006 97% 72%
d.
The linear regression model would be better to predict the annual premium for a 64 year-
old. The difference between the linear model and the actual premiums is less than the
difference between the exponential model and the actual premiums.
e.
The exponential regression model would be better for predicting the annual premium for a
27 year-old person. This is because the linear model would predict a premium than is much
lower than the actual premium for 27 year-olds since it wouldn't take into account the
exponential growth experienced in the life insurance industry.
Premiums by Age
+
$4,500.00
$4,000.00
67 $3,500.00
Annual Premium
$3,000.00
f(x) = 42.0118713829829 exp( 0.0657217950710328 x )
$2,500.00
$2,000.00
$1,500.00
$1,000.00
$500.00
$-
20 25 30 35 40 45 50 55 60 65 70
62 64 66
Age