advanced

Monte Carlo with Correlation

Correlated variable Monte Carlo simulation

Formula

Source: Ch 17

Parameters

ParameterTypeRequiredDescription
valuation_fnstringRequiredFunction the simulation calls (e.g. capm_discount_rate, wacc). Every parameter of it must appear in distributions; only continuous distributions exist, so present_value (integer periods) cannot be used.
distributionsjsonRequiredJSON array of {name, distribution, params}
correlation_matrixjsonRequiredJSON 2D array correlation matrix
iterationsintegerOptionalNumber of iterations
seedintegerOptionalRandom seed

Running it

Call intangible_valuation.core.statistics.monte_carlo_with_correlation with the parameters above, or use the calculator, which posts the same arguments to the API and shows the step-by-step result. No code sample is published here because this method has none that has been checked by hand.

MCP Tool

This method is available to AI agents through the MCP tool:

valuation_simulation

selected with method: "monte_carlo_correlated"

Try it live

Use the interactive calculator to run this method with your own data and see the step-by-step proof.

Open Calculator