Transforming From Exponential To Linear Growth - Video
Transforming From Exponential To Linear Growth - Video
Exponential to
Linear Growth
Graph of Data vs Time
2500
data is
growing
1500
exponentiall 1000
y?
500
0
0 2 4 6 8 10 12 14
Graph of Data vs Time
2500
Q: How do 2000
we use
linear 1500
regression
on this data 1000
set? 500
0
0 2 4 6 8 10 12 14
Graph of Data vs Time
2500
2000
A: We take
a logarithm 1500
of the y-
values… 1000
500
0
0 2 4 6 8 10 12 14
Graph of Data vs Time
2500
A: Which 2000
‘dampens’
the growth 1500
back down
to linear 1000
growth… 500
0
0 2 4 6 8 10 12 14
Graph of Data vs Time
14
A: Which 12
‘dampens’ 10
the growth 8
back down 6
to linear
growth… 4
0
0 2 4 6 8 10 12 14
Graph of Data vs Time
14
So that we
can use
12
linear 10
regression 8
to forecast 6
with our 4
data 2
0
0 2 4 6 8 10 12 14
Graph of Data vs Time
14
12
So how do 10
we do 8
this??? 6
0
0 2 4 6 8 10 12 14
• We take the dependent variable
(or, take the data values if we
only have data & time as our
variables)
So how do • We take a log of the dependent
we do variable
this??? • ie: =
• We use the logged variable as
the dependent variable in our
linear regression (multiple
regression) model:
• We take the dependent variable
(or, take the data values if we
only have data & time as our
And how do variables)
we • We take a log of the dependent
implement variable
this in • ie: =
Excel? • We use the logged variable as
the dependent variable in our
linear regression (multiple
regression) model:
• Insert a new column in Excel between
the independent variables & the
dependent variable Insert a new
column in Excel
And how do
• In that column, calculate the log of the
we dependent (data) variable using
implement ‘=log()’ in Excel
this in • Use that logged variable as the
Excel? dependent variable and use the
original x variable(s) as the
independent variables when using the
Data analysis Toolpak’s linear
regression
Here is our
output in
Excel from
our
example…
How do we
generate
forecasts
based off of
this output?
…
• We use the coefficients given
in the regression output to
How do we generate the following
generate equation:
forecasts
based off of • Now how do we generate
this output? forecasts based off of this
… equation?
• Let’s go back to the “general”
equation which is:
• We need to ‘undo’ what we just
did – which was to log the y
variable
How do we
• We ‘undo’ a logarithm by taking
generate the inverse:
forecasts The inverse of is
based off of • This gives the following equation:
this output?
…
Note: we put both side of the
equation to the power of 10
• Let’s “clean up” the equation that
we just generated on the last slide:
How do we • The log and the base 10 will cancel
generate each other out on the left-hand side:
forecasts
based off of • We can then use the following
this output? exponent rule on the right-hand
… side:
• This gives:
• Let’s “clean up” the expression below:
Where and
Now, back
to our • This gives the following values
for b :
example…