Logistic regression and its interpretation

Logistic regression and its interpretation

Published September 28, 2026

Logistic regression and its interpretation

On this page

Learning Outcome Statement

Formulate and interpret a logistic regression model.

On the exam: You receive a binary outcome, predictor values, fitted logistic coefficients, and sometimes a test statistic. You build the linear predictor, calculate or identify the predicted probability, and interpret coefficient signs or significance in a short calculation or multiple-choice question.

A lender predicts whether a borrower defaults over the next 12 months, not the size of a default loss. The outcome has only two states, so a straight-line prediction could wander below $0$ or above $1$. Logistic regression first creates a score on the log-odds scale, then converts that score into a probability. You need to keep those two scales separate.

Start with the probability of default, $p$. The observed outcome is $Y$, coded $1$ for default and $0$ for no default. The financial predictors run from $X_1$ through $X_k$, where $k$ is the number of predictors, and the model gives them slopes $\beta_1$ through $\beta_k$. The intercept is $\beta_0$, and their combined score is the linear predictor $z$.

TermSymbolValue or rule
Outcome$Y$$1$ default, $0$ no default
Probability$p$Default probability
Predictor$X_j$Cross-sectional ratio
Coefficient$\beta_j$Log-odds per unit
Linear predictor$z$Log-odds
DataSampleBorrowers at origination
Null test$H_0:\beta_j=0$Two-tailed by default
SignificanceStatistical vs economicSeparate judgments

Leverage and liquidity are cross-sectional financial ratios, not annualized rates or percentages. The fitted estimates come from a sample of borrowers. Read each estimate from the lender's perspective while holding other predictors constant. Keep statistical significance separate from economic significance.

The model keeps the score linear in the predictors while the probability stays between $0$ and $1$. The equation below bridges those two scales.

$$ \operatorname{logit}(p)=\ln\left[\frac{p}{1-p}\right]=\beta_0+\beta_1X_1+\cdots+\beta_kX_k $$

The left side is the log-odds, formed from odds $p/(1-p)$. The intercept $\beta_0$ sets the starting score when predictors equal zero. Each $\beta_jX_j$ contribution moves the score according to its sign while the other predictors stay fixed.

Once you have the score, $z$, convert it into the predicted probability. Here, $e$ is Euler's number. Use the following logistic conversion.

$$ p=\frac{e^z}{1+e^z} $$

ScaleChange from a one-unit $X_j$ increaseNumerical bounds
Log-oddsAdds $\beta_j$None
OddsMultiplies by $e^{\beta_j}$Positive
ProbabilityDepends on starting $p$Between $0$ and $1$

Because this conversion rises with $z$, a positive coefficient raises odds and predicted probability, while a negative coefficient lowers them. A coefficient changes log-odds directly, and a unit increase in its predictor multiplies odds by $e^{\beta_j}$. A common mistake is to treat $\beta_j$ as a fixed percentage-point change in probability because it is the coefficient attached to $X_j$, but the giveaway is that the effect depends on starting $p$ and the other predictors held constant. For an individual coefficient, test $H_0:\beta_j=0$ against a two-tailed alternative unless the question specifies another tail, use the supplied test statistic, critical value, or p-value to decide, and keep statistical significance separate from economic significance.

.

When a case gives you a borrower and fitted coefficients, use this order. The image summarizes the path from financial ratios to a bounded default probability; the flowchart turns that path into a repeatable sequence. First confirm how the outcome is coded, then calculate the score from the supplied estimates. Convert only after the score is complete, and keep the other predictors fixed when interpreting one coefficient. Finish by checking the requested statistical test.

Loading diagram…

Worked example

You are handed a lender's model fitted to a sample of borrowers. It predicts default over the next 12 months from leverage and liquidity ratios observed at loan origination. One borrower has the leverage and liquidity values shown below. You need to calculate the default probability and interpret both coefficient signs.

QuantityGiven value
Intercept, $\beta_0$$-1.2$ log-odds
Leverage, $X_1$$2$ ratio
Liquidity, $X_2$$1.5$ ratio
Leverage coefficient, $\beta_1$$0.8$ log-odds per ratio unit
Liquidity coefficient, $\beta_2$$-0.6$ log-odds per ratio unit
Euler's number, $e$$2.718281828$ dimensionless

With liquidity fixed at $1.5$ and all coefficients fixed, the line below shows the model's default probability as leverage changes. It is a sensitivity view, so only leverage moves. Read the horizontal values as leverage ratios and the vertical values as predicted probabilities. The curve rises because the leverage coefficient is positive, while the fixed liquidity contribution stays embedded in every point. These values help you check direction and scale before calculating the borrower's specific result; they are not a separate fitted model.

Loading diagram…

The plotted points are listed below. Compare adjacent rows to see that equal one-unit increases in leverage do not produce equal probability increases. The model adds the same leverage contribution to log-odds each time, but the conversion to probability depends on the starting score. Use the rows as a numerical check on that pattern, then return to the stated borrower values rather than substituting a point from the sensitivity view.

Leverage ratioDefault probability
0.500.1545
1.500.2891
2.500.4750
3.500.6682
  1. Multiply the leverage coefficient by the leverage ratio to isolate its contribution to log-odds. The calculation is $\beta_1X_1=0.8\times2=1.60$. This produces $1.60$ log-odds.

  2. Multiply the liquidity coefficient by the liquidity ratio. Its negative sign records a downward contribution. The calculation is $\beta_2X_2=-0.6\times1.5=-0.90$. The result is $-0.90$ log-odds.

  3. Add the intercept and both contributions to form $z$. The calculation is $z=-1.2+1.60+(-0.90)=-0.5000$. The linear predictor is $-0.5000$ log-odds.

  4. Exponentiate the linear predictor to get odds, because the probability conversion uses odds. The calculation is $\mathrm{odds}=e^{-0.5000}=0.6065$. The odds are $0.6065$.

  5. Convert odds to a bounded probability. The calculation is $p=0.6065/(1+0.6065)=0.3775$. The predicted probability is $0.3775$.

Since the conversion is increasing, the positive leverage coefficient $0.8$ raises default risk when liquidity is held constant. The negative liquidity coefficient $-0.6$ lowers default risk when leverage is held constant. For the lender, $0.3775$ is the model-implied default probability used in risk comparison, not a percentage-point change read from a coefficient.

Changed condition

Now the lender sees the same model, but only the leverage input changes. Liquidity remains fixed, and all coefficients and conventions remain unchanged. Predict the direction before checking the table.

MeasureBeforeAfter
Leverage ratio22.5
Linear predictor, $z$-0.5000-0.1000
Default probability, $p$0.37750.4750

Your prediction should have been an upward move. The positive leverage coefficient adds log-odds as leverage rises, so $z$ moves from $-0.5000$ to $-0.1000$ and predicted probability moves from $0.3775$ to $0.4750$. The probability change cannot be read as a fixed percentage-point copy of $0.8$, because the logistic conversion depends on the starting probability and the other predictor. Before reading on, calculate the changed odds yourself.

Common error

You see the positive leverage coefficient $0.8$ and report that a unit increase in leverage raises default probability by $0.8$ percentage points. That feels right because you can read the sign directly and the coefficient sits beside the predictor in the model. But the model is stated in log-odds, not probability, so you must evaluate the effect at the starting probability with the other predictors held constant.

Calculator

For the worked borrower, key the inputs before applying the exponential and probability conversion.

KeysDisplay
0.8 ENTER0.8
2 ENTER2
-0.6 ENTER-0.6
1.5 ENTER1.5
-1.2 ENTER-1.2
0.8 × 2 =1.60
-0.6 × 1.5 =-0.90
-1.2 + 1.60 + (-0.90) =-0.5000
2ND LN0.6065
÷ (1 + 0.6065) =0.3775

Check yourself

Practice

A lender predicts borrower default over the next 12 months. Default is coded 1 and no default is coded 0. The fitted model uses leverage and liquidity ratios.

Question 1

Using the stated model, calculate the default probability for leverage ratio 2 and liquidity ratio 1.5. The intercept is -1.2, the leverage coefficient is 0.8, and the liquidity coefficient is -0.6.

Question 2

Holding liquidity constant, what does the leverage coefficient 0.8 imply from the lender's perspective?

Question 3

For an individual coefficient, which hypothesis test follows the default convention?

Question 4

A coefficient is statistically significant. Which conclusion is justified?

Leverage changes from 2 to 2.5 while liquidity and coefficients stay fixed. Which result follows?

Revision snapshot

The model starts by turning a probability into log-odds. That scale lets each predictor add its contribution, with the intercept and coefficients shown below.

$$ \operatorname{logit}(p)=\ln\left[\frac{p}{1-p}\right]=\beta_0+\beta_1X_1+\cdots+\beta_kX_k $$

When the model has a linear predictor $z$, it turns that score back into the predicted probability.

$$ p=\frac{e^z}{1+e^z} $$

A positive coefficient raises log-odds, odds, and probability when you hold the other predictors constant. Its percentage-point effect depends on the starting probability, so do not read it as a direct probability change. Test $H_0:\beta_j=0$ against a two-tailed alternative unless specified otherwise, and do not treat statistical significance as proof of economic significance. On the exam, build $z$, convert it to $p$, then read coefficient signs and the test result.

Unlock the full lesson and continue reading

Signup to continue reading this lesson and unlimited access questions, flashcards, AI notes, and more

Scan to download app

Scan to download
UNLOCK FREE ACCESS

Practice Questions: Logistic regression and its interpretation

  1. 1. Northstar Analytics develops forecasting and classification models for an asset manager. Its first project examines monthly returns and price levels for a broad commodity index. The estimated models and selected diagnostics are presented in Exhibit 1. The innovations in each model have an estimated mean of zero. For the Return Model, the analyst treats the process as a covariance-stationary AR(1) model if the absolute value of its autoregressive coefficient is less than one. The analyst also checks whether residual autocorrelation remains after estimation. The Ljung–Box test has a null hypothesis that the tested residual autocorrelations are jointly zero. The Price Model produces a high R-squared, but the analyst recognizes that a high goodness-of-fit measure does not establish stationarity. The unit-root test fails to reject its null. Northstar therefore considers whether a transformation is required before using the series in predictive regressions or drawing conventional statistical inferences. The second project predicts corporate defaults using accounting, market, and macroeconomic variables observed monthly from 2012 through 2023. Because predictions will be used prospectively, Northstar proposes training on 2012–2020 data, validating hyperparameters on 2021 data, and reserving 2022–2023 as a final test period. Missing-value imputation and variable standardization must be estimated without using validation or test observations. Another analyst instead proposes randomly mixing all dates and standardizing the variables using the entire sample before splitting the data. The default model's final test-period classification results appear in Exhibit 2. A positive classification denotes a predicted default. The credit team is particularly interested in precision because investigating predicted defaults is costly, although it also monitors recall and overall accuracy. Northstar's governance policy requires that the final test set be evaluated only after model architecture, variables, and hyperparameters have been selected. Repeatedly using test results to modify the model would convert the test sample into another validation sample and overstate genuinely out-of-sample performance.

    • 2. Aster Quantitative Strategies is developing a systematic equity allocation model. The research team first models a monthly market valuation spread using the first-order autoregressive specification in Exhibit 1. The spread and intercept use the same units. The team treats the process as covariance stationary when the absolute value of the autoregressive coefficient is less than one and wants to estimate the level toward which the spread reverts over long horizons. A second team develops a machine-learning model that predicts next-month cross-sectional equity returns. The candidate predictors consist of accounting variables, price and volume measures, analyst language, and news sentiment. All predictors are standardized using parameters estimated within the applicable training sample. Because the number of predictors is large relative to the useful signal, the team considers lasso regression. Its objective function combines prediction error with an L1 penalty on coefficient magnitude. The team is willing to trade some in-sample fit for reduced variance and a more parsimonious model. It does not assume that regularization will correct time-series dependence or poor data quality. For portfolio-risk analysis, Aster generates 20,000 one-year price paths under geometric Brownian motion using a common set of estimated parameters. The team reports the fifth percentile of simulated portfolio returns as a lower-tail threshold. It separately considers calculating the average return among observations below that percentile. The news archive used to construct sentiment scores includes only companies still listed when the archive was extracted. Delisted and failed companies are absent even when their historical news was originally available. The team recognizes that this feature can create survivorship bias and make historical model performance appear stronger than performance obtainable in real time. Exhibit 2 summarizes the simulation, archive, and model-selection procedures.

      • 3. Summit Systematic Strategies is developing a monthly equity-market forecasting process. Quantitative analyst Noah Reed initially proposes using the logarithm of an equity index's price level as the dependent variable in a conventional regression. Because a nonstationary series can produce misleading significance and spurious relationships, the research director requires Reed to test both the log price level and its first difference. Exhibit 1 reports augmented Dickey–Fuller test results. For these tests, the null hypothesis is that the series has a unit root, and the firm uses a 5% significance level. Reed also estimates a first-order autoregressive model for monthly returns. Returns and the intercept in Exhibit 1 are expressed in decimal form in the model, although the most recent observation is displayed as a percentage. The innovation has a conditional expected value of zero. The director asks for a one-period point forecast based solely on the stated model and most recent return; no simulation adjustment or long-run mean estimate is required. The second phase of the project classifies whether the next month's index return will be positive. Reed considers a random forest and a simpler logistic regression. The available observations are ordered through time, and the model will be used prospectively. Exhibit 2 presents model accuracy and Reed's proposed validation method. The outcome classes are approximately balanced, and identical classification thresholds are used for both models. The random forest's hyperparameters were repeatedly adjusted to improve training accuracy. The director emphasizes that model selection should reflect performance on data unavailable during fitting rather than training accuracy alone. He also requires the validation design to preserve the information set that would have existed at each historical prediction date. Randomly moving future observations into the development sample would not satisfy that requirement. One candidate predictor is a macroeconomic series that is initially published shortly after month-end and subsequently revised. Reed's database contains only the final revised values, which were released two months after each associated prediction date. He proposes using those final values without reconstructing the real-time publication history. All security identifiers remain in the data regardless of whether the issuer later leaves the index, and the positive and negative outcome classes have similar frequencies. The director asks Reed to identify the principal bias created by the proposed macroeconomic feature.

        • 4. Atlas Systematic Strategies is developing a model to forecast daily returns on an exchange-traded fund and a separate classifier to identify issuers likely to experience financial distress. All observations have reliable event timestamps, but the raw vendor file contains both current security identifiers and historical identifiers. The research director requires the team to recreate the information set that would have existed at each forecast date. Before estimating the return model, the team tests the ETF price level, its first difference, and its daily return for stationarity. Exhibit 1 reports augmented Dickey–Fuller test results using a 5% significance level. The team is not testing for cointegration and intends to use a conventional model requiring stationary input series. An analyst proposes using the ETF price level without transformation because the series contains more intuitive economic information. Another analyst warns that unrelated nonstationary series can produce apparently significant but spurious relationships. The team then divides the return observations chronologically into training, validation, and final test samples. Three candidate models are fitted using identical predictors. Exhibit 2 reports training and validation root mean squared error; lower RMSE indicates better predictive performance. The final test sample has not been examined and will be used only once after the model is selected. The director instructs the team not to select a model based solely on its training error. For the distress project, distress is the positive class. Exhibit 3 presents results from a separate holdout sample. The investment application places particular importance on identifying issuers that actually become distressed, so the team examines recall as well as precision and overall accuracy. The data engineer also reviews controls for look-ahead and survivorship bias. She proposes retaining original release timestamps for alternative data, using security-universe membership as known on each historical date, fitting all scaling parameters only on the training sample, and preserving chronological order during validation. The team agrees that randomly shuffling time-dependent observations or using full-sample preprocessing statistics could transfer future information into model development.

          • 5. Ardent Quantitative Strategies is developing a monthly return-forecasting system. The research team first examines a candidate predictor, y, using an autoregressive model estimated in levels. Exhibit 1 reports the estimated lag coefficient and diagnostic tests. The team uses the Augmented Dickey–Fuller test to assess whether the predictor has a unit root. A failure to reject the test's null hypothesis is interpreted as evidence that the series should not be treated as covariance stationary without an appropriate transformation. After completing the time-series review, the team combines market, accounting, textual-sentiment, and macroeconomic variables. Exhibit 2 summarizes the resulting data-science project. Many of the 120 predictors are highly correlated because several vendors supply related measures of valuation, momentum, and investor sentiment. The portfolio manager believes that each predictor contains potentially useful information and asks the team to retain all predictors while reducing instability in their estimated coefficients. The current model achieves 98% accuracy in the training sample but only 61% accuracy in the validation sample. The team currently creates the validation sample by randomly selecting individual monthly observations across the full 2008–2024 period. A senior researcher objects that this approach can allow later market regimes to influence model choices applied to earlier periods. She proposes a validation design that repeatedly estimates the model using information available through a given date and tests it on subsequent observations. The project also uses macroeconomic series downloaded from a vendor's current database. Historical observations in that database incorporate revisions released months or years after the original announcements. The data do not include vintage dates showing which estimate was publicly available on each historical date. The intended backtest assumes that a portfolio is formed immediately after each original economic release. The chief risk officer asks the team to identify the most appropriate stationarity treatment, validation method, and regularization approach. He also asks it to classify the principal bias created by using revised macroeconomic values in a historical simulation. The model will be used for genuine out-of-sample forecasting, so procedures that merely improve in-sample fit without preserving the information set available at each decision date are unacceptable.

            • 6. Aster Peak Investments is developing a monthly asset-allocation model. The research team first analyzes a valuation spread defined as the log earnings yield of an equity index minus a long-term government bond yield. It estimates a first-order autoregressive model for the spread and wants to measure how rapidly a shock decays. The estimated coefficient and relevant significance result are reported in Exhibit 1. The team separately examines an equity index's price level and monthly return series. Augmented Dickey–Fuller tests include the deterministic terms selected by the research policy, and the null hypothesis for each test is that the series has a unit root. The team uses a 5% significance level. The chief investment officer requires stationary inputs unless the modeling method explicitly addresses nonstationarity. For return forecasting, analysts compare linear regression with a random forest. Prediction error is measured by root mean squared error, so lower values indicate better predictive performance. Because investment decisions occur sequentially, the validation method should reproduce the information set that would have existed at each forecast date. The team intends to reserve a final sample for a single unbiased assessment after model choice and hyperparameter tuning. Exhibit 2 describes departures from that intended process. Analysts repeatedly inspected the designated final test sample while selecting tree depth, number of predictors considered at each split, and minimum leaf size. They also reconstructed a historical predictor using financial statements that were restated after the corresponding forecast dates. The original statements were available in the archived database, but they were not used for this predictor. The research director asks whether the random forest's apparent validation advantage is reliable. She notes that model complexity alone does not establish superior out-of-sample performance and that a final test sample ceases to be independent when it influences model selection. Transaction costs and portfolio constraints are outside the scope of this model-comparison exercise.

              • 7. Atlas Systematic Strategies is developing a model to forecast equity-sector returns and identify corporate defaults. The research director asks an independent model-validation team to review the project before it is implemented in client portfolios. The project combines market prices, accounting variables, macroeconomic releases, and unstructured text extracted from regulatory filings. All records are time stamped, but the validation team must determine whether each time stamp represents the date information became available or merely the date on which it was entered into the research database. One proposed predictor is an aggregate valuation ratio observed monthly. The research team estimates a first-order autoregressive model for the ratio. The estimated lag coefficient exceeds one, and a unit-root test fails to reject its null hypothesis. The team nevertheless uses the level series in predictive regressions, arguing that a high in-sample R-squared demonstrates usefulness. The validation team warns that regressions involving nonstationary variables can produce apparently significant relations that are spurious. It recommends transforming the series appropriately and reassessing stationarity before using it in the forecasting model. For its machine-learning model, Atlas partitions the observations chronologically into training, validation, and test sets. Analysts estimate parameters with the training observations. During model development, however, they repeatedly compare alternative hyperparameter combinations using test-set accuracy and select the combination with the highest result. They then report the same test-set accuracy to prospective clients as an unbiased estimate of out-of-sample performance. The default classifier is trained on a data set in which defaults are rare. A model that classifies almost all issuers as nondefault generates high overall accuracy but identifies few actual defaults. Because failing to identify a default is particularly costly, the validation team focuses on performance measures that separately assess the proportion of predicted defaults that are correct and the proportion of actual defaults that the model identifies. The macroeconomic database creates another concern. Government agencies revise previously released observations, and the research database stores only the latest revised series. Backtests therefore use revised historical values even though portfolio managers would have observed preliminary values at the original forecast dates. Exhibit 1 summarizes the validation findings requiring corrective action.

                Flashcards: Logistic regression and its interpretation

                1. 1. When is using a log-linear model most appropriate?

                  Show answer

                  when a variable grows at a constant rate

                2. 2. What do penalized regression models do?

                  Show answer

                  \- reduce the problem of overfitting by imposing a penalty based on the number of features used by the model\ \- seek to minimize the SSE and the penalty value

                3. 3. Breusch-pagan test:\ What does it test for?\ What kind of test is it?\ What data is it used for?

                  Show answer

                  conditional heteroskedasticity\ chi-square\ pooled cross-sectional and time series

                4. 4. What is principal component analysis used for?

                  Show answer

                  to identify the factors of a statistical factor model, which cannot necessarily be described using conventional economic variables

                5. 5. How to correct for heteroskedasticity?

                  Show answer

                  - robust stadard errors (drawback: coefficients may be underestimated) - Generalized least squares

                6. 6. How to correct for conditional heteroskedasticity of regression residuals?

                  Show answer

                  calculate robust standard errors (White-corrected standard errors, heteroskedasticity-consistent standard errors)

                Everything you need for CFA prep

                Get full Oncourse access with lessons, practice questions, flashcards and AI study tools.

                GET STARTED FOR FREE
                75% OFFLimited time offer
                GET 75% OFF