Analyst Dojo
Lesson 6 of 7 11–14% of the exam

Functional forms: log-lin, lin-log and log-log models

Logs straighten curves. Log-lin (ln Y on X): one more unit of X changes Y by a constant percentage (compound growth). Lin-log (Y on ln X): 1% more X changes Y by a constant amount (fading effects). Log-log (ln Y on ln X): the slope is an elasticity.

7 min cram, 36 min full read. Based on the 2027 CFA® Program Level I curriculum, Quantitative Methods, Learning Module 10. Sitting in November 2026? The 2026 version of this lesson is still available.

Tailor this to you: take the self-assessment

Before this: The four regression assumptions and what residual plots reveal

On the exam

  • Calculate and interpret predicted values, the standard error of the estimate, and prediction intervals for the dependent variable in a simple linear regression model and describe different functional forms

Describe different functional forms. Expect to pick the form from the interpretation wanted (a constant percentage change in Y per unit of X is log-lin), to convert a log-lin prediction back with e^x or a change with e^(b̂₁ΔX) − 1, to read a log-log slope as an elasticity, and to know that R² cannot be compared across different dependent variables.

How deeply to learn each part
Know the idea
Understand it in general. It frames other topics, but you will not calculate with it.
Use it
Understand it well enough to solve a question with it. Recognize when it applies.
Memorize
Learn it by heart. The exam will not give it to you.

You know this one. The full lesson is folded away. The takeaways, formulas and checkpoint below are your quick refresher, and the checkpoint is a fair test of whether you still do.

You tested strong here. The full lesson is folded away. The takeaways, formulas and checkpoint below are your quick refresher, and the checkpoint is a fair test of whether you still know it.

Cram mode: the one-screen version of this lesson. Switch to Full for the explanations, worked examples and interactives.

What if the relationship is not a straight line?

A straight line fits some relationships badly. If a company’s revenue compounds at a steady percentage, a scatter against time bends upward, and the residuals of a linear fit trace a U. The remedy is to change the functional form : replace Y, X or both with their logarithms. The natural logarithm transformation turns multiplicative growth into additive steps, which a straight line handles. Logs are the usual choice; other transformations such as squares, reciprocals and differences (changes instead of levels) can also straighten a relationship.

The regression machinery is unchanged. Everything from the earlier lessons (least squares, the coefficient of determination R², t-tests, the standard error of the estimate, ses_e) works on the transformed variables. What changes is what the slope means and how you predict.

Choosing a functional form
Which side of the equation is in logs?logs straighten a curved scatter
  • Neither: lin-lin Use it the ordinary straight-line model
  • Y only: log-lin Memorize ln Y = b₀ + b₁X
    • Use for constant percentage growth over time
    • Slope relative change in Y per unit X
  • X only: lin-log Memorize Y = b₀ + b₁ ln X
    • Use for diminishing effects
    • Slope change in Y per relative change in X
  • Both: log-log Memorize ln Y = b₀ + b₁ ln X
    • Use for constant-elasticity relations
    • Slope elasticity, % change in Y per 1% in X

Which form for which relationship?

FormA change in X ofchanges Y byUse whenOur example
Log-linone unita constant percentage, about b̂₁ × 100% (exactly e^(b̂₁) − 1)steady growth or decayrevenue compounding each year; a balance shrinking by a constant share each period
Lin-log1%a constant amount, about b̂₁ ÷ 100each extra unit of X adds less (saturation)margin and sales volume
Log-log1%b̂₁ percenta constant elasticityadvertising and sales; price and quantity demanded

What is the log-lin model?

In the log-lin model (also called log-linear) only Y is in logs.

Log-lin model Memorize
ln⁡Yi=b0+b1Xi+εi\ln Y_i = b_0 + b_1 X_i + \varepsilon_i

The slope is the relative change in Y for a one-unit change in X. For small values, b1×100b_1 \times 100 is the percentage growth; the exact growth is eb1−1e^{b_1} - 1. This is the model for compound growth over time, with X as the time period.

To predict Y you must reverse the log:

Converting a log-lin prediction back to Y Memorize
Y^=eb^0+b^1X\hat{Y} = e^{\hat{b}_0 + \hat{b}_1 X}
Rearrange itLog-lin prediction: solve for any one
The question asks for
A log-lin model is ln Y = 4.2 + 0.065X. For X = 10, the predicted Y is closest to:

e^(4.2 + 0.065 × 10) = e^4.85 = 127.7404

Predicted Y127.7404

On your calculator
  1. 0.065×10+4.2=2NDe^x

2ND second function (the shifted label above a key) · e^x e to the power x

  1. 0.065ENTER10×4.2+ge^x

ENTER enter (on the HP, puts the number on the stack) · g blue shift key · e^x e to the power x

For a change of more than one unit, compound the slope: eb^1ΔX−1e^{\hat{b}_1 \Delta X} - 1.

Percentage change in Y in a log-lin model Use it
%ΔY=eb^1ΔX−1\%\Delta Y = e^{\hat{b}_1 \Delta X} - 1

What is the lin-log model?

In the lin-log model (also called linear-log) only X is in logs. Equal percentage rises in X give equal absolute rises in Y, so the effect of each extra unit of X fades as X grows.

Lin-log model Memorize
Yi=b0+b1ln⁡Xi+εiY_i = b_0 + b_1 \ln X_i + \varepsilon_i

The slope is the change in Y for a relative change in X: a 1% rise in X changes Y by about b1×0.01b_1 \times 0.01.

Percent or percentage points? When Y is itself a rate in percent, such as a margin, a linear model’s slope is a change in percentage points, and so is a lin-log model’s: a 1% rise in units changes the margin by 1.5 ÷ 100 = 0.015 percentage points. Only a model with ln Y gives a percent change in Y. Keep percent versus percentage point straight: a margin rising from 8% to 9% is a rise of 1 percentage point, or 12.5% in percent terms.

What is the log-log model?

In the log-log model both variables are in logs.

Log-log model Memorize
ln⁡Yi=b0+b1ln⁡Xi+εi\ln Y_i = b_0 + b_1 \ln X_i + \varepsilon_i

The slope is an elasticity : the percentage change in Y for a 1% change in X. It is the standard way to estimate a demand curve with constant elasticity.

Rearrange itLog-log elasticity: solve for any one
The question asks for
In a log-log model the slope is 0.7. A 4% rise in X is associated with a change in Y closest to:

0.7 × 4% = 2.8%

Approximate change in Y2.80%

On your calculator
  1. 0.7×4=
  1. 0.7ENTER4×

ENTER enter (on the HP, puts the number on the stack)

Loading the interactive

How do you choose the form?

Start from economic or financial theory about how Y should respond to X, then check goodness of fit and the residual patterns. Look at the scatter and the residual plot of a linear fit. A curved pattern in the residuals is the signal. Try the transformation that matches the economics: compounding growth suggests log-lin, fading effects suggest lin-log, constant percentage responses suggest log-log. The right form leaves residuals that look like random noise.

You can compare candidate models using R², F and ses_e, but only when the dependent variable is the same. The R² of a model for ln Y and the R² of a model for Y describe the variation of different things, so they cannot be compared directly.

Exam tip Name the form by where the logs are: log on Y only is log-lin, on X only is lin-log, on both is log-log. Then say what the slope is a change in.

Go deeper Why compound growth is linear in logs

If revenue grows by the same factor each year, Yt=Y0(1+g)tY_t = Y_0 (1+g)^t, then ln⁡Yt=ln⁡Y0+tln⁡(1+g)\ln Y_t = \ln Y_0 + t\ln(1+g). That is a straight line in tt with slope ln⁡(1+g)\ln(1+g), the continuously compounded growth rate you met in the rates and returns lessons. Regressing the log of revenue on time estimates that rate directly, and eb1−1e^{b_1} - 1 converts it to the ordinary annual growth.

Go deeper Elasticities in economics

The price elasticity of demand is the percentage change in quantity for a 1% change in price. A log-log demand regression estimates it as a constant across all prices, which is why the form appears in economics. A slope of −1.2 means a 1% price rise cuts quantity by about 1.2%, and demand is elastic.

Memorize this

MemorizeThree functional forms

ModelEquationSlope meansFits
Log-linln⁡Y=b0+b1X\ln Y = b_0 + b_1Xone more unit of X: about b1×100%b_1 \times 100\% in Y; exactly eb1ΔX−1e^{b_1 \Delta X} - 1 for a change ΔX\Delta Xsteady percentage growth
Lin-logY=b0+b1ln⁡XY = b_0 + b_1\ln X1% more X: Y changes by about b1÷100b_1 \div 100 (units of Y)effects that fade as X grows
Log-logln⁡Y=b0+b1ln⁡X\ln Y = b_0 + b_1\ln Xelasticity: % change in Y per 1% change in Xconstant-elasticity relations

Memory hook Read the model name as "Y-side, X-side": the log sits on the side that is measured in percent. Log on Y means Y moves in percent; log on X means X moves in percent. Log on both: percent per percent.

Know it cold A prediction from a model with ln Y must be exponentiated: Y = e^(predicted ln Y). A change of ΔX in a log-lin model: eb1ΔX−1e^{b_1 \Delta X} - 1. Compare R² only between models with the same dependent variable.

Choosing a functional form
Which side of the equation is in logs?logs straighten a curved scatter
  • Neither: lin-lin Use it the ordinary straight-line model
  • Y only: log-lin Memorize ln Y = b₀ + b₁X
    • Use for constant percentage growth over time
    • Slope relative change in Y per unit X
  • X only: lin-log Memorize Y = b₀ + b₁ ln X
    • Use for diminishing effects
    • Slope change in Y per relative change in X
  • Both: log-log Memorize ln Y = b₀ + b₁ ln X
    • Use for constant-elasticity relations
    • Slope elasticity, % change in Y per 1% in X
Log-lin model Memorize
ln⁡Yi=b0+b1Xi+εi\ln Y_i = b_0 + b_1 X_i + \varepsilon_i
Quick example

ln Y = 1.0 + 0.10X. At X = 3, ln Y = 1.30, so Y = e^1.30 = 3.67. The slope says Y grows about 10% per unit of X.

On your calculator
  1. 0.1×3+1=2NDe^x 3.6693

2ND second function (the shifted label above a key) · e^x e to the power x

  1. 0.1ENTER3×1+ge^x 3.6693

ENTER enter (on the HP, puts the number on the stack) · g blue shift key · e^x e to the power x

Lin-log model Memorize
Yi=b0+b1ln⁡Xi+εiY_i = b_0 + b_1 \ln X_i + \varepsilon_i
Quick example

Y = 4 + 2 ln X. X rises from 50 to 60. Y changes by 2 × ln(60 ÷ 50) = 2 × 0.1823 = 0.36.

On your calculator
  1. 60÷50=LN×2= 0.3646

LN natural logarithm

  1. 60ENTER50÷gLN2× 0.3646

ENTER enter (on the HP, puts the number on the stack) · g blue shift key · LN natural logarithm

Log-log model Memorize
ln⁡Yi=b0+b1ln⁡Xi+εi\ln Y_i = b_0 + b_1 \ln X_i + \varepsilon_i
Quick example

Price elasticity of demand b₁ = −1.2. A 5% price rise goes with a change in quantity of about −1.2 × 5% = −6%.

On your calculator
  1. 1.2+|-×5= −6

+|- change sign

  1. 1.2CHSENTER5× −6

CHS change sign · ENTER enter (on the HP, puts the number on the stack)

Percentage change in Y in a log-lin model Use it
%ΔY=eb^1ΔX−1\%\Delta Y = e^{\hat{b}_1 \Delta X} - 1
Quick example

b̂₁ = 0.04 and X rises by 5: e^0.20 − 1 = 22.14% (0.04 × 5 = 20% is only the approximation).

On your calculator
  1. 0.04×5=2NDe^x−1= 0.2214

2ND second function (the shifted label above a key) · e^x e to the power x

  1. 0.04ENTER5×ge^x1− 0.2214

ENTER enter (on the HP, puts the number on the stack) · g blue shift key · e^x e to the power x

Converting a log-lin prediction back to Y Memorize
Y^=eb^0+b^1X\hat{Y} = e^{\hat{b}_0 + \hat{b}_1 X}
Quick example

ln Y = 2.0 + 0.05X. At X = 20: ln Y = 3.0, so Y = e^3.0 = 20.09.

On your calculator
  1. 0.05×20+2=2NDe^x 20.0855

2ND second function (the shifted label above a key) · e^x e to the power x

  1. 0.05ENTER20×2+ge^x 20.0855

ENTER enter (on the HP, puts the number on the stack) · g blue shift key · e^x e to the power x

How it is asked

  1. Predict from a log-lin model

    ln Y = 1.6 + 0.07X. Predicted Y at X = 6?

    ln Y = 2.02, so Y = e^2.02 = 7.54. Trap: 2.02 is the log, not Y.

  2. Elasticity

    ln Quantity = 5.1 − 0.8 ln Price. Price up 5%?

    Quantity down about 0.8 × 5% = 4%.

  3. Which model fits growth?

    Y should change by a constant percentage for each one-unit change in X. Best model?

    Log-lin: ln Y on X.

  4. Exact percentage change

    ln Y = 1.5 + 0.06X. X rises by 5.

    e^0.30 − 1 = 34.99%. Trap: 0.06 × 5 = 30%.

Exam traps

  • Reading a log-lin slope as an absolute change in Y: it is a relative (percentage) change.
  • Forgetting to exponentiate a prediction from a model with ln Y.
  • Comparing R² across models with different dependent variables (Y versus ln Y).
  • Reading a log-log slope as a change in units: it is a percent-per-percent elasticity.
  • Using b̂₁ΔX as the percentage change for a large change in X in a log-lin model; the exact change is e^(b̂₁ΔX) − 1.

Checkpoint

4 exam-style questions. About 90 seconds each.

  1. 1A log-lin model is ln Y = 2.1 + 0.08X. For X = 5, the predicted Y is closest to:

  2. 2In the model ln(Sales) = 3.0 + 0.6 ln(Price index), a 10% rise in the price index is associated with sales closest to:

  3. 3Revenue that grows at a roughly constant percentage each year is best modeled with a:

  4. 4A lin-log model is Y = 4.0 + 2.5 ln X. When X rises from 80 to 100, the predicted change in Y is closest to:

Key takeaways

  • Log-lin: relative change in Y per unit of X (growth). Lin-log: change in Y per relative change in X. Log-log: elasticity.
  • Exponentiate predictions from models whose dependent variable is ln Y.
  • For a change ΔX in a log-lin model, Y changes by e^(b̂₁ΔX) − 1.
  • Pick the form that leaves boring residuals, and compare fit only with the same dependent variable.
Log-lin model Memorize
ln⁡Yi=b0+b1Xi+εi\ln Y_i = b_0 + b_1 X_i + \varepsilon_i
Quick example

ln Y = 1.0 + 0.10X. At X = 3, ln Y = 1.30, so Y = e^1.30 = 3.67. The slope says Y grows about 10% per unit of X.

On your calculator
  1. 0.1×3+1=2NDe^x 3.6693

2ND second function (the shifted label above a key) · e^x e to the power x

  1. 0.1ENTER3×1+ge^x 3.6693

ENTER enter (on the HP, puts the number on the stack) · g blue shift key · e^x e to the power x

Lin-log model Memorize
Yi=b0+b1ln⁡Xi+εiY_i = b_0 + b_1 \ln X_i + \varepsilon_i
Quick example

Y = 4 + 2 ln X. X rises from 50 to 60. Y changes by 2 × ln(60 ÷ 50) = 2 × 0.1823 = 0.36.

On your calculator
  1. 60÷50=LN×2= 0.3646

LN natural logarithm

  1. 60ENTER50÷gLN2× 0.3646

ENTER enter (on the HP, puts the number on the stack) · g blue shift key · LN natural logarithm

Log-log model Memorize
ln⁡Yi=b0+b1ln⁡Xi+εi\ln Y_i = b_0 + b_1 \ln X_i + \varepsilon_i
Quick example

Price elasticity of demand b₁ = −1.2. A 5% price rise goes with a change in quantity of about −1.2 × 5% = −6%.

On your calculator
  1. 1.2+|-×5= −6

+|- change sign

  1. 1.2CHSENTER5× −6

CHS change sign · ENTER enter (on the HP, puts the number on the stack)

Percentage change in Y in a log-lin model Use it
%ΔY=eb^1ΔX−1\%\Delta Y = e^{\hat{b}_1 \Delta X} - 1
Quick example

b̂₁ = 0.04 and X rises by 5: e^0.20 − 1 = 22.14% (0.04 × 5 = 20% is only the approximation).

On your calculator
  1. 0.04×5=2NDe^x−1= 0.2214

2ND second function (the shifted label above a key) · e^x e to the power x

  1. 0.04ENTER5×ge^x1− 0.2214

ENTER enter (on the HP, puts the number on the stack) · g blue shift key · e^x e to the power x

Converting a log-lin prediction back to Y Memorize
Y^=eb^0+b^1X\hat{Y} = e^{\hat{b}_0 + \hat{b}_1 X}
Quick example

ln Y = 2.0 + 0.05X. At X = 20: ln Y = 3.0, so Y = e^3.0 = 20.09.

On your calculator
  1. 0.05×20+2=2NDe^x 20.0855

2ND second function (the shifted label above a key) · e^x e to the power x

  1. 0.05ENTER20×2+ge^x 20.0855

ENTER enter (on the HP, puts the number on the stack) · g blue shift key · e^x e to the power x

All Quantitative Methods formulas, every lesson

Practice exam-style questions on Simple Linear Regression in Finance

Questions about this lesson?

Where this comes back

Questions candidates ask

How do you interpret a log-lin regression coefficient?

In ln Y = b₀ + b₁X, the slope is the relative change in Y for a one-unit rise in X. A slope of 0.065 means Y grows about 6.5% per unit of X (exactly e^0.065 − 1 = 6.7%). It is not an absolute change in Y. For a change of ΔX, use e^(b₁ΔX) − 1.

What does the slope mean in a log-log model?

It is an elasticity: the approximate percentage change in Y for a 1% change in X. With ln Sales = 1.8 + 0.4 ln Advertising, a 1% rise in advertising goes with about a 0.4% rise in sales.

When should you use a log transformation in regression?

When theory says Y responds in percentages, or when a scatter or residual plot is curved or fanning: compounding growth (log-lin), effects that fade (lin-log) or constant elasticities (log-log). Choose the form that leaves patternless residuals.

Spotted an error? Tell us and we will fix it.

  1. The regression line: slope, intercept and least squares
  2. The four regression assumptions and what residual plots reveal
  3. Goodness of fit and testing the regression coefficients
  4. The ANOVA table and the standard error of the estimate
  5. Predicting Y and building a prediction interval
  6. Functional forms: log-lin, lin-log and log-log models
  7. Estimating beta with a CAPM regression

Ask Sensei Listen instead

Questions on Functional forms: log-lin, lin-log and log-log models

Learn with Sensei, out loud The voice tutor, in early access

Sensei teaches the lesson aloud and stops when you interrupt: "wait, why is the geometric mean lower?" It answers with the lesson's own example, then quizzes you by voice. Every account can try Sensei on one module, with one voice question.

USD 149 a month founding price (regular USD 199), kept for as long as you stay subscribed. Everything in Plus included.

In active development and improving every day. Send feedback · Plans and pricing

Analyst Dojo Plus

Your free review list holds 10 items.

Plus keeps everything you save, for USD 19 a month. To make room on the free plan, remove something from your review list.

See Plus

Lessons, checkpoints and the lesson questions in practice stay free. Compare plans