Fin Maverick
Foundations VocabularyAccounting & ReportingEconomics & MacroQuant Methods & ProgrammingBusiness & Company AnalysisCorporate Finance & ValuationBehavioural Finance
Banking & Market InfrastructureFixed Income & RatesDerivatives & Structured ProductsPublic EquitiesTransactions & DealsPortfolio ConstructionFunds & AMCs
Private Markets & AlternativesRisk, Treasury & ControlAI & Digital FinanceStochastic Calculus & PricingWealth & Personal FinanceIndian Markets & RegulationProfessional Practice
CalculatorComparison
Frameworks
Explore Bootcamps
Equity ResearchPortfolio ManagementMutual Fund MasteryFinancial LiteracyInvestment Banking Analyst
Private Equity AnalystHedge Funds AnalystBreaking Into VCBreaking Into QuantsAI For Finance
Financial Analyst ProgramRisk Management ProgramPrivate Wealth ManagementDebt Capital MarketsDerivatives Foundation
Explore Internships
Equity Research InternMutual Fund Intern
Portfolio Management InternFinancial Literacy Intern
Explore Micro Courses

Equity Research6

Writing an Investment ThesisBuilding a Discounted Cash FlowReading an Annual Report FastReading a Sector Before a CompanySpotting Quality of Earnings Red FlagsBuilding a Revenue Forecast From Drivers

Portfolio Management3

Rebalancing: When, Why and What It CostsStrategic and Tactical Asset AllocationMeasuring Risk in a Portfolio

Mutual Fund Mastery3

Comparing Funds Without Being FooledHow a NAV Is Struck and Which Day You GetReading a Fund Factsheet Properly

Derivatives Unlocked4

Hedging a Real ExposureThe Greeks, PracticallyFutures, the Basis and What Moves ItReading an Option Payoff

AI For Finance2

Retrieval and Grounding for FinanceDocument Extraction in Finance

Breaking Into Quants4

Backtesting a StrategyHypothesis TestingCleaning Financial DataRegression for Finance

Breaking Into VC3

Sizing a MarketReading a Term Sheet as a FounderHow a Venture Round Actually Works

Financial Analyst Program4

Common Size and Trend AnalysisReading a Cash Flow StatementRatio Analysis That Says SomethingBuilding a Working Capital Schedule

Risk Management Program2

Credit Exposure and How It Is ReducedValue at Risk and What It Hides

Investment Banking Analyst3

Precedent Transactions and Why They DifferReading a Term Sheet StructurallyBuilding a Comparable Companies Table

Private Wealth Management3

Tax Aware Portfolio DecisionsBuilding a Client Risk ProfileGoal Based Planning Arithmetic

Debt Capital Markets3

Analysing an Issuer's CreditDuration and What It Does Not Tell YouBond Pricing and Yield Mechanics

Private Equity Analyst2

Fund Waterfalls and CarryThe LBO in Structure

Hedge Funds Analyst2

Short Selling MechanicsLong Short Mechanics
Courses
Explore Career Roadmaps
Investment Banking AnalystEquity Research AnalystVC AnalystPrivate Equity AnalystHedge Funds Analyst
Quant AnalystAI For FinanceFinancial Analyst ProgramPrivate Wealth ManagementDebt Capital Markets
Risk Management ProgramDerivatives FoundationPortfolio ManagementMutual Fund Mastery
PartnershipsShowdown
Log inSign up
Quant Analyst · CoreTrack
1Quantitative Methods, Financial Data & Programming
iProbability
Probability in FinanceRandom VariableProbability DistributionsThe Normal DistributionNormal Distribution ProbabilityThe Lognormal DistributionRandomness vs Uncertainty
iiStatistics and Inference
Population and SampleMean, Median and ModePrecision and AccuracyVariable TypesVariance, Standard Deviation and…Dispersion MeasuresStatistical BiasEffect SizeHypothesis TestingThe Sampling DistributionSkewnessKurtosisCovarianceConfidence IntervalArithmetic Mean vs Geometric MeanStatistical Significance vs Economic…Confidence Interval vs Prediction IntervalHow to Summarise a…
iiiCorrelation and Regression
RegressionCorrelation and CausationOrdinary Least SquaresInteraction TermsRegression CoefficientsRegression vs ClassificationHow to Build a…Spurious CorrelationRegression, Correlation and FitResidualsMulticollinearityAutocorrelation and Partial Autocorrelation
ivTime Series
Time Series in FinanceSimple, Weighted and Exponential…Moving Average CalculatorPrice, Return and Level SeriesHow to Prepare Time-Series…LagFrequencySeasonalityTimestampsTrendStationarity and the Unit RootHeteroskedasticityLeadRolling WindowsDifferencing
vSimulation and Numerical Methods
SimulationMonte Carlo SimulationHow to Run a…Numerical MethodsIterationResampling and the BootstrapPseudorandom Numbers and the SeedConvergence and ToleranceNumerical Stability
viOptimisation
OptimisationLocal and Global OptimaConstraintsConvex OptimisationThe SolverLinear ProgrammingThe Objective FunctionConstraint ViolationThe Feasible SetLagrange MultipliersQuadratic Programming
viiModelling Practice
Linear, Logistic, Ridge and…Training, Validation and Test…The ModelModel ErrorDependent and Independent VariablesThe ROC Curve and AUCWhat a Model HoldsMSE, RMSE, MAE and MAPEPrecision and RecallCross Validation and RegularisationOverfitting and UnderfittingReturn Series MeasuresSimple, Compound and Log Return
viiiBacktesting and Research Integrity
BacktestingBacktest vs Live PerformanceHow to Document a…How to Prevent Backtest…Out-of-Sample TestingWalk-Forward AnalysisMultiple TestingP-HackingData Snooping
ixData Quality and Structure
Data QualityThe DatasetSelection and Survivorship BiasVersioned DatasetsData Structures in FinanceData CleaningMissing Data and Null ValuesStructured Data vs Unstructured DataMissing Data vs ZeroData Validation vs Data CleaningOutliersDuplicate Records
xProgramming for Finance
Data PipelinesAPIs for Financial DataAPI vs CSV FileDatabases in FinancePython for FinanceJoinsSQL for FinanceThe Analysis Workflow
xiQuantitative Research
Research DesignThe Data Generating ProcessReproducibilityPeer Review in Analytical WorkThe Research HypothesisRobustness and Sensitivity
2Stochastic Calculus & Derivative Pricing Theory
iProbability Foundations
The Probability SpaceRandom VectorsSigma-AlgebraExpectationSample Space and EventsDensity and Distribution FunctionsRisk-Neutral ProbabilityState Price Density vs…
iiStochastic Processes and Jumps
Properties of a Stochastic ProcessMartingaleBrownian Motion and Its PropertiesBrownian Motion vs Geometric…Stopping TimeThe Markov PropertyState VariablesTransition ProbabilityQuadratic VariationQuadratic Variation vs Ordinary…Submartingale and SupermartingaleMartingale RepresentationMarkov Process vs MartingaleOptional StoppingFiltrationJump ProcessesThe Poisson ProcessLevy ProcessesJump Diffusion
iiiIto Calculus
The Ito IntegralThe Ito Integral vs the Riemann IntegralInfinitesimals in Stochastic CalculusQuadratic CovariationIto's LemmaHow to Apply Ito's…The Infinitesimal GeneratorIto Calculus vs Ordinary Calculus
ivStochastic Differential Equations
Stochastic Differential EquationsStochastic Differential Equation vs…Drift and DiffusionStrong and Weak Solutions ComparedDiscretisationGeometric Brownian Motion
vPricing Theory and No-Arbitrage
No-ArbitrageGirsanov, Radon-Nikodym and Change…Physical and Risk-Neutral Measures…The Fundamental Theorems of…The Law of One PriceThe Pricing KernelDiscount Factors and Zero-Coupon PricesReplication vs HedgingComplete Market vs Incomplete MarketClearing Margin Architecture
viOption Pricing Theory
European and American OptionsMonte Carlo European OptionThe Black-Scholes PDEBlack Scholes and the GreeksThe Payoff FunctionThe Binomial ModelBinomial Option PricingDelta Hedging in TheoryBoundary, Initial and Terminal ConditionsThe Exercise BoundaryHow to Check Put-Call…
viiVolatility Models
Constant, Local and Stochastic…Vasicek Model vs CIR ModelThe Heston ModelThe SABR ModelThe Volatility ProcessImplied VolatilityVolatility Smile vs Skew vs Surface
viiiInterest Rate Models
Interest-Rate DerivativesMean ReversionThe Zero-Coupon BondThe Ornstein-Uhlenbeck ProcessThe Discount CurveZero RatesShort-Rate Model vs Market Model
ixNumerical Pricing
Closed Form and Numerical…Monte Carlo PricingEuler and Milstein Schemes ComparedTree MethodsFinite Difference MethodsNumerical Error and StabilityVariance Reduction
xCalibration and Model Risk
Model OverrideMarket Price and Model PriceCalibrationHow to Document a Pricing ModelThe Educational Illustration LabelMarket ConventionsModel Uncertainty and LimitationsBacktesting a Pricing ModelIdentifiabilityCalibrated ParametersThe Calibration Loss Function

Simulation: Generating Outcomes You Cannot Observe

A simulation generates outcomes nobody observed, by applying a stated rule many times over and counting what comes out. Monte Carlo simulation draws each outcome from a stated shape. Historical simulation replays a record already held. The fifty month record of the Nakshatra unit contains four twelve month stretches and no more. Ten thousand drawn paths cost nothing. Neither answer is the truth.

Three ideas carry all of what follows, and nothing else is needed. The first is that a number between zero and one can carry a claim about how often something happens, and that a list of possible values with a number attached to each of them is a complete description of what can occur. The second is that a figure worked out from a sample sits some distance from the quantity it is estimating, and that the distance is a thing that can be given a size. The third is ordinary multiplication. A twelve month path is twelve multiplications and nothing else.

One invented traded unit runs through everything below: the Nakshatra unit, priced once a month, currently sitting at Rs 100/-. A traded unit here just means an object carrying a price that changes month by month, and nobody could buy this one. Alongside it sits the fifty month record: fifty months of actual monthly changes, already collected, already counted. The whole treatment turns on one question those two objects cannot answer between them, and on the two different ways of manufacturing an answer anyway.

What is a simulation, and what is it actually for?

Here is the situation a simulation exists for. Somebody wants to know how often something happens, the something takes a while to happen, and there is neither the time nor the patience to sit and watch it happen enough times to count.

Take a food stall outside one office building. On the evenings when the till runs out of small change before six, customers walk off. The person running it wants to know how often that happens. Forty evenings have been watched and the change ran out on six of them. Six out of forty is not nothing, but it is a thin number to reorganise a business around, and getting to four hundred evenings means waiting another four years. The stall owner does not have four years. A rule is available instead: roughly how many customers arrive, roughly what they pay with, roughly what the till starts with. Apply that rule to a made up evening and see whether the change runs out. Then do it again. Do it four hundred times over a cup of tea, and count the evenings that failed.

A made up evening counted four hundred times is a simulation, and the finance version is the same shape with different nouns. A simulation generates outcomes that were never observed, by applying a stated rule many times over and counting what comes out. One half of that sentence carries the answer, and the counting is the half. The drawing is only the means of producing something to count, and no single generated outcome is a forecast of anything at all. One made up evening tells the stall owner nothing. Four hundred made up evenings, totalled, tell the stall owner what share of evenings the rule says will fail.

The rule is doing all the work, and the rule is an assumption. The rule is where simulations actually fail. A simulation cannot manufacture information. A simulation takes whatever it was fed and works out the consequences of it far more thoroughly than any hand calculation could, and if what it was fed was wrong then it works out the consequences of something wrong, very thoroughly indeed, and returns a number with four decimal places on it.

Try it out

A simulation generates outcomes nobody ever observed. So what makes the output of one worth anything at all?

AI For Finance Bootcamp — Fin Maverick

Why can the fifty month record not answer the question directly?

The question carried all the way through is a small one. The Nakshatra unit is priced at Rs 100/- today. What is the chance it is below Rs 100/- twelve months from now?

The obvious move is to go and look. The fifty month record of the Nakshatra unit holds fifty months of monthly changes, so counting the twelve month stretches in it that finished lower and dividing looks like the whole of the work. The problem announces itself immediately. Twelve into fifty goes four times and leaves two months over. Fifty months hold four twelve month stretches that do not reuse a month, and four is not enough to put a number on anything. A count out of four can only ever come back as none of them, one of them, two of them, three of them or all four, and there is nothing in between.

Think about what that means for a household deciding anything on the strength of it. A household running on one salary that has seen four Januaries knows something about January, but it does not know the chance of a bad January to two decimal places, and no amount of staring at those four Januaries will produce one. The fifty month record has exactly the same shape of problem. The record is not bad. Fifty months is a perfectly respectable amount of history. Twelve month questions simply eat history twelve months at a time, and fifty months of it goes almost nowhere.

So the outcomes have to come from somewhere other than observation, and there are exactly two places they can come from. Monte Carlo simulation states a rule and generates outcomes from it. Historical simulation takes the record already held and replays it. Both are set out in full below and then held up against one another. Knowing which of the two produced a number is the difference between reading it correctly and reading it wrongly.

Try it out

The fifty month record of the Nakshatra unit holds fifty months. How many twelve month stretches can be read out of it without using any month twice, and what does that leave over?

What is Monte Carlo Simulation, and where do its outcomes come from?

Monte Carlo simulation manufactures outcomes by drawing them, one at a time, from a shape somebody wrote down first. The shape for the Nakshatra unit is this: the monthly change takes exactly five values, minus 9.00 per cent, minus 4.00 per cent, 1.00 per cent, 6.00 per cent and 11.00 per cent, and each carries a weightThe number pinned to each possible value saying how large a share of the time it turns up, with all of them adding to one. saying how often it comes up: 0.08, 0.18, 0.48, 0.18 and 0.08. Adding the weights up in order gives the running totals 0.08, 0.26, 0.74, 0.92 and 1.00. Those five running totals are what turns the shape into something that can be drawn from.

THE FIVE WEIGHTS, LAID OUT AS FIVE BANDS OF ONE LINEA number drawn evenly along this line lands in each band exactly as often as its weight says.0.080.180.480.180.080.000.080.260.740.921.00the running total along the lineminus 9.00per centminus 4.00per cent1.00per cent6.00per cent11.00per centthe value each band reads offone drawn number, 0.0966170.096617 is above 0.08 and below 0.26, so it lands in the second band and reads minus 4.00 per cent.
The five weights lay the line from zero to one out in five bands whose widths are the weights, so a number drawn evenly along that line falls in each band exactly as often as the weight says it should.

Now the mechanical part, and it really is mechanical. A number between zero and one is obtained. Walking along the running totals until the first one the number is below gives the value sitting there. The walk is repeated twelve times. The twelve values are multiplied onto Rs 100/- one after another, which is compoundingEach change is applied to the price the month before finished on, so twelve of them multiply together instead of adding up., and that is one twelve month path. The whole thing then runs again, and again, ten thousand times over.

Where does the number between zero and one come from? From an arithmetic rule, stated in full so that every figure can be reproduced. The rule starts with a whole number, multiplies it by 16,807 and takes the remainder on 2,14,74,83,647. The remainder is the new whole number, and dividing it by 2,14,74,83,647 gives a value between zero and one. Then the step repeats. The whole number the rule starts from is called the seedThe number a generating rule is started from. Where a computer's numbers really come from, and what happens when the starting number changes, is covered separately., and every figure below was produced from the starting number 12345.

The shape is an assumption and the drawing is mechanical, and it matters enormously that those two are not the same kind of thing. Somebody chose five values and five weights. The choice of five values and five weights can be wrong, and if it is wrong then every path drawn from it is wrong in the same direction. The drawing, by contrast, cannot be wrong: it is multiplication and division, and it does exactly what it says.

Path one, written out so that every line of it can be checked

Here is the first path the rule produces from the starting number 12345, with nothing chosen by hand. The first value it gives is 0.096617, above 0.08 and below 0.26, so it lands in the second band and reads minus 4.00 per cent. Rs 100/- becomes Rs 96.0000/-. The next value is 0.833995, above 0.74 and below 0.92, so it reads 6.00 per cent, and Rs 96.0000/- becomes Rs 101.7600/-. And so on for ten more months.

One Monte Carlo path in full, from the starting number 12345. Every line is one multiplication and one remainder.
MonthThe whole numberDivided by the modulusThe band it lands inThe value it reads offThe price after it
120,74,82,4150.0966170.08 to 0.26minus 4.00 per centRs 96.0000/-
21,79,09,89,8240.8339950.74 to 0.926.00 per centRs 101.7600/-
32,03,51,75,6160.9477020.92 to 1.0011.00 per centRs 112.9536/-
47,70,48,6960.0358790.00 to 0.08minus 9.00 per centRs 102.7878/-
52,47,94,5310.0115460.00 to 0.08minus 9.00 per centRs 93.5369/-
610,98,54,9990.0511550.00 to 0.08minus 9.00 per centRs 85.1186/-
71,64,45,15,4200.7657870.74 to 0.926.00 per centRs 90.2257/-
81,25,61,27,0500.5849300.26 to 0.741.00 per centRs 91.1279/-
91,96,30,79,3400.9141300.74 to 0.926.00 per centRs 96.5956/-
101,68,31,98,5190.7838000.74 to 0.926.00 per centRs 102.3913/-
1171,54,26,9020.3331470.26 to 0.741.00 per centRs 103.4153/-
1241,90,02,3610.1951130.08 to 0.26minus 4.00 per centRs 99.2786/-
Where path one finishesRs 99.2786/-
ONE MONTE CARLO PATH, TWELVE STEPS, EVERY FIGURE SHOWNThe stated rule from the starting number 12345. Nothing here was chosen by hand.monththe number drawnthe band it lands inthe value it reads offthe price after it10.096617band 2minus 4.0096.000020.833995band 46.00101.760030.947702band 511.00112.953640.035879band 1minus 9.00102.787850.011546band 1minus 9.0093.536960.051155band 1minus 9.0085.118670.765787band 46.0090.225780.584930band 31.0091.127990.914130band 46.0096.5956100.783800band 46.00102.3913110.333147band 31.00103.4153120.195113band 2minus 4.0099.2786prices in rupeesRs 100/-the same path drawn to scalemonth 0month 12At this scale the finish is -2.8 pixels under the line.months 11 and 12, at six times the scaleRs 100/-Rs 103.4153/-Rs 99.2786/-0.7214The first path ends below where it started.
Path one runs minus 4.00, 6.00, 11.00, minus 9.00, minus 9.00, minus 9.00, 6.00, 1.00, 6.00, 6.00, 1.00 and minus 4.00 per cent, and finishes at Rs 99.2786/-, which is Rs 0.7214/- below the Rs 100/- it started at.

The very first path this rule produces is one of the falling ones, and that is worth noticing precisely because it means nothing. Path one is not evidence about the Nakshatra unit. Path one is one line in a tally that is going to run to ten thousand lines, written out in full only so that the machinery can be confirmed to do what it claims. The starting number fixes the stream before the first path is drawn, so those twelve multiplications, run by hand, return Rs 99.2786/- today, tomorrow and in ten years.

Do it ten thousand times and 2,453 of the paths finish below Rs 100/-. Two thousand four hundred and fifty three out of ten thousand is 24.5300 per cent, and that is what Monte Carlo simulation says the answer is. Ten thousand paths took no longer than one path took to describe, and the ten thousandth cost exactly what the first one cost.

Try it out

The stated shape puts a weight of 0.08 on a fall of 9.00 per cent. Suppose that weight doubled to 0.16 and the weight on 1.00 per cent gave up the difference, dropping from 0.48 to 0.40. Would the chance of finishing below Rs 100/- roughly double as well?

Risk Management Program Bootcamp — Fin Maverick

What is Historical Simulation, and how many paths does it give?

Historical simulation refuses to state a shape at all. Instead it takes the record already held, in the order it happened, and reads twelve month stretches out of it. Each stretch is a path. No assumption is made about how often anything happens. The months are just replayed.

Doing that on the fifty month record of the Nakshatra unit needs the record in an order, so here is the order, and it is not new information. The fifty monthly changes were already fixed: five months at minus 9.00 per cent, nine at minus 4.00 per cent, twenty five at 1.00 per cent, eight at 6.00 per cent and three at 11.00 per cent. The order they came in was never fixed. The order used here is produced by the same arithmetic rule from the starting number 4321, by walking from the last month back to the second and swapping each position with an earlier one chosen by the rule. The swapping rearranges the fifty values and alters not one of them, so the record still has the same mean, the same spread and the same counts it always had.

FIFTY MONTHS HOLD FOUR TWELVE MONTH STRETCHES, AND NO FIFTHThe record in its stated reading order, produced from the starting number 4321.month 1month 50stretch 1Rs 100.5078/-stretch 2Rs 129.3336/-stretch 3Rs 105.3002/-stretch 4Rs 96.0274/-these two months cannot start a fifth stretcheach cell is one month:minus 9.00minus 4.001.006.0011.00ONE OF THE FOUR ENDED BELOW Rs 100/-So historical simulation on this record answers 25.0000 per cent, and it cannot answeranything else, because there is no fifth stretch to find.
Fifty months hold four non overlapping twelve month stretches and two months left over, so historical simulation on this record has four paths and can never have a fifth.

Reading the four stretches gives four ending prices: Rs 100.5078/-, Rs 129.3336/-, Rs 105.3002/- and Rs 96.0274/-. One of the four finished below Rs 100/-. One out of four is 25.0000 per cent, and that is what historical simulation says the answer is.

The four twelve month stretches the fifty month record contains, each replayed from Rs 100/-.
The stretchHalfwayWhere it finishedWhich side
Stretch 1, months 1 to 12Rs 100.3767/-Rs 100.5078/-above Rs 100/-
Stretch 2, months 13 to 24Rs 134.8601/-Rs 129.3336/-above Rs 100/-
Stretch 3, months 25 to 36Rs 105.3973/-Rs 105.3002/-above Rs 100/-
Stretch 4, months 37 to 48Rs 105.8919/-Rs 96.0274/-below Rs 100/-
Stretches finishing below Rs 100/-1 of 4, so 25.0000 per cent

No assumption about shape was made anywhere in that, and the price of making no assumption is having four paths. That is the trade, stated as plainly as it can be. Monte Carlo simulation bought ten thousand paths by agreeing to accept somebody's stated shape. Historical simulation refused to accept anything and got four.

There is a tempting way to get more paths out of the same fifty months, and it is worth naming so it can be dismissed. Instead of cutting the record into four separate blocks, slide a twelve month window forward one month at a time. Months 1 to 12, then 2 to 13, then 3 to 14, all the way to months 39 to 50. The sliding window gives thirty nine stretches instead of four, of which eight finish below Rs 100/-, so the answer becomes 20.5128 per cent. But every one of those is an overlapping windowA stretch of months that shares most of its months with the stretch beside it, so the two are not separate evidence.: months 1 to 12 and months 2 to 13 have eleven months in common. Thirty nine of them are not thirty nine pieces of evidence, and the denominatorThe count sitting underneath a share, which decides what the share is a share of. of thirty nine is a promise the record cannot keep. The figure it produces is further from the exact answer than the four path one, not closer.

One more thing before leaving 25.0000 per cent. A reader who has been counting will have noticed it. Twenty five of the fifty months in the record hold 1.00 per cent, and the historical answer reads 25.0000 per cent. Nothing whatever connects those two numbers. One is a count of months and the other is a share of four paths, and the two twenty fives are a coincidence of this particular record.

Try it out

One of the four historical stretches finished at Rs 96.0274/-. Suppose the third stretch had finished at Rs 99.90/- instead of Rs 105.3002/-. What would the historical answer become, and by how much would it have jumped?

Investment Banking Analyst Bootcamp — Fin Maverick

Monte Carlo Simulation vs Historical Simulation: what is each one blind to?

Both methods now stand defined in full, and only then is a comparison honest. Four questions separate them, and the fourth is the one that matters most.

THE TWO METHODS SET SIDE BY SIDE ON FOUR QUESTIONSSame geometry both sides, so only the wording differs.MONTE CARLO SIMULATIONHISTORICAL SIMULATIONWHERE DO THE OUTCOMES COME FROM?From a shape stated first: five values and fiveweights, written down before a single path is drawn.From a record that already exists: fifty months thathappened, replayed in the order they happened in.HOW MANY PATHS ARE AVAILABLE?As many as there is patience to wait for. The tenthousandth path costs exactly what the first one cost.Four. Fifty months hold four twelve month stretches, andno amount of computing produces a fifth.WHAT HAPPENS IF THE INPUT IS WRONG?The answer is wrong in exactly the way the stated shapeis wrong, and every path carries the same fault.The answer is wrong in exactly the way the record isunrepresentative, and rerunning it changes nothing.WHAT CAN THE METHOD NOT SEE?Anything the stated shape does not contain. A sixthvalue that never got written down can never be drawn.Anything that has not happened yet. Fifty months cannotshow a month unlike all fifty of them.
Monte Carlo simulation is wrong in exactly the way its stated shape is wrong, and historical simulation is wrong in exactly the way its record is unrepresentative, and neither fault shows up anywhere in the answer.

Start with where the outcomes come from. Monte Carlo simulation draws from a shape somebody stated: five values, five weights, written down before a single path exists. Historical simulation replays a record that already exists: fifty months that happened, read in the order they happened in. The first is an assumption, the second is a measurement, and they fail in completely different ways.

Then how many paths are available. Monte Carlo simulation gives as many as there is patience to wait for, and the ten thousandth costs what the first cost. Fifty months hold four twelve month stretches, so historical simulation gives four, and no amount of computing produces a fifth. Buying a faster machine buys no fifth stretch.

FOUR PATHS ON THE LEFT, TEN THOUSAND ON THE RIGHT, ONE SCALEBoth panels run twelve months and both start at Rs 100/-.the record replays four timesthe stated shape draws ten thousand80100120140price4 paths, and the fifth does not existone of them finished under Rs 100/-10,000 paths, and 2,56,000 if wantedthe shaded band holds nine in ten of them
The same subject yields four historical paths and as many drawn paths as anyone cares to run, and the four historical paths are all the historical paths there will ever be.

Then what a wrong input does. Monte Carlo simulation is wrong in exactly the way its stated shape is wrong, and historical simulation is wrong in exactly the way its record is unrepresentative. If the true chance of a bad month is higher than the stated 0.08, every one of the ten thousand paths understates the danger, in step, and running a hundred thousand instead makes the wrong answer more precise rather than less wrong. If the fifty months happened to be an unusually calm fifty months, the four stretches inherit that calm, and there is nothing to rerun.

And then the fourth question, the one about what each method cannot see. Monte Carlo simulation cannot see anything the stated shape does not contain. The drawing only ever reaches into the five bands that exist, so a sixth value that nobody wrote down can never be drawn, no matter how many paths are run. Historical simulation cannot see anything that has not already happened. Fifty months cannot show a month unlike all fifty of them, and the more unusual the month in question, the more certainly it is missing.

Here is the household version of the same opposition. Suppose the question is how often the monsoon floods a particular street. One approach is to write down a rule about rainfall and run it a thousand times, and that rule can be wrong in a way a thousand runs will never reveal. The other approach is to ask what actually happened in the last four monsoons. An answer built that way cannot be wrong about those four monsoons and cannot say anything about a fifth. Neither approach is the careful one and neither is the sloppy one. The two are blind to different things, and a person who knows which one produced a number knows what to distrust about it.

Try it out

A simulated chance of 31.00 per cent arrives with nothing else attached to it. Which three things should be asked for first?

Try it out

Monte Carlo simulation said 24.5300 per cent and historical simulation said 25.0000 per cent. The exact answer, not shown yet, is 24.6562 per cent. Which of the two is closer, and does closer mean better here?

Hypothesis Testing — free micro-course from Fin Maverick

How would anybody know whether a simulation got the answer right?

In almost every real study nobody would, and that is not a failing of the study. A simulation is run because the answer is unavailable, so there is no answer sitting beside the estimate to check it against. Here there is, and it is the one real advantage of working on an invented subject.

The five values of the Nakshatra unit and their weights were set down on paper rather than measured off anything, and that single fact makes every twelve month path that can possibly happen known before a path is drawn. Twelve months across five values gives 1,820 different combinations of how many months took each value, each with a weight that can be worked out and a finishing price that can be worked out. Add the weights of the combinations that finish below Rs 100/-. The total is not an estimate of the chance. The total is the chance, and the chance is 24.6562 per cent.

THE WHOLE SHAPE, ADDED UP EXACTLY RATHER THAN DRAWNAll 1,820 twelve month combinations, each weighted and totalled.Rs 50/-Rs 75/-Rs 100/-Rs 125/-Rs 150/-Rs 175/-Rs 200/-the price twelve months onthe price it started at, Rs 100/-24.6562 per centof the whole shape sitsleft of the dark lineand the exact mean price isRs 112.6825/-Nobody drew a single path to get either figure. The shape was stated, so every case could belisted and its weight added, which is an answer with no drawing in it anywhere.
The exact chance of finishing below Rs 100/- is 24.6562 per cent, computed by adding the weights of all 1,820 twelve month combinations, and the exact mean finishing price is Rs 112.6825/-.

So all three numbers can be put on one line. No real simulation study ever gets to do that. Monte Carlo simulation came in at 24.5300 per cent from ten thousand paths, a miss of 0.1262 below the exact 24.6562 per cent, and historical simulation came in at 25.0000 per cent from four, a miss of 0.3438 above it. Monte Carlo simulation was nearer, by a factor of nearly three.

One question, two methods and one truth, in that order. All figures in per cent.
How the answer was reachedPaths behind itThe answerDistance from the truth
Historical simulation, four paths425.00000.3438 above
Monte Carlo simulation, ten thousand paths10,00024.53000.1262 below
The exact answer, added up rather than drawn1,820 combinations24.6562nothing to miss by

Now the part that is easy to get backwards. Monte Carlo simulation being nearer is not the reason to prefer it, and if the two figures had come out the other way round the verdict would not change. Four paths admit no answer but 0.00, 25.00, 50.00, 75.00 or 100.00 per cent, so landing near the truth on a ladder that coarse is luck rather than accuracy. The rungs are 25.00 percentage points apart. Whatever the truth had turned out to be, one of those five rungs was going to sit reasonably close to it, and the one that did says nothing about whether the method worked.

WITH FOUR PATHS THERE ARE ONLY FIVE ANSWERS AVAILABLESo landing near the truth is luck, and it is not evidence that the method worked.0.000 of 4 below25.001 of 4 below50.002 of 4 below75.003 of 4 below100.004 of 4 belowthe truth, 24.6562 per cent, is not on the ladder at all2021222324252627282930the same stretch of the scale, from 20 to 30 per cent, magnified sixty timesthe truth, 24.6562Monte Carlo simulation, 24.5300historical simulation, 25.0000The gap between the two rungs either side of the truth is 25.00 points wide. The gap between thetwo estimates is 0.4700. A ladder that coarse cannot show whether anything was checked.
With four paths the only answers historical simulation can produce are 0.00, 25.00, 50.00, 75.00 and 100.00 per cent, so landing near the truth is luck rather than accuracy.

The Monte Carlo figure, by contrast, comes with a size for its own error. With ten thousand paths the standard errorHow far a computed number typically sits from the quantity it was computed to estimate. on the estimate is 0.4310 per cent, and the miss of 0.1262 is about three tenths of that. An unremarkable run, then, rather than a lucky one. A run that had landed on 24.6562 per cent exactly would have been the surprising outcome. The real difference between the two answers sits there. One of them can state how wrong it probably is, and the other cannot.

Try it out

The exact answer of 24.6562 per cent was not simulated at all. How was it obtained, and why can it be obtained here and not in a real study?

Try it out

The panel below moves the path count from 500 up to 2,56,000. Does the estimate walk steadily towards the truth, each setting closer than the last, or does it wander towards it?

Play with it

Add paths one setting at a time, and watch which of the two answers moves.

One control, and it moves the number of drawn paths through nine settings from 500 up to 2,56,000. The starting number stays 12345 the whole way and the five values and their weights never change, so what is on display is one single run getting longer rather than nine different runs. The paths are nested: the first 500 paths are the opening 500 of the 1,000, and so on up. Two upright lines are fixed. The near one is the exact answer of 24.6562 per cent and the far one is the 25.0000 per cent that historical simulation gets from four stretches of the fifty month record. At 10,000 paths every reading here agrees with the worked instance further up, decimal for decimal.

500 paths10,000 paths2,56,000 paths
ONE RUN REFINING, AGAINST TWO LINES THAT NEVER MOVEThe starting number stays 12345 and the shape never moves. Only the number of paths changes.the exact answer, 24.6562 per centhistorical simulation, 25.0000 per cent, four pathsthe runone standard error either sideevery setting5001,0002,0005,00010,00020,00050,0001,00,0002,56,00020212223242526272829the share of paths that ended below Rs 100/-, in per centHistorical simulation stays exactly where it is however many paths are added here.
paths drawn
10,000
below Rs 100/-
2,453
the estimate
24.5300
the exact answer
24.6562
the miss
minus 0.1262
standard error
0.4310
Educational illustration. The five values and their weights are stated rather than measured, which is the only reason the exact answer of 24.6562 per cent can be printed beside the estimate at all. The starting number is held at 12345 throughout, so the same setting always returns the same reading, and every one of the nine readings is produced by the rule printed above rather than copied in.

The estimate does not march. From 500 paths it reads 24.8000 per cent, then 25.1000, then 25.2000, moving further from the truth for two settings in a row before turning back, and only at 2,56,000 paths does it settle at 24.6859 per cent. The band around the reading is what improves reliably, not the reading itself. The band shrinks from 1.9275 per cent at 500 paths to 0.0852 per cent at 2,56,000, while the historical answer sits frozen at 25.0000 per cent however long anybody waits. More paths buy a smaller wobble, not a straighter walk. And nothing done to the path count adds a single month to the fifty month record.

Hypothesis Testing teaches you to run a test, say what it can and cannot support, and recognise a manufactured result.

What should be asked of any simulated number that arrives without explanation?

Simulated numbers arrive on desks constantly, and they arrive stripped. A credit officer gets a chance of a shortfall. An analyst gets a range around a projection. A household gets a chance that a savings plan falls short of a target. In every case the figure is a point estimateA single figure put forward as the answer, with nothing said beside it about how wide of the mark it might be. that arrived without the machinery that produced it, and reading it well is mostly a matter of asking for the machinery back. Seven questions do it.

One, where did the shape come from, or was it a record rather than a shape? The answer settles which of the two blindnesses applies. Two, how many paths, and were they independent of each other? Four paths and forty overlapping windows are both small numbers wearing different clothes. Three, what rule generated the numbers and what starting number was it given? Four, would that same starting number give the same answer tomorrow? Five, what is the size of the error on the estimate, so the reader knows whether the last two decimal places mean anything. Six, is there anything in the problem that can be computed exactly and checked against, even a simplified corner of it. And seven, what could this method not have seen, whatever it says.

THE SAME NUMBER, REPORTED TWICEOnce so it can be checked, once so it cannot.AS IT SHOULD ARRIVEThe chance of the Nakshatra unit ending belowRs 100/- in twelve months is 24.5300 per cent.1Drawn from the stated five value shape, weights20.08, 0.18, 0.48, 0.18 and 0.08, over 10,000 paths,3using the multiply and take the remainder rule4from the starting number 12345.1the figure itself, and it means nothingon its own2the shape, so a reader can disagree withthe assumption3the path count, so a reader can work outthe error4the rule and the starting number, so areader can rerun itAS IT USUALLY ARRIVESThe chance of ending below the starting price is 24.5300 per cent.Same number, and not one thing a reader can do with it. No shape to argue with, no path countto size the error against, and no way on earth to get it back.
A simulated number quoted without its path count and its starting number is a number nobody else can reproduce, and reproducing it is the only way anyone can check it.

A simulated number quoted without its path count and its starting number is not a small omission, it is a number nobody can check. The omission is worth being blunt about, because it never looks serious. Leaving the apparatus out looks like tidiness. The figure reads more cleanly without the apparatus, and the apparatus is exactly what would let a second person disagree with it on the evidence rather than on instinct. A lender who cannot rerun a simulated chance of a borrower defaulting cannot argue with it either, and a number nobody can argue with is not a strong number, only an unexamined one.

Try it out

A colleague reports that Monte Carlo simulation and historical simulation gave answers within half a percentage point of each other, and concludes that the stated shape has therefore been confirmed. Is that a check?

The failure: reading agreement between four paths and ten thousand as confirmation

Here is how it goes wrong in practice, and it goes wrong quietly. A reader sees 24.5300 per cent from Monte Carlo simulation and 25.0000 per cent from historical simulation, notices the two are within half a percentage point of each other, and writes down that the methods agree, so the stated shape must be about right.

The two figures do not agree about anything. The historical figure came off four paths, where the only answers available were 0.00, 25.00, 50.00, 75.00 and 100.00 per cent. One of those five rungs was always going to sit within about twelve percentage points of whatever the truth was, so landing near the drawn answer carried no information about the drawn answer at all. Nothing in the four stretches examined the five values or the five weights, so nothing in the four stretches can vouch for them.

The cost is concrete and it compounds. The reader now believes the stated shape has been checked when nothing has checked it, and that belief travels into every later run built on the same five values and the same five weights, wearing a tick it never earned. Every one of those runs will be wrong in the same direction, and the more carefully they are run the more confident the wrong answer will look.

The fix is one question, asked before the second number is allowed to confirm the first: how many independent paths sit behind it? Four is not a check. If the answer is four, the second number is a fifth data point in a different guise, not corroboration, and the way to test a stated shape is to argue with the shape rather than to run something else and see whether the two land nearby.

Related subjects. How a Monte Carlo run is actually built, and what happens to the answer when the shape it draws from is moved, is set out elsewhere. The discipline a run needs before it is worth reporting, including what happens when somebody tries several starting numbers and keeps the answer they liked, is a subject of its own. Where the numbers between zero and one really come from inside a computer, and why they are not random in any sense a reader would accept, is covered separately, as is resampling a record already held in order to measure how far a figure moves about. Using either of these methods to put a value on a contract is covered under derivatives; above, Monte Carlo simulation is a method for counting outcomes and nothing else.

Breaking Into Quants Bootcamp — Fin Maverick

What does each figure rest on?

Every figure in the table below can be regenerated from a rule printed above, by anyone, with no access to anything.

Every figure and how to produce it again
The figureWhere it is statedHow to check it
The five values and their weightsPrinted in full in the block on Monte Carlo simulationAdd the five weights and confirm they reach one
The stream of numbers between zero and oneThe multiply and take the remainder rule, printed beside path oneCrank the first three lines on a calculator from 12345
Path one finishing at Rs 99.2786/-The twelve line table in the block on Monte Carlo simulationMultiply the twelve values onto Rs 100/- in order
The reading order of the fifty month recordThe swap rule run from the starting number 4321Rerun the swap pass and compare the first six months
The exact 24.6562 per centThe 1,820 twelve month combinations and their weightsAdd all 1,820 weights and compare
The estimate of 24.5300 per centTen thousand paths from the starting number 12345Rerun the same starting number against the same shape

The Nakshatra unit and the fifty month record are invented.
Educational material. Not advice on any investment, tax, budget or market position.

Covered in this topic

Subtopics

Monte Carlo SimulationHistorical SimulationMonte Carlo Simulation vs Historical Simulation
← PreviousNext →
Fin Maverick Micro CoursesExplore Micro Courses
Fin Maverick BootcampsExplore Bootcamps
Fin Maverick

Finance education that ends in a job, not a certificate that gathers dust. Built for young India.

LEARN
CalculatorsFrameworksComparisonsCareersShowdown
RESOURCES
All CoursesMicro CoursesBootcampsInternships
COMPANY
AboutJob openingPartnership
LEGAL
Privacy PolicyTerms & ConditionsContent LicenseReturn & Refund Policy
© 2026 FIN MAVERICK / BUILT FOR INDIA.DO FINANCE, DO NOT JUST READ ABOUT IT.