Content deleted Content added
Citation bot (talk | contribs) Add: s2cid. | Use this bot. Report bugs. | Suggested by Whoop whoop pull up | #UCB_webform 310/493 |
m MOS:INDENTGAP (17), italicize variable, convert colon to comma, and rm some whitespace |
||
Line 12:
== Equations ==
The equation for a line on a log–log scale would be:
where ''m'' is the slope and ''b'' is the intercept point on the log plot.
Line 21 ⟶ 19:
[[Image:Slope of log-log plot.PNG|thumbnail|250px|Finding the slope of a log–log plot using ratios]]
To find the slope of the plot, two points are selected on the ''x''-axis, say ''x''<sub>1</sub> and ''x''<sub>2</sub>. Using the above equation:
▲:<math> \log[F (x_1)] = m \log (x_1) + b, </math>
and
▲:<math> \log[F (x_2)] = m \log(x_2) + b. </math>
The slope ''m'' is found taking the difference:
▲:<math> m = \frac { \log (F_2) - \log (F_1)} { \log(x_2) - \log(x_1) } = \frac {\log (F_2/F_1)}{\log(x_2/x_1)}, </math>
where ''F''<sub>1</sub> is shorthand for ''F''(''x''<sub>1</sub>) and ''F''<sub>2</sub> is shorthand for ''F''(''x''<sub>2</sub>). The figure at right illustrates the formula. Notice that the slope in the example of the figure is ''negative''. The formula also provides a negative slope, as can be seen from the following property of the logarithm:
▲:<math> \log(x_1/x_2) = -\log(x_2/x_1). </math>
=== Finding the function from the log–log plot ===
The above procedure now is reversed to find the form of the function ''F''(''x'') using its (assumed) known log–log plot. To find the function ''F'', pick some ''fixed point'' (''x''<sub>0</sub>, ''F''<sub>0</sub>), where ''F''<sub>0</sub> is shorthand for ''F''(''x''<sub>0</sub>), somewhere on the straight line in the above graph, and further some other ''arbitrary point'' (''x''<sub>1</sub>, ''F''<sub>1</sub>) on the same graph. Then from the slope formula above:
▲:<math> m = \frac {\log (F_1 / F_0)}{\log(x_1 / x_0)} </math>
which leads to
<math display="block"> \log(F_1 / F_0) = m \log(x_1 / x_0) = \log[(x_1 / x_0)^m ]. </math>
▲:<math> \log(F_1 / F_0) = m \log(x_1 / x_0) = \log[(x_1 / x_0)^m ]. </math>
Notice that 10<sup>log<sub>10</sub>(''F''<sub>1</sub>)</sup> = ''F''<sub>1</sub>. Therefore, the logs can be inverted to find:
▲: <math> \frac{F_1}{F_0} = \left(\frac{x_1}{x_0}\right)^m </math>
or
▲: <math>F_1 = \frac{F_0}{x_0^m} \, x^m, </math>
which means that
▲: <math> F(x) = \mathrm{constant}\cdot x^m. </math>
In other words, ''F'' is proportional to ''x'' to the power of the slope of the straight line of its log–log graph. Specifically, a straight line on a log–log plot containing points (''F''<sub>0</sub>, ''x''<sub>0</sub>) and (''F''<sub>1</sub>, ''x''<sub>1</sub>) will have the function:
Of course, the inverse is true too: any function of the form
▲:<math> F(x) = \mathrm{constant} \cdot x^m</math>
will have a straight line as its log–log graph representation, where the slope of the line is ''m''.
Line 73 ⟶ 51:
Rearranging the original equation and plugging in the fixed point values, it is found that
<math display="block"> \mathrm{constant} = \frac{F_0}{x_0^m} </math>
Substituting back into the integral, you find that for ''A'' over ''x''<sub>0</sub> to ''x''<sub>1</sub>
<math display="block">\begin{align}
Line 86 ⟶ 63:
\end{align}</math>
Therefore
For ''m'' = −1, the integral becomes
Line 101 ⟶ 78:
One example is the estimation of [[money demand]] functions based on [[Money demand#Inventory theory|inventory theory]], in which it can be assumed that money demand at time ''t'' is given by
▲:<math>M_t = AR_t^bY_t^cU_t,</math>
where ''M'' is the real quantity of [[money]] held by the public, ''R'' is the [[rate of return]] on an alternative, higher yielding asset in excess of that on money, ''Y'' is the public's [[real income]], ''U'' is an error term assumed to be [[log-normal distribution|lognormally distributed]], ''A'' is a scale parameter to be estimated, and ''b'' and ''c'' are [[Elasticity (economics)|elasticity]] parameters to be estimated. Taking logs yields
▲:<math>m_t = a + br_t + cy_t + u_t,</math>
where ''m'' = log ''M'', ''a'' = log ''A'', ''r'' = log ''R'', ''y'' = log ''Y'', and ''u'' = log ''U'' with ''u'' being [[normal distribution|normally distributed]]. This equation can be estimated using [[ordinary least squares]].
Another economic example is the estimation of a firm's [[Cobb–Douglas production function]], which is the right side of the equation
▲:<math>Q_t=AN_t^{\alpha}K_t^{\beta}U_t,</math>
in which ''Q'' is the quantity of output that can be produced per month, ''N'' is the number of hours of labor employed in production per month, ''K'' is the number of hours of physical capital utilized per month, ''U'' is an error term assumed to be lognormally distributed, and ''A'', <math>\alpha</math>, and <math>\beta</math> are parameters to be estimated. Taking logs gives the linear regression equation
▲:<math>q_t = a + \alpha n_t + \beta k_t + u_t</math>
where ''q'' = log ''Q'', ''a'' = log ''A'', ''n'' = log ''N'', ''k'' = log ''K'', and ''u'' = log ''U''.
|