# 13.6: Interpretation of Regression Coefficients- Elasticity and Logarithmic Transformation


As we have seen, the coefficient of an equation estimated using OLS regression analysis provides an estimate of the slope of a straight line that is assumed be the relationship between the dependent variable and at least one independent variable. From the calculus, the slope of the line is the first derivative and tells us the magnitude of the impact of a one unit change in the $$X$$ variable upon the value of the $$Y$$ variable measured in the units of the $$Y$$ variable. As we saw in the case of dummy variables, this can show up as a parallel shift in the estimated line or even a change in the slope of the line through an interactive variable. Here we wish to explore the concept of elasticity and how we can use a regression analysis to estimate the various elasticities in which economists have an interest.

The concept of elasticity is borrowed from engineering and physics where it is used to measure a material’s responsiveness to a force, typically a physical force such as a stretching/pulling force. It is from here that we get the term an “elastic” band. In economics, the force in question is some market force such as a change in price or income. Elasticity is measured as a percentage change/response in both engineering applications and in economics. The value of measuring in percentage terms is that the units of measurement do not play a role in the value of the measurement and thus allows direct comparison between elasticities. As an example, if the price of gasoline increased say 50 cents from an initial price of $3.00 and generated a decline in monthly consumption for a consumer from 50 gallons to 48 gallons we calculate the elasticity to be 0.25. The price elasticity is the percentage change in quantity resulting from some percentage change in price. A 16 percent increase in price has generated only a 4 percent decrease in demand: 16% price change $$\rightarrow$$ 4% quantity change or $$.04/.16 = .25$$. This is called an inelastic demand meaning a small response to the price change. This comes about because there are few if any real substitutes for gasoline; perhaps public transportation, a bicycle or walking. Technically, of course, the percentage change in demand from a price increase is a decline in demand thus price elasticity is a negative number. The common convention, however, is to talk about elasticity as the absolute value of the number. Some goods have many substitutes: pears for apples for plums, for grapes, etc. etc. The elasticity for such goods is larger than one and are called elastic in demand. Here a small percentage change in price will induce a large percentage change in quantity demanded. The consumer will easily shift the demand to the close substitute. While this discussion has been about price changes, any of the independent variables in a demand equation will have an associated elasticity. Thus, there is an income elasticity that measures the sensitivity of demand to changes in income: not much for the demand for food, but very sensitive for yachts. If the demand equation contains a term for substitute goods, say candy bars in a demand equation for cookies, then the responsiveness of demand for cookies from changes in prices of candy bars can be measured. This is called the cross-price elasticity of demand and to an extent can be thought of as brand loyalty from a marketing view. How responsive is the demand for Coca-Cola to changes in the price of Pepsi? Now imagine the demand for a product that is very expensive. Again, the measure of elasticity is in percentage terms thus the elasticity can be directly compared to that for gasoline: an elasticity of 0.25 for gasoline conveys the same information as an elasticity of 0.25 for$25,000 car. Both goods are considered by the consumer to have few substitutes and thus have inelastic demand curves, elasticities less than one.

The mathematical formulae for various elasticities are:

$\text { Price elasticity: } \eta_{\mathrm{p}}=\frac{(\% \Delta \mathrm{Q})}{(\% \Delta \mathrm{P})}\nonumber$

Where $$\eta$$ is the Greek small case letter eta used to designate elasticity. ∆ is read as “change”.

$\text { Income elasticity: } \eta_{\mathrm{Y}}=\frac{(\% \Delta \mathrm{Q})}{(\% \Delta \mathrm{Y})}\nonumber$

Where $$Y$$ is used as the symbol for income.

$\text { Cross-Price elasticity: } \eta_{\mathrm{p} 1}=\frac{\left(\% \Delta \mathrm{Q}_{1}\right)}{\left(\% \Delta \mathrm{P}_{2}\right)}\nonumber$

Where P2 is the price of the substitute good.

Examining closer the price elasticity we can write the formula as:

$\eta_{\mathrm{p}}=\frac{(\% \Delta \mathrm{Q})}{(\% \Delta \mathrm{P})}=\frac{\mathrm{d} \mathrm{Q}}{\mathrm{dP}}\left(\frac{\mathrm{P}}{\mathrm{Q}}\right)=\mathrm{b}\left(\frac{\mathrm{P}}{\mathrm{Q}}\right)\nonumber$

Where $$b$$ is the estimated coefficient for price in the OLS regression.

The first form of the equation demonstrates the principle that elasticities are measured in percentage terms. Of course, the ordinary least squares coefficients provide an estimate of the impact of a unit change in the independent variable, $$X$$, on the dependent variable measured in units of $$Y$$. These coefficients are not elasticities, however, and are shown in the second way of writing the formula for elasticity as $$\left(\frac{\mathrm{d} Q}{\mathrm{d} P}\right)$$, the derivative of the estimated demand function which is simply the slope of the regression line. Multiplying the slope times $$\frac{P}{Q}$$ provides an elasticity measured in percentage terms.

Along a straight-line demand curve the percentage change, thus elasticity, changes continuously as the scale changes, while the slope, the estimated regression coefficient, remains constant. Going back to the demand for gasoline. A change in price from $3.00 to$3.50 was a 16 percent increase in price. If the beginning price were \$5.00 then the same 50¢ increase would be only a 10 percent increase generating a different elasticity. Every straight-line demand curve has a range of elasticities starting at the top left, high prices, with large elasticity numbers, elastic demand, and decreasing as one goes down the demand curve, inelastic demand.

In order to provide a meaningful estimate of the elasticity of demand the convention is to estimate the elasticity at the point of means. Remember that all OLS regression lines will go through the point of means. At this point is the greatest weight of the data used to estimate the coefficient. The formula to estimate an elasticity when an OLS demand curve has been estimated becomes:

$\eta_{\mathrm{p}}=\mathrm{b}\left(\frac{\overline{\mathrm{P}}}{\mathrm{Q}}\right)\nonumber$

Where $$\overline{\mathrm{P}}$$ and $$\overline{\mathrm{Q}}$$ are the mean values of these data used to estimate $$b$$, the price coefficient.

The same method can be used to estimate the other elasticities for the demand function by using the appropriate mean values of the other variables; income and price of substitute goods for example.

## Logarithmic Transformation of the Data

Ordinary least squares estimates typically assume that the population relationship among the variables is linear thus of the form presented in The Regression Equation. In this form the interpretation of the coefficients is as discussed above; quite simply the coefficient provides an estimate of the impact of a one unit change in $$X$$ on $$Y$$ measured in units of $$Y$$. It does not matter just where along the line one wishes to make the measurement because it is a straight line with a constant slope thus constant estimated level of impact per unit change. It may be, however, that the analyst wishes to estimate not the simple unit measured impact on the $$Y$$ variable, but the magnitude of the percentage impact on $$Y$$ of a one unit change in the $$X$$ variable. Such a case might be how a unit change in experience, say one year, effects not the absolute amount of a worker’s wage, but the percentage impact on the worker’s wage. Alternatively, it may be that the question asked is the unit measured impact on $$Y$$ of a specific percentage increase in X. An example may be “by how many dollars will sales increase if the firm spends $$X$$ percent more on advertising?” The third possibility is the case of elasticity discussed above. Here we are interested in the percentage impact on quantity demanded for a given percentage change in price, or income or perhaps the price of a substitute good. All three of these cases can be estimated by transforming the data to logarithms before running the regression. The resulting coefficients will then provide a percentage change measurement of the relevant variable.

To summarize, there are four cases:

1. $$\text { Unit } \Delta X \rightarrow \text { Unit } \Delta Y$$ (Standard OLS case)
2. $$\text { Unit } \Delta X \rightarrow \% \Delta Y$$
3. $$\% \Delta X \rightarrow \text { Unit } \Delta Y$$
4. $$\% \Delta X \rightarrow \% \Delta Y$$ (elasticity case)

Case 1: The ordinary least squares case begins with the linear model developed above:

$Y=a+b X\nonumber$

where the coefficient of the independent variable $$b=\frac{d Y}{d X}$$ is the slope of a straight line and thus measures the impact of a unit change in $$X$$ on $$Y$$ measured in units of $$Y$$.

Case 2: The underlying estimated equation is:

$\log (\mathrm{Y})=a+b X\nonumber$

The equation is estimated by converting the $$Y$$ values to logarithms and using OLS techniques to estimate the coefficient of the $$X$$ variable, $$b$$. This is called a semi-log estimation. Again, differentiating both sides of the equation allows us to develop the interpretation of the $$X$$ coefficient $$b$$:

$\mathrm{d}\left(\log _{\mathrm{Y}}\right)=b \mathrm{d} X\nonumber$

$\frac{\mathrm{d} Y}{Y}=b \mathrm{d} X\nonumber$

Multiply by 100 to covert to percentages and rearranging terms gives:

$100 b=\frac{\% \Delta Y}{\text { Unit } \Delta X}\nonumber$

$$100b$$ is thus the percentage change in $$Y$$ resulting from a unit change in $$X$$.

Case 3: In this case the question is “what is the unit change in $$Y$$ resulting from a percentage change in $$X$$?” What is the dollar loss in revenues of a five percent increase in price or what is the total dollar cost impact of a five percent increase in labor costs? The estimated equation for this case would be:

$Y=a+B \log (X)\nonumber$

Here the calculus differential of the estimated equation is:

$dY=bd(logX)\nonumber$

$\mathrm{d} Y=b \frac{\mathrm{d} X}{X}\nonumber$

Divide by 100 to get percentage and rearranging terms gives:

$\frac{b}{100}=\frac{\mathrm{d} Y}{100 \frac{\mathrm{d} X}{X}}=\frac{\text { Unit } \Delta \mathrm{Y}}{\% \Delta \mathrm{X}}\nonumber$

Therefore, $$\frac{b}{100}$$ is the increase in $$Y$$ measured in units from a one percent increase in $$X$$.

Case 4: This is the elasticity case where both the dependent and independent variables are converted to logs before the OLS estimation. This is known as the log-log case or double log case, and provides us with direct estimates of the elasticities of the independent variables. The estimated equation is:

$logY=a+blogX\nonumber$

Differentiating we have:

$d(logY)=bd(logX)\nonumber$

$\mathrm{d}(\log X)=b \frac{1}{X} \mathrm{d} X\nonumber$

thus:

$\frac{1}{Y} \mathrm{d} Y=b \frac{1}{X} \mathrm{d} X \quad \text { OR } \quad \frac{\mathrm{d} Y}{Y}=b \frac{\mathrm{d} X}{X} \quad \text { OR } \quad b=\frac{\mathrm{d} Y}{\mathrm{d} X}\left(\frac{X}{Y}\right)\nonumber$

and $$b=\frac{\% \Delta Y}{\% \Delta X}$$ our definition of elasticity. We conclude that we can directly estimate the elasticity of a variable through double log transformation of the data. The estimated coefficient is the elasticity. It is common to use double log transformation of all variables in the estimation of demand functions to get estimates of all the various elasticities of the demand curve.

13.6: Interpretation of Regression Coefficients- Elasticity and Logarithmic Transformation is shared under a CC BY 4.0 license and was authored, remixed, and/or curated by OpenStax via source content that was edited to conform to the style and standards of the LibreTexts platform; a detailed edit history is available upon request.