University

Econometrics · Second year · Regression

Logs and elasticities in regression

In a log-log regression the slope is an elasticity: a 1% rise in X goes with about a b% change in Y. In a log-level regression a one-unit rise in X goes with about a 100b% change in Y (a semi-elasticity). The exact change is 100(eb - 1)%: for b = 0.5 that is 64.9%, not 50%.

A slope in a levels regression is in units of Y per unit of X: dollars an hour per year of schooling. When the question is about percentages, as for pay, prices and output, that slope does not answer it, and taking logs turns it into a statement in per cent. Each case below is worked on real data.

1. Why economists take logs

This section shows on real data what a log does to a fitted relationship and to a distribution. Throughout, "log" means the natural logarithm, written \(\ln\) (R and Python write log), and a difference in \(\ln Y\) is measured in log points: a difference of 0.05 log points is a difference of about 5% in \(Y\).

A percentage in place of an amount. For 526 US workers surveyed in 1976 (Wooldridge's WAGE1 data), the least-squares line of the hourly wage on years of education has slope 0.541: one more year of schooling goes with a predicted wage 0.54 dollars an hour higher, at any level of schooling. Fitted to the log of the wage, the slope is 0.0827 log points: about 8.3% more pay per year, the same percentage at any level. Turned back into dollars, the log model gives a curve that each four-year step multiplies by the same factor, about 1.39, so it rises by 1.36 dollars from 8 to 12 years and by 1.90 from 12 to 16 (Figure 1). The line answers a question in dollars, the curve one in per cent.

Scatter plot of hourly wage in US dollars against years of education for 526 US workers in 1976, with two fitted relationships. A straight line, -0.90 plus 0.54 times years of education, from the regression of wage on education, rises by 0.54 dollars for each year. A curve, the exponential of 0.584 plus 0.0827 times years of education, from the regression of log wage on education, rises faster at higher education: each year raises it by about 8.3 per cent of the wage it starts from. The points are widely scattered, with a few wages above 20 dollars an hour.
Figure 1. A straight line adds dollars; the log model's curve adds a percentage. Dots: hourly wage against years of education, 526 US workers, 1976. Line: wage on education, \(-0.90 + 0.54 \times \text{education}\). Curve: \(e^{0.584 + 0.0827 \times \text{education}}\), from log wage on education, 3.48, 4.84 and 6.74 dollars an hour at 8, 12 and 16 years; as the exponential of the fitted log wage, it is not an estimate of the average wage at each level of education. Source: Wooldridge WAGE1.

A long right tail pulled in. In the same workers the mean wage, 5.90 dollars an hour, is above the median, 4.65, and 39 workers (7.4%) earn more than twice the mean (Figure 2). The log turns equal ratios into equal distances: \(\ln 25 - \ln 5 = \ln 5 - \ln 1 = 1.61\). Hence the long right tail is pulled in: the skewness coefficient, 0 for a symmetric distribution, falls from 2.01 for the wage to 0.39 for its log, much more symmetric though not symmetric.

Two histograms of 526 US workers in 1976, one above the other. Top: hourly wage in US dollars, in bars one dollar wide, with most workers between 2 and 8 dollars and a long tail to the right reaching 24.98 dollars. A dashed line marks the median, 4.65, and a solid line the mean, 5.90, above it; the skewness is 2.01. Bottom: log wage, in bars 0.25 wide, roughly bell shaped, with the median 1.54 and the mean 1.62 close together and skewness 0.39.
Figure 2. Logging the wage pulls in its long right tail. Top: hourly wages of 526 US workers in 1976, in bars one dollar wide; mean 5.90 dollars (solid line), median 4.65 (dashed line); 39 workers earn more than twice the mean. Bottom: log wage, mean 1.62, median 1.54. Skewness (the average cubed deviation from the mean over the cubed standard deviation, divisor n): 2.01 for the wage, 0.39 for its log. Source: Wooldridge WAGE1.

Steady growth as a straight line. A series that grows by the same percentage each period adds the same amount to its log each period, so its log rises along a straight line. UK real GDP was 4.69 times as large in 2019 Q4 as in 1955 Q1, and on a log axis its path lies close to a straight line (Figure 3). The least-squares trend of \(\ln\) GDP on a count of quarters has slope 0.006002 log points a quarter, or 0.0240 a year: growth of about 2.4% a year over these 260 quarters (2.43% compounded).

Two charts of the same series, UK real GDP in billions of pounds, quarterly from 1955 Q1 to 2019 Q4, one above the other. Top, on a linear axis: GDP rises from 149 billion in 1955 Q1 to 701 billion in 2019 Q4, along a curve that bends upwards, with falls of more than 2 per cent below the previous peak in 1958, 1973 to 1975, 1979 to 1981, 1990 to 1992 and 2008 to 2009. Bottom, on a log axis: the same series lies close to a straight line rising from left to right, with a dashed straight trend line through it whose slope is about 2.4 per cent a year.
Figure 3. Steady growth bends upwards on a linear axis and is close to a straight line on a log axis. UK real GDP, quarterly, 1955 Q1 to 2019 Q4, billions of pounds (chained volume measure, seasonally adjusted). Top, linear axis: 149 billion to 701 billion, along a path that bends upwards. Bottom, log axis, where equal steps are equal percentages: close to the dashed least-squares trend, about 2.4% a year. Source: ONS series ABMI, September 2026 release.

What students say

“Nicky is an excellent econometrics tutor. He explains complex concepts clearly and makes them much easier to understand.”
Charles GardnerGoogle review
“I was completely lost in my economics class, and then I started working Nicky and he totally saved me. He was excellent at explaining the material and extremely accommodating to meet with me many times despite us being in different time zones! Highly recommend working with Nicky!”
Claire ChouGoogle review
“Nicky is a very good and thorough teacher. He has excellent knowledge of econometrics and takes the time to work through your questions. Highly recommended!”
ChrisEconometrics · 22/08
“Really great tutor! Encouraging, knowledgeable, friendly”
JedEconometrics · 09/02
“Very good lesson, Nicky is very helpful.”
ChrisEconometrics · 19/08
“Very helpful and clear.”
ClaireEconometrics · 22/01
“I gather it was very useful, thank you!”
ClaireEconometrics · 12/01
“Fantastic!”
JedEconometrics · 11/02

2. The four cases

Which of the two variables is logged decides what the slope measures. \(Y\) and \(X\) are written with capital letters because they are treated as random variables; the values in a sample are written in lower case, \(y_i\) and \(x_i\). \(\beta_1\) is the population slope, \(\hat\beta_1\) its estimate and \(u\) the error. Books use other letters (Wooldridge writes the model in lower case, and some books write \(\varepsilon\) for the error); the choice is cosmetic.

Definition: elasticity and semi-elasticity

The elasticity of \(Y\) with respect to \(X\) is the proportional change in \(Y\) divided by the proportional change in \(X\) that goes with it, for a small change in \(X\):

$$ \text{elasticity} = \frac{\Delta Y / Y}{\Delta X / X} . $$

The semi-elasticity is the proportional change in \(Y\) per one-unit change in \(X\), \((\Delta Y / Y)/\Delta X\); 100 times it is the percentage change in \(Y\) per unit of \(X\).

Remarks. An elasticity has no units. A semi-elasticity is per unit of \(X\), so it changes when \(X\) is rescaled (per year of schooling, or per month). A log-level slope is a semi-elasticity, not an elasticity.

In the table, each reading compares the model's predictions at two values of \(X\), and each example is a regression on real data that describes its sample.

CaseModelReading of \(\beta_1\)NameReal example
Level-level\(Y = \beta_0 + \beta_1 X + u\)one more unit of \(X\) goes with a change of \(\beta_1\) units in \(Y\)slopeWage on education, 526 US workers (1976): 0.541, so 0.54 dollars an hour more per year
Log-level\(\ln Y = \beta_0 + \beta_1 X + u\)one more unit of \(X\) goes with a change of about \(100\beta_1\)% in \(Y\)semi-elasticityLog wage on education, the same workers: 0.0827, so about 8.3% more pay per year
Level-log\(Y = \beta_0 + \beta_1 \ln X + u\)1% more \(X\) goes with a change of about \(\beta_1/100\) units in \(Y\)no standard nameBirthweight in ounces on log family income, 1,388 US births (1988): 2.348, so about 0.023 ounces more per 1% more income
Log-log\(\ln Y = \beta_0 + \beta_1 \ln X + u\)1% more \(X\) goes with a change of about \(\beta_1\)% in \(Y\)elasticityLog CEO salary on log sales, 209 US firms (1990): 0.257, so about 0.26% more salary per 1% more sales

Three readings carry "about" because they rest on one approximation, set out in the derivation below; section 5 gives the exact figures. For a large change, the level-log reading uses the log of the ratio: in these births a doubling of family income goes with \(2.348 \times \ln 2 = 1.63\) ounces more predicted birthweight.

Show where the four readings come from

Compare the model's predictions at two values of \(X\), and write \(\Delta\) for the difference between them.

  1. Level-level. \(\Delta Y = \beta_1 \Delta X\), exactly, with \(\beta_1\) in units of \(Y\) per unit of \(X\).
  2. The approximation. \(\ln(1 + x)\) is close to \(x\) when \(x\) is small (section 5). Hence, for a small change, \(\Delta \ln Y \approx \Delta Y / Y\).
  3. Log-level. \(\Delta \ln Y = \beta_1 \Delta X\). With \(\Delta X = 1\), \(\Delta Y / Y \approx \beta_1\): a change of about \(100\beta_1\)% in \(Y\).
  4. Level-log. \(\Delta Y = \beta_1 \Delta \ln X \approx \beta_1 \Delta X / X\). A 1% rise in \(X\) is \(\Delta X / X = 0.01\), so \(\Delta Y \approx \beta_1 / 100\) units of \(Y\).
  5. Log-log. \(\Delta \ln Y = \beta_1 \Delta \ln X\), so \((\Delta Y / Y)/(\Delta X / X) \approx \beta_1\), the ratio of the two proportional changes: the elasticity.

3. Worked example: log wage on education

A log-level regression is read here from the printout to the sentence a report would carry: the log of the hourly wage on years of education for the same 526 workers (US, 1976).

VariableCoefficientStd. errortp-value95% interval
educ0.08270.007610.94below 0.00050.0679 to 0.0976
constant0.58380.09736.00below 0.00050.3926 to 0.7750

Regression of log wage on years of education: n = 526, R-squared = 0.186.

Code and output:

R: the code

library(wooldridge)
data("wage1")
fit <- lm(lwage ~ educ, data = wage1)
summary(fit)
confint(fit)

R: what it prints

> library(wooldridge)
> data("wage1")
> fit <- lm(lwage ~ educ, data = wage1)
> summary(fit)

Call:
lm(formula = lwage ~ educ, data = wage1)

Residuals:
     Min       1Q   Median       3Q      Max 
-2.21158 -0.36393 -0.07263  0.29712  1.52339 

Coefficients:
            Estimate Std. Error t value Pr(>|t|)    
(Intercept) 0.583773   0.097336   5.998 3.74e-09 ***
educ        0.082744   0.007567  10.935  < 2e-16 ***
---
Signif. codes:  0 ‘***’ 0.001 ‘**’ 0.01 ‘*’ 0.05 ‘.’ 0.1 ‘ ’ 1

Residual standard error: 0.4801 on 524 degrees of freedom
Multiple R-squared:  0.1858,	Adjusted R-squared:  0.1843 
F-statistic: 119.6 on 1 and 524 DF,  p-value: < 2.2e-16

> confint(fit)
                 2.5 %     97.5 %
(Intercept) 0.39255627 0.77498906
educ        0.06787958 0.09760915

Python: the code

import wooldridge
import statsmodels.formula.api as smf

wage1 = wooldridge.data("wage1")
fit = smf.ols("lwage ~ educ", data=wage1).fit()
print(fit.summary())

Python: what it prints

                            OLS Regression Results                            
==============================================================================
Dep. Variable:                  lwage   R-squared:                       0.186
Model:                            OLS   Adj. R-squared:                  0.184
Method:                 Least Squares   F-statistic:                     119.6
Date:                Thu, 08 Oct 2026   Prob (F-statistic):           3.27e-25
Time:                        14:49:40   Log-Likelihood:                -359.38
No. Observations:                 526   AIC:                             722.8
Df Residuals:                     524   BIC:                             731.3
Df Model:                           1                                         
Covariance Type:            nonrobust                                         
==============================================================================
                 coef    std err          t      P>|t|      [0.025      0.975]
------------------------------------------------------------------------------
Intercept      0.5838      0.097      5.998      0.000       0.393       0.775
educ           0.0827      0.008     10.935      0.000       0.068       0.098
==============================================================================
Omnibus:                       11.804   Durbin-Watson:                   1.801
Prob(Omnibus):                  0.003   Jarque-Bera (JB):               13.811
Skew:                           0.268   Prob(JB):                      0.00100
Kurtosis:                       3.586   Cond. No.                         60.2
==============================================================================

Notes:
[1] Standard Errors assume that the covariance matrix of the errors is correctly specified.

The coefficient is read in three steps.

  1. The coefficient itself. Between two workers whose schooling differs by one year, the predicted log wage differs by 0.0827 log points.
  2. 100 times the coefficient. A small difference in \(\ln Y\) is close to the proportional difference in \(Y\), so predicted pay is about 8.3% higher per extra year of schooling, from 8 years to 9 as from 16 to 17.
  3. The exact figure. A difference of \(b\) in \(\ln Y\) multiplies \(Y\) by \(e^{b}\), since \(e^{\ln Y} = Y\). With the coefficient to five decimals, \(e^{0.08274} = 1.0863\): predicted pay is 8.63% higher per year. The two readings are close because the coefficient is small; section 5 shows the gap growing with the coefficient.

The 95% interval, 0.0679 to 0.0976, is read the same way, end by end: about 6.8% to 9.8% higher pay per year, or exactly 7.0% to 10.3%, all percentages of the wage (section 7).

These sentences describe how pay differs with schooling in this sample. The 8.3% is the effect of a year of schooling only under an assumption: given education, the error averages zero, so that nothing left in the error, such as ability, moves with education; in symbols, \(\operatorname{E}[u_i \mid X_i] = 0\) (the Gauss-Markov assumptions). The regression cannot test it, since its residuals are uncorrelated with education by construction, and ability, which is not in the data, gives reason to doubt it.

Not sure which log specification your module wants? Send the question

If a problem set gives a log model and you cannot tell whether the answer is a percentage, an elasticity or a number of units, send the question with the module and the deadline. In a free 30-minute consultation we will go through it.

Send your question Econometrics tutor: how it works

4. Worked example: an elasticity from CEO pay

In a log-log regression the slope is an elasticity, and CEO pay shows how it is read. The data are 209 US firms in 1990 (Wooldridge's CEOSAL1): the chief executive's salary, in thousands of dollars, and the firm's sales, in millions of dollars. In levels the points bunch near the origin, with a few very large firms far out along the axes; in logs the points spread across the range around a straight line (Figure 4).

Two scatter plots of 209 US firms in 1990. Top, in levels: CEO salary in thousands of dollars against firm sales in millions of dollars. Most firms form a cluster at low sales and salaries, and a handful of very large firms, up to about 97650 million dollars of sales and 14822 thousand dollars of salary, spread along the axes. A fitted straight line has slope 0.0155. Bottom, in logs: log salary against log sales, a cloud with a fitted rising line of slope 0.257, spread more evenly across the range.
Figure 4. CEO salary and firm sales bunch near the origin in levels and scatter around a line in logs. 209 US firms, 1990. Top, in levels: CEO salary (thousands of dollars) against sales (millions of dollars); the largest firm has sales of 97,650 million dollars, and the highest salary is 14,822 thousand. The fitted line, \(\text{salary} = 1{,}174 + 0.0155 \times \text{sales}\), has an elasticity of 0.084 at the sample means. Bottom, in logs: the fitted line has slope 0.257, the elasticity at every point. Source: Wooldridge CEOSAL1.
VariableCoefficientStd. errortp-value95% interval
lsales0.25670.03457.44below 0.00050.1886 to 0.3247
constant4.82200.288316.72below 0.00054.2535 to 5.3905

Regression of log salary on log sales: n = 209, R-squared = 0.211.

Code and output:

R: the code

library(wooldridge)
data("ceosal1")
fit <- lm(lsalary ~ lsales, data = ceosal1)
summary(fit)
confint(fit)

R: what it prints

> library(wooldridge)
> data("ceosal1")
> fit <- lm(lsalary ~ lsales, data = ceosal1)
> summary(fit)

Call:
lm(formula = lsalary ~ lsales, data = ceosal1)

Residuals:
     Min       1Q   Median       3Q      Max 
-1.01038 -0.28140 -0.02723  0.21222  2.81128 

Coefficients:
            Estimate Std. Error t value Pr(>|t|)    
(Intercept)  4.82200    0.28834  16.723  < 2e-16 ***
lsales       0.25667    0.03452   7.436  2.7e-12 ***
---
Signif. codes:  0 ‘***’ 0.001 ‘**’ 0.01 ‘*’ 0.05 ‘.’ 0.1 ‘ ’ 1

Residual standard error: 0.5044 on 207 degrees of freedom
Multiple R-squared:  0.2108,	Adjusted R-squared:  0.207 
F-statistic:  55.3 on 1 and 207 DF,  p-value: 2.703e-12

> confint(fit)
                2.5 %    97.5 %
(Intercept) 4.2535378 5.3904554
lsales      0.1886224 0.3247209

Python: the code

import wooldridge
import statsmodels.formula.api as smf

ceosal1 = wooldridge.data("ceosal1")
fit = smf.ols("lsalary ~ lsales", data=ceosal1).fit()
print(fit.summary())

Python: what it prints

                            OLS Regression Results                            
==============================================================================
Dep. Variable:                lsalary   R-squared:                       0.211
Model:                            OLS   Adj. R-squared:                  0.207
Method:                 Least Squares   F-statistic:                     55.30
Date:                Sun, 18 Oct 2026   Prob (F-statistic):           2.70e-12
Time:                        00:14:21   Log-Likelihood:                -152.50
No. Observations:                 209   AIC:                             309.0
Df Residuals:                     207   BIC:                             315.7
Df Model:                           1                                         
Covariance Type:            nonrobust                                         
==============================================================================
                 coef    std err          t      P>|t|      [0.025      0.975]
------------------------------------------------------------------------------
Intercept      4.8220      0.288     16.723      0.000       4.254       5.390
lsales         0.2567      0.035      7.436      0.000       0.189       0.325
==============================================================================
Omnibus:                       84.151   Durbin-Watson:                   1.860
Prob(Omnibus):                  0.000   Jarque-Bera (JB):              403.831
Skew:                           1.507   Prob(JB):                     2.04e-88
Kurtosis:                       9.106   Cond. No.                         70.0
==============================================================================

Notes:
[1] Standard Errors assume that the covariance matrix of the errors is correctly specified.

The slope, 0.257, is the elasticity of salary with respect to sales in these firms: a firm with 1% higher sales goes with about 0.26% higher predicted salary, and one with 10% higher sales with about 2.6%. Exactly, for 10% higher sales the predicted log salary is higher by \(0.2567 \ln 1.1\), so predicted salary is \(1.1^{0.2567}\) times as large: 2.48% more. The 95% interval for the elasticity runs from 0.19 to 0.32. This is an association across these firms, not a statement that higher sales would raise a chief executive's pay.

In a log-log model the slope is the elasticity, and it is the same at every point on the fitted line. It has no units: measuring salary in dollars rather than thousands of dollars, or sales in billions rather than millions, changes the intercept and leaves the slope at 0.257.

5. Exact against approximate percentages

This section gives the exact percentage change behind the reading \(100b\), where \(b\) is the slope of a log-level model, and shows with numbers how far apart the two are. For an estimated coefficient the exact figure is an estimate too.

The reading \(100b\) rests on \(\ln(1 + x)\) being close to \(x\) for small \(x\): a 1% rise is a change of \(\ln 1.01 = 0.0100\) in the log and a 5% rise one of \(\ln 1.05 = 0.0488\), but a 50% rise is one of \(\ln 1.50 = 0.405\). The exact rule runs the other way: a difference of \(b\) in \(\ln Y\) is a ratio of \(e^{b}\) in \(Y\). So, for a one-unit rise in \(X\) in a log-level model, or for a 0/1 regressor switched from 0 to 1, the predicted \(Y\) changes by

$$ \%\Delta Y = 100\,(e^{b} - 1) . $$

In words: exact percentage change = 100 times (e to the power of the coefficient, minus 1).

The exponential undoes the log, subtracting 1 turns the ratio into a change, and the 100 turns a proportion into a percentage: for \(b = 0.05\), \(e^{0.05} = 1.0513\), a change of 5.13% against 5% by the shortcut. In the table, the row for 0.083 is the education coefficient of section 3 rounded to three decimals, and the row for -0.36 is, rounded, the coefficient on a 0/1 regressor for women in the regression of log wage on education and sex (section 8).

Coefficient \(b\)About: \(100b\) (%)Exact: \(100(e^{b} - 1)\) (%)Gap, exact minus about (percentage points)
0.011.001.010.01
0.055.005.130.13
0.0838.308.650.35
0.1010.0010.520.52
0.2020.0022.142.14
0.5050.0064.8714.87
1.00100.00171.8371.83
-0.10-10.00-9.520.48
-0.20-20.00-18.131.87
-0.36-36.00-30.235.77
Line chart. The horizontal axis is the approximate percentage change, 100 times b, from minus 50 to 100. The vertical axis is the exact percentage change, 100 times e to the power b minus 1. A dashed 45-degree line shows where the two agree. The exact curve lies above it everywhere except at zero, bending upwards, and the gap widens with the size of b. Ten points mark the table: at b = 0.2 the exact change is 22.14 per cent against 20.00, at b = 0.5 it is 64.87 against 50.00, at b = 1 it is 171.83 against 100.00, and at b = minus 0.36 it is minus 30.23 against minus 36.00.
Figure 5. The exact percentage change lies above the approximation wherever the coefficient is not zero. The exact change \(100(e^{b} - 1)\) against the approximation \(100b\), for \(b\) from -0.5 to 1, with the dashed 45-degree line where the two would agree. The points are the ten rows of the table, from 171.83% against 100.00% at \(b = 1\) to -30.23% against -36.00% at \(b = -0.36\). Arithmetic from the formula; no data.

The gap is positive in every row: the shortcut understates a rise and overstates a fall. Since \(e^{b} = 1 + b + b^2/2 + \dots\), the gap grows with the square of the coefficient and is close to \(50b^2\) percentage points when \(b\) is small: 0.50 at \(b = 0.10\), against 0.52 in the table. Up to 0.10 in either direction the readings differ by about half a percentage point or less; at 0.20 by 2.14 points, at 0.50 by 14.87 and at 1.00 by 71.83. A report can give the exact figure for any coefficient; for an estimate, its interval comes from the two ends of the coefficient's interval (section 3), not from 100 times the standard error. In a log-log model the exact change for a rise of \(p\) in \(X\), as a proportion, is \(100[(1 + p)^{b} - 1]\)% (section 4).

6. A constant elasticity against a changing one

A log-log model has one elasticity, its slope, at every point; a straight line in levels does not. Along a line \(Y = \beta_0 + \beta_1 X\) the slope is fixed, but the elasticity multiplies it by \(X/Y\), which changes along the line:

$$ \text{elasticity} = \frac{\Delta Y}{\Delta X} \times \frac{X}{Y} = \beta_1 \, \frac{X}{Y} . $$

In words: the elasticity of a straight line = its slope times X divided by Y, at a stated point on the line.

For the wage line of section 1 the elasticity at the sample means is \(0.541 \times 12.56 / 5.90 = 1.15\): at the average schooling and wage, 1% more schooling goes with about 1.15% higher predicted pay. The table gives the elasticity at five points on the line: it falls from 1.39 at 6 years to 1.10 at 18, so an elasticity from a levels model is quoted with its point, such as the sample means.

Years of education69121618
Predicted wage from the unrounded levels line (dollars an hour)2.343.975.597.768.84
Elasticity, \(0.541 \times \text{education} / \text{predicted wage}\)1.391.231.161.121.10

A log-level model has a constant semi-elasticity, but its elasticity is \(\beta_1 X\), which changes with \(X\) too (\(0.0827 \times 12.56 = 1.04\) at the mean schooling). Only the log-log model has one elasticity for every value of \(X\). For the CEO data the levels line of Figure 4 gives \(0.0155 \times 6{,}923.79 / 1{,}281.12 = 0.084\) at the sample means, against 0.257 from the log-log model: different functions of sales give different elasticities.

7. Per cent, percentage points or units?

A log-level coefficient \(b\) is a difference in \(\ln Y\) per unit of \(X\), read as a change of about \(100b\)% in \(Y\). It is not in the units of \(Y\), and it is not in percentage points. Three sentences about the education coefficient of section 3 show the difference.

  • Right: the predicted log wage is 0.0827 log points higher per year of schooling.
  • Right: predicted pay is about 8.3% higher per year of schooling (exactly 8.63%).
  • Wrong: pay is 0.083 dollars an hour higher per year (the levels regression gives 0.54 dollars), or 8.3 percentage points higher.

Percentage points measure the difference between two percentages, or the change in a rate. The last column of the table in section 5 is one: at \(b = 0.20\) the exact 22.14% and the approximate 20.00% differ by 2.14 percentage points. An unemployment rate that goes from 4% to 5% has risen by 1 percentage point, and by 25% of itself, a change of \(\ln 1.25 = 0.223\) in its log. Hence, when \(Y\) is a rate in per cent and enters the regression in levels, its coefficient is in percentage points per unit of \(X\); when the rate is logged, the coefficient is read as about \(100b\)% of the rate per unit of \(X\).

8. A dummy variable in a log model

A 0/1 regressor in a log model is read with the exact rule of section 5, and the choice of the group coded 1 changes the exact figure. In the regression of log wage on female (1 for a woman, 0 for a man), education, experience and tenure, for the same 526 workers, the coefficient on female is -0.3011. Women's predicted pay is about 30.1% below that of men with the same schooling, experience and tenure; exactly, \(e^{-0.3011} = 0.7400\), so it is 74.00% of men's, 26.00% less. Coded the other way round (1 for a man), the coefficient is +0.3011, but the exact figure is \(1/0.7400 = 1.3514\): men's predicted pay is 35.14% above women's, not 26.00%. In the shorter regression of log wage on education and female alone, the coefficient is -0.3609: about 36.1% lower by the shortcut, 30.3% lower exactly. Lesson 14 works through the dummy case slowly.

9. When not to take logs

A variable is better left in levels in the first three cases below; the fourth is a reason for logging that does not hold. Each comes with its reason.

  • It is zero or negative for some observations. The log of zero or of a negative number is not defined. Of the 1,388 mothers in the birthweight data, 1,176 (84.7%) smoked no cigarettes a day, so \(\ln(\text{cigs})\) does not exist for them, and dropping them would turn the question into one about smokers alone. Logging \(1 + X\) instead keeps the zeros but changes what the coefficient measures.
  • It is a rate or a share already in per cent. Left in levels as \(Y\), it has a coefficient in percentage points, the unit of a question about a change in the rate; logged, it gives a percentage of the rate (section 7).
  • Its own units are the question. For years of schooling or a count of children, one more year or one more child is the comparison wanted; a 1% change in two children cannot occur.
  • Not as a cure for heteroskedasticity. Logging \(Y\) changes the question the regression answers, from units to per cent. If the spread of the errors changes with \(X\), the remedy is heteroskedasticity-robust standard errors (robust standard errors; lesson 15 on the course home), with \(Y\) in whichever form answers the question.

10. Log returns in finance

Finance measures returns with logs too. The log return on an asset from one period to the next is the difference of log prices, \(\ln P_t - \ln P_{t-1}\), the continuously compounded return over the period. For a small change it is close to the simple return, the change in price as a share of the starting price: a price that rises from 100 to 110 has a simple return of 10% and a log return of 0.0953. Log returns add up over periods and simple returns do not. If the price then falls to 99, the log returns 0.0953 and -0.1054 add to -0.0101, which is \(\ln 0.99\), the log return over both periods; the simple returns, +10% and -10%, add to 0, although the price has fallen by 1%. Where a dividend is paid during the period, it is added to the later price first. The efficient market hypothesis page tests whether returns can be predicted from past ones.

11. Common mistakes

  • "A log-wage coefficient of 0.0827 means 0.0827 dollars more pay." It is 0.0827 log points: about 8.3% more pay. The levels regression gives 0.54 dollars an hour per year.
  • "A log-level coefficient of 0.20 means 2% more \(Y\) per unit of \(X\)." The decimal point moves two places, not one: about 20% per unit of \(X\), and exactly 22.14%.
  • "\(100b\) is the percentage change." It is the approximation. For \(b = 0.5\) the change is 64.87%, not 50%; for \(b = -0.36\) it is -30.23%, not -36%.
  • "Swapping the base group changes only the sign of the exact percentage." That holds for the coefficient; the exact figure changes size too. The exact figures are 26.00% less for women than men and 35.14% more for men than women.
  • "8.3% is what a year of schooling adds to pay." It describes how pay differs with schooling in this sample. It is the effect of a year of schooling only if nothing left in the error moves with education.

12. Check your understanding

Five questions, marked on the page; every option has an explanation, including the wrong ones. (Without JavaScript the explanations are shown beneath each question.)

1. In 526 US workers (1976), the regression of log hourly wage on years of education gives a coefficient of 0.083, rounded to three decimals. 100 times the coefficient gives about 8.3% higher pay per year of education. What is the exact percentage difference in predicted pay per year for a coefficient of 0.083?

The coefficient is a difference in log wage, 0.083 log points, not a percentage. 100 times it is about 8.3%, and the exact figure is a little larger again, 8.65%.

This is 100 ln 1.083, which runs the rule backwards. A difference of 0.083 in the log wage multiplies predicted pay by \(e^{0.083} = 1.0865\), so the exact figure is 8.65%, above the approximation, not below it.

This is the approximation \(100b\), which misses by 0.35 percentage points here. The exact change is \(100(e^{0.083} - 1) = 8.65\)%.

Correct. A coefficient of 0.083 means predicted log pay is 0.083 higher per year, so predicted pay is multiplied by \(e^{0.083} = 1.0865\): 8.65% higher. For the unrounded coefficient, 0.0827, the figure is 8.63%.

Were you sure?

2. Suppose the regression of \(\ln Y\) on \(\ln X\) gives a slope of 0.8. Which reading of the slope is right?

Multiplying by 100 per unit of X is the log-level reading, where X is not logged. Here X is logged too, so the slope compares two percentages: 1% more X goes with about 0.8% more Y.

Correct. In a log-log model the slope is the elasticity. 1% more X is a difference of about 0.01 in \(\ln X\), so \(\ln Y\) differs by about 0.008: about 0.8%. Exactly, \(100(1.01^{0.8} - 1) = 0.80\)%; for 10% more X it is about 8%, exactly 7.92%. The CEO pay regression on this page has an elasticity of 0.257.

A change in units of Y belongs to a model in which Y is not logged. With \(\ln Y\) on the left, the slope is read in per cent of Y: about 0.8% per 1% of X.

Were you sure?

3. In the 1,388 births of Wooldridge's BWGHT data (US, 1988), 1,176 mothers smoked no cigarettes a day. A student wants \(\ln(\text{cigs})\) as the regressor. What is the problem?

It is \(\ln 1\) that equals 0. The log of 0 is not defined: \(\ln x\) falls without limit as \(x\) approaches 0. So \(\ln(\text{cigs})\) does not exist for the 1,176 non-smokers.

Adding 1 keeps the zeros, but the coefficient then refers to proportional changes in 1 + cigs: from 0 to 1 cigarette a day is a change of \(\ln 2 = 0.693\) in the log, from 10 to 11 a change of 0.087. The percentage reading for cigs itself is lost.

Correct. The log is defined only for positive numbers. For 1,176 of the 1,388 births (84.7%) cigs is 0, so \(\ln(\text{cigs})\) does not exist, and dropping those births would leave a regression about smokers alone.

Were you sure?

4. In a log-level regression the coefficient on \(X\) is -0.20. What is the exact percentage change in predicted \(Y\) when \(X\) is one unit higher?

This is minus the exact figure for +0.20. The exponential is not symmetric: \(e^{-0.20} = 0.8187\), so the fall is 18.13%. A rise of 22.14% from the lower level and a fall of 18.13% from the higher one describe the same two levels seen from either end.

This is the approximation \(100b\), which overstates the fall by 1.87 percentage points. The exact change is \(100(e^{-0.20} - 1) = -18.13\)%.

Correct. Predicted \(\ln Y\) is 0.20 lower, so predicted \(Y\) is multiplied by \(e^{-0.20} = 0.8187\): 18.13% lower. The shortcut, -20%, overstates the fall, as it does for every negative coefficient.

The coefficient is a difference in \(\ln Y\) of -0.20 log points, not a percentage. 100 times it is about -20%, and the exact figure is -18.13%.

Were you sure?

5. In 1,388 US births (1988), birthweight in ounces regressed on the log of family income gives a slope of 2.348; mean birthweight is 118.70 ounces. By about how much does predicted birthweight differ between two families whose incomes differ by 1%?

Correct. In a level-log model, 1% more income is a difference of \(\ln 1.01 = 0.00995\), about 0.01, in the log of income, so predicted birthweight differs by about \(2.348 / 100 = 0.023\) ounces (exactly \(2.348 \times 0.00995 = 0.0234\)). For a doubling of income it is \(2.348 \times \ln 2 = 1.63\) ounces.

2.348 ounces goes with a difference of one in the log of income, which is an income \(e = 2.718\) times as large, 171.83% more. A 1% difference in income is a difference of about 0.01 in its log, so about 0.023 ounces.

This reads the slope as a percentage of birthweight, 2.348% of 118.70 ounces, which is the log-log reading. Here birthweight is in ounces, so the slope is in ounces per unit of log income, and 1% more income goes with about 0.023 ounces.

Multiplying by 100 is the log-level reading, where \(Y\) is logged. Here \(X\) is logged, so the slope is divided by 100 for a 1% change: about 0.023 ounces.

Were you sure?

13. Five questions about logs and elasticities

It is an elasticity: the approximate percentage change in Y that goes with a 1% change in X, the same at every point of the fitted line. In 209 US firms (1990), log CEO salary on log sales gives 0.257: a firm with 1% higher sales goes with about 0.26% higher salary, and 10% higher sales with about 2.6%.

An elasticity is the percentage change in Y per 1% change in X, the slope of a log-log model, and has no units. A semi-elasticity is the proportional change in Y per one-unit change in X, the slope of a log-level model; times 100 it is about the percentage change, as with 0.0827, about 8.3% per year of schooling.

With coefficient b, a one-unit rise in X goes with about a 100b% change in Y, and exactly 100(e^b - 1)%. In 526 US workers (1976), log wage on years of schooling gives b = 0.0827: about 8.3% higher pay per year, exactly 8.63%. The gap grows with b: for b = 0.5 the exact change is 64.87%, not 50%.

To read coefficients as percentage changes or elasticities, and to pull in the long right tail of variables such as wages. In 526 US workers (1976) the skewness of the hourly wage is 2.01 and that of its log 0.39. Steady growth, as in UK real GDP, is close to a straight line in logs.

When the variable can be zero or negative, since the log is then undefined: 1,176 of 1,388 mothers in the birthweight data smoked no cigarettes. Also when it is a rate already in per cent, whose levels coefficient is in percentage points. And not as a cure for heteroskedasticity, which robust standard errors address.

14. Where next

Send the regression output you are stuck on, with the module and the deadline

One-to-one econometrics tuition, from a first regression to dissertation methods. Bring the printout you cannot read, or the log model you cannot interpret, and we will work through it in the free 30-minute consultation.

Book a free 30-minute consultation Econometrics tutor: how it works

Data. Wages: Wooldridge, Introductory Econometrics: A Modern Approach, data set WAGE1 (526 US workers, 1976 Current Population Survey); results quoted, data not republished. Birthweights: Wooldridge, Introductory Econometrics: A Modern Approach, data set BWGHT (1,388 births, 1988 National Health Interview Survey); results quoted, data not republished. Chief executive pay: Wooldridge, Introductory Econometrics: A Modern Approach, data set CEOSAL1 (209 US firms, 1990, a random sample of the data reported in Businessweek of 6 May 1991); results quoted, data not republished. The three are loaded with the wooldridge package in R and in Python. UK GDP: Office for National Statistics, series ABMI (real GDP, chained volume measure, seasonally adjusted), as published in September 2026. Contains public sector information licensed under the Open Government Licence v3.0. The table and Figure 5 in section 5 are arithmetic from the formula and use no data.

Free 30-min consultationNo obligation · reply within one business day
Book now