I have a question on the Cross Validated Stack Exchange site where I ask how to update the exponential regression coefficient of a vertically translated depreciation curve.
A Cross Validated community member has been kind enough to provide an answer to my question.
The solution has been explained as follows:
...the equation you need to estimate is $$y=21-e^{ax},$$
which is equivalent to
$$21-y=e^{ax}.$$
If you take logarithms both sides (you can do it because $y<21$), then $$log(21-y)=ax.$$
Renaming $log(21-y)=z$, this is of the form $$z=ax,$$
which is a linear regression with no intercept that can be estimated with many standard software packages.
I think I understand everything up to, and including this part:
If you take logarithms both sides (you can do it because $y<21$), then $$log(21-y)=ax.$$
However, as someone who has limited math skills, I'm having difficulty understanding a couple of things:
Why would I want to rename $log(21-y)=z$
--as--$z=ax$ ?How do I estimate the "linear regression with no intercept"?
Could #1 and #2 be explained, in layman's terms?
In general, people like to work with linear equations, as it is easier and more intuitive. The equation $y = e^x$ for example, one could be tempted to transform the data $ x \to \ln{x}$, to get to $ y = e^ {\ln(x)} = x $ and have a nice linear equation.
This is I believe what happens in your case. You have to deal with $$ \log (21-y) = a x$$ and she suggested a change of variable (i.e. an operation to be performed on each $y$-datapoint) that will give you a linear equation.
Analogously, in many cases people like to present log-log plots (so, plots considering the logarithms of each variable), which under certain circumstances appear linear.
As a trivial example, you might have the dataset $x = (1,2,3)$ and $y = (2.718, 7.389, 20.085)$. Just take the logarithm of the $y$-datapoints and it will be more transparent: the transformed $y$-datapoints are now $(1,2,3)$, very handy indeed.
Your second point is a litte bit trickier. Given datapoints $(x,y)$, you have to find the best line $y = ax$ such that some error is minimised. Lines described as $y= ax$ go through the origin (for $x = 0$, you get $y=0$), so the intercept is zero.
Would you like the algorithm to be described? In practice, a tool as simple as Excel will do it for you. Place a trendline and in the dialogue box, tick the "select intercept" option, and in the related cell, input "0".