Skip to content

Models

50 models in 13 domains. Each page has the model's formula, its variables with units and bounds, a calculator, a worked example, its evidence status and its citations.

The syllabus filters use the 2027 CFA® Program's topic areas as factual tags, each linked to CFA Institute on the coverage matrix.

Showing 50 of 50 models.

  • Foundations

    Hypothesis tests from summary statistics

    One-sample, two-sample (pooled and Welch) and paired t tests, the z test, and chi-square and F tests of variances, with p-values, critical values and confidence intervals.

    foundations.hypothesis_tests · Evidence: Standard · Cost class: Instant · Data-free

  • Foundations

    Monte Carlo simulation

    Seeded Monte Carlo of geometric Brownian motion, with antithetic variates, and the nonparametric bootstrap of a mean, median or standard deviation.

    foundations.simulation · Evidence: Standard · Cost class: Heavy · Data-free

  • Foundations

    Return toolkit

    Holding-period, arithmetic, geometric, harmonic, annualized, log and real returns.

    foundations.returns · Evidence: Standard · Cost class: Instant · Data-free

  • Foundations

    Risk statistics

    Sample volatility and its annualization, semideviation, adjusted skewness and excess kurtosis, and maximum drawdown.

    foundations.risk_statistics · Evidence: Standard · Cost class: Instant · Data-free

  • Foundations

    Time value of money

    Present and future values of sums, annuities and perpetuities, the five-key solve, NPV, IRR, XNPV, XIRR and amortization schedules.

    foundations.time_value · Evidence: Standard · Cost class: Light · Data-free

  • Econometrics

    ARIMA, VAR and cointegration tests

    ARIMA and seasonal ARIMA fits and forecasts with intervals, VARs with lag selection, orthogonalized impulse responses and variance decompositions, and the Engle-Granger and Johansen cointegration tests, over statsmodels.

    econometrics.time_series · Evidence: Standard · Cost class: Heavy · Reads data

  • Econometrics

    GARCH, GJR-GARCH and EGARCH volatility

    GARCH, GJR-GARCH and EGARCH over arch, with normal or Student's t errors and a zero or constant mean: each parameter with its standard error, the log-likelihood, AIC and BIC, persistence, the unconditional and last conditional volatility, and annualized variance forecasts.

    econometrics.garch · Evidence: Standard · Cost class: Heavy · Reads data

  • Econometrics

    Ordinary least squares

    OLS over statsmodels, with classical, HC0-HC3 and HAC standard errors, and the Durbin-Watson, Breusch-Pagan, Jarque-Bera, omnibus, RESET and VIF diagnostics.

    econometrics.ols · Evidence: Standard · Cost class: Light · Data-free

  • Macroeconomics

    Expectations-augmented Phillips curve

    Inflation less expected inflation regressed on the unemployment gap, with optional supply-shock controls and Newey-West errors: the slope, intercept, standard errors and R-squared.

    macro.phillips_curve · Evidence: Contested · Cost class: Instant · Reads data

  • Macroeconomics

    Monetary-policy rules

    Taylor (1993 and 1999), balanced-approach, shortfalls, adjusted and first-difference rules, smoothed and floored, on a gap measured in output or unemployment, and over forecast paths.

    macro.policy_rule · Evidence: Practitioner · Cost class: Instant · Reads data

  • Macroeconomics

    Neutral rate of interest

    r* from the New York Fed's Laubach-Williams and Holston-Laubach-Williams estimates, the SEP's longer-run rate or a constant, as real and nominal rates, with the real policy-rate gap.

    macro.neutral_rate · Evidence: Contested · Cost class: Instant · Reads data

  • Macroeconomics

    Okun's law

    Okun's law estimated in its gap form (the output gap on the unemployment gap) and its first-difference form (the change in unemployment on output growth, with the growth that holds unemployment constant).

    macro.okun_law · Evidence: Practitioner · Cost class: Instant · Reads data

  • Macroeconomics

    Output gap

    The output gap from a published potential output, or by the Hodrick-Prescott, Hamilton, Baxter-King and Christiano-Fitzgerald filters, with the trend, the cycle and the latest gap.

    macro.output_gap · Evidence: Standard · Cost class: Light · Reads data

  • Macroeconomics

    Public debt dynamics

    The path of debt to GDP from an initial ratio and paths of the effective interest rate, nominal growth and the primary balance, with r - g and the debt-stabilizing primary balance.

    macro.debt_dynamics · Evidence: Standard · Cost class: Instant · Reads data

  • Macroeconomics

    Solow growth model

    The Solow steady state with Cobb-Douglas technology, the golden rule and the speed of convergence, and growth accounting into capital, labour, human capital and the TFP residual.

    macro.solow_growth · Evidence: Standard · Cost class: Instant · Reads data

  • Macroeconomics

    Yield-curve recession probability

    The New York Fed's probit of a US recession twelve months ahead from the spread of the 10-year Treasury yield over the 3-month bill.

    macro.recession_probability · Evidence: Practitioner · Cost class: Instant · Reads data

  • International

    International parity conditions

    Covered and uncovered interest parity, relative and absolute purchasing power parity, the international Fisher effect and real exchange rates.

    international.parity_conditions · Evidence: Standard · Cost class: Instant · Data-free

  • Accounting

    Accounting scoring models

    Original Altman Z with historical bands, eight-variable Beneish M, and Piotroski F with components.

    accounting.scoring_models · Evidence: Practitioner · Cost class: Instant · Data-free

  • Accounting

    Financial ratios and DuPont

    Liquidity, activity, solvency, profitability and three- and five-step DuPont ratios.

    accounting.financial_ratios · Evidence: Standard · Cost class: Instant · Data-free

  • Corporate finance

    Capital budgeting

    Project NPV, IRR, MIRR, fractional payback, profitability index and equivalent annual annuity.

    corporate.capital_budgeting · Evidence: Standard · Cost class: Light · Data-free

  • Corporate finance

    Cost of capital and beta

    CAPM, WACC with preferred equity, Hamada unlevering/relevering, and country risk premium.

    corporate.cost_of_capital · Evidence: Standard · Cost class: Instant · Data-free

  • Corporate finance

    Operating and financial leverage

    DOL, DFL, DTL and operating and total breakeven quantities for one product.

    corporate.leverage · Evidence: Standard · Cost class: Instant · Data-free

  • Equity

    Cyclically adjusted price-to-earnings ratio (CAPE)

    Shiller's CAPE: the price over the average of real earnings over a window, its earnings yield and the excess CAPE yield over a real 10-year rate.

    equity.cape · Evidence: Practitioner · Cost class: Instant · Reads data

  • Equity

    Dividend discount valuation

    Gordon, two-stage and H-model values, PVGO and the Gordon implied return.

    equity.dividend_discount · Evidence: Standard · Cost class: Instant · Data-free

  • Equity

    Free cash flow and DCF valuation

    FCFF from EBIT, FCFE from net income, and one- or two-stage firm or equity valuation.

    equity.free_cash_flow · Evidence: Standard · Cost class: Instant · Data-free

  • Equity

    Implied equity risk premium

    The expected return at which an index level equals the present value of its expected dividends and buybacks, and its premium over the risk-free rate.

    equity.implied_risk_premium · Evidence: Practitioner · Cost class: Instant · Reads data

  • Fixed income

    Binomial interest-rate tree

    A lognormal binomial tree of rates calibrated to a par curve; values of option-free, callable and putable bonds, their options, the OAS and effective duration and convexity.

    fixed_income.interest_rate_tree · Evidence: Standard · Cost class: Light · Reads data

  • Fixed income

    Bond convexity

    Convexity of a fixed-coupon bond from its yield, effective convexity off a spot curve, and the duration-and-convexity price-change estimate.

    fixed_income.convexity · Evidence: Standard · Cost class: Light · Data-free

  • Fixed income

    Bond duration

    Macaulay and modified duration from a yield, effective and key-rate duration off a spot curve, and DV01 of a fixed-coupon bond.

    fixed_income.duration · Evidence: Standard · Cost class: Light · Data-free

  • Fixed income

    Bond price and yield

    Full and flat price and accrued interest of a fixed-coupon bond from its yield, and its yield to maturity, to a call and to worst from its price.

    fixed_income.bond_pricing · Evidence: Standard · Cost class: Light · Data-free

  • Fixed income

    Credit spread and default

    Expected loss, the credit triangle between spread and hazard rate, survival probabilities and the approximate excess return from a spread.

    fixed_income.credit_spread · Evidence: Standard · Cost class: Instant · Data-free

  • Fixed income

    Money-market yields

    Bank discount rate to and from price, money-market (CD-equivalent) yield, Treasury investment rate, effective annual yield and holding-period yield of a discount instrument.

    fixed_income.money_market · Evidence: Standard · Cost class: Instant · Data-free

  • Fixed income

    Nelson-Siegel and Svensson yield curves

    Zero yields, forward rates and par yields of Nelson-Siegel and Svensson curves, and least-squares fits of either curve to observed yields.

    fixed_income.curve_fitting · Evidence: Standard · Cost class: Heavy · Reads data

  • Fixed income

    Spot, par and forward curves

    Bootstrap spot rates and discount factors from par yields, par yields from spot rates, and forward rates between maturities.

    fixed_income.curve_bootstrap · Evidence: Standard · Cost class: Instant · Data-free

  • Derivatives

    Binomial option tree

    Cox-Ross-Rubinstein binomial prices of European and American calls and puts with a dividend yield, with delta and gamma from the tree.

    derivatives.binomial_tree · Evidence: Standard · Cost class: Light · Data-free

  • Derivatives

    Black-Scholes-Merton options

    Price, Greeks and implied volatility of European calls and puts on an asset with a continuous dividend yield.

    derivatives.black_scholes_merton · Evidence: Standard · Cost class: Instant · Data-free

  • Derivatives

    Forward prices and values

    Forward prices by cost of carry, the value of an existing forward, and forward exchange rates by covered interest parity.

    derivatives.forwards · Evidence: Standard · Cost class: Instant · Data-free

  • Derivatives

    Futures and currency options

    Black-76 prices of options on futures and Garman-Kohlhagen prices of currency options, with Greeks and implied volatilities.

    derivatives.futures_fx_options · Evidence: Standard · Cost class: Instant · Data-free

  • Derivatives

    Interest rate swap

    Value to the fixed payer and receiver, par swap rate and annuity factor of a fixed-for-floating swap, from discount factors or a zero curve.

    derivatives.interest_rate_swap · Evidence: Standard · Cost class: Instant · Data-free

  • Portfolio

    Black-Litterman expected returns and weights

    Equilibrium returns from market weights, views blended in with He-Litterman or Idzorek uncertainty, the posterior returns and covariance, and the unconstrained optimal weights.

    portfolio.black_litterman · Evidence: Standard · Cost class: Instant · Reads data

  • Portfolio

    Mean-variance portfolios

    Portfolio expected return and risk, the minimum-variance frontier with short sales, and the minimum-variance and tangency portfolios.

    portfolio.mean_variance · Evidence: Standard · Cost class: Instant · Data-free

  • Portfolio

    Risk-based allocation: inverse volatility, risk parity and HRP

    Long-only weights from the covariance alone: inverse volatility, equal risk contribution (risk parity) and hierarchical risk parity, with each asset's risk contribution and the portfolio's volatility.

    portfolio.risk_based_allocation · Evidence: Practitioner · Cost class: Light · Reads data

  • Portfolio

    Utility, risky share and Kelly fraction

    Mean-variance utility, the utility-maximizing risky share, the CRRA certainty equivalent of a gamble, and the Kelly fraction.

    portfolio.utility · Evidence: Standard · Cost class: Instant · Data-free

  • Asset pricing

    Factor regressions: CAPM to the six-factor model

    An asset's excess returns regressed on the market (CAPM), the Fama-French three or five factors, Carhart's four or the six-factor model: alpha per period and annualized, each beta with Newey-West errors, R-squared, residual volatility and the CAPM's security market line.

    asset_pricing.factor_regression · Evidence: Standard · Cost class: Light · Reads data

  • Asset pricing

    Tests of factor models: GRS and Fama-MacBeth

    Whether factors price a set of test assets: the Gibbons-Ross-Shanken F test that every alpha is zero, and Fama-MacBeth two-pass regressions with Fama-MacBeth and Shanken-corrected standard errors.

    asset_pricing.factor_model_tests · Evidence: Standard · Cost class: Light · Reads data

  • Risk

    Value-at-risk and expected shortfall

    VaR and expected shortfall as positive losses by the parametric normal, Cornish-Fisher, historical, Monte Carlo and RiskMetrics EWMA methods.

    risk.value_at_risk · Evidence: Standard · Cost class: Heavy · Data-free

  • Risk

    VaR backtests

    Kupiec's proportion-of-failures test, Christoffersen's independence and conditional coverage tests, and the Basel traffic light, from a series of VaR exceptions.

    risk.var_backtest · Evidence: Standard · Cost class: Instant · Data-free

  • Performance

    Brinson attribution

    Brinson-Hood-Beebower and Brinson-Fachler allocation, selection and interaction effects, single-period and linked over periods with Carino's method.

    performance.brinson_attribution · Evidence: Standard · Cost class: Instant · Data-free

  • Performance

    Return measurement

    Time-weighted, money-weighted and Modified Dietz returns of a portfolio with external cash flows, optionally annualized.

    performance.return_measurement · Evidence: Standard · Cost class: Instant · Data-free

  • Performance

    Risk-adjusted performance

    Sharpe, Sortino, Treynor, Jensen's alpha, information ratio and tracking error, M², Calmar and up- and down-capture ratios from return series.

    performance.risk_adjusted · Evidence: Standard · Cost class: Instant · Data-free