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

Monte Carlo Simulation: Drawing From a Stated Shape

Monte Carlo simulation writes down the shape an outcome can take, draws from that shape one value at a time, and counts what falls out. State the Nakshatra unit's five monthly changes and their weights, draw twelve, apply them to Rs 100/-, then do the whole thing again. Ten thousand paths from seed 12345 leave 2,453 below Rs 100/-, reading 24.5300 per cent against an exact 24.6562.

The output of one of these is familiar enough, even where the machinery behind it is not. Somebody says there is a one in four chance of the thing ending lower than it started, and the number arrives already finished, with no visible working. The machinery behind that number is small enough to pull apart on paper. A calculator and about twenty minutes produce the same digits printed below.

The whole method is four steps and only one of them requires any thinking. Four steps with one decision inside them is the sentence worth carrying away before anything else. Everything difficult about a Monte Carlo simulation happens before a single number is drawn, in the step where somebody decides what shape the outcomes are being drawn from. The drawing itself is bookkeeping.

Everything here runs on one invented thing. The Nakshatra unit was composed for teaching: it carries a price, it is quoted once a month, and no other property was ever assigned to it. Its opening price is Rs 100/-. From one month to the next that price moves by exactly one of five amounts, and by nothing in between: a fall of 9.00 per cent, a fall of 4.00 per cent, a rise of 1.00 per cent, a rise of 6.00 per cent, or a rise of 11.00 per cent. The weightThe number sitting beside each possible value, saying how much of the time that value turns up. Weights across all the possible values add to one, which is settled elsewhere and used here without rebuilding. on each of those five, in the same order, is 0.08, 0.18, 0.48, 0.18 and 0.08. The list of five values with five weights is the stated shape, and the shape is stated rather than measured, fitted or discovered. Somebody wrote it down.

No figure below was measured. The Nakshatra unit was composed for teaching, and its five values and five weights were fixed when it was first set out. Every reading then comes out of one arithmetic rule, printed in full further down and started from a number named beside each figure it produces. Put the same starting number into the same rule and the same digits come back, and that repetition is the whole of the checking available.

What is taken here as already settled?

Three things, each built elsewhere, each used here without being rebuilt from scratch.

  • The five values, the five weights, and the fact that weights add to one. Where those come from and what a weight means is covered separately. Here they are simply the raw material, and the only fact about them that matters is that they total exactly 1.00.
  • The purpose of a simulation, and how it differs from replaying a record already held. The comparison between the two is covered separately. Generating outcomes is taken as a legitimate thing to do, and the question is how one is actually generated.
  • A counted answer is an estimate, and estimates miss. The standard errorA measure of how far a counted answer would typically jump about if the whole counting exercise were done again from scratch. How it is calculated, and how many draws a stated tolerance costs, are both covered separately. of a counted share is covered separately. The figure 0.4310 per cent is used once below as a sense of scale, and is not derived here.

The strangest and most useful feature of the whole treatment is worth stating first. Because the Nakshatra unit was composed and its shape written down, its true answer is known exactly rather than estimated. There are 1,820 different ways twelve months can be shared out among five values, each way carries a weight that can be computed, and adding up the weight of every way that finishes below Rs 100/- gives 24.6562 per cent. Adding up every way like that is enumerationListing every possibility one at a time and adding up what each of them contributes, rather than sampling some of them and scaling up. It only works where the list of possibilities is short enough to finish., not sampling. So every simulated answer below stands beside the truth it is trying to reach. No real study of anything can do that.

What are the four steps of a Monte Carlo run?

Here they are, and there are genuinely only four.

  1. State the shape. Write down every value the thing can take and the weight on each. For the Nakshatra unit that is five values and five weights, and it is a decision somebody makes, not a fact anybody looked up.
  2. Draw a number between zero and one. One uniform drawA number picked from the stretch between zero and one where no part of the stretch is favoured over any other. Where such numbers actually come from is covered separately., no more. Where those numbers come from is covered separately; for now, accept that a rule exists that produces them one after another.
  3. Read the drawn number off against the shape to get one value. The mapping is set out immediately below, and it is where readers get stuck.
  4. Repeat. Twelve times to fill one twelve month path. Ten thousand times to fill a run. Then count.

Step one is a decision and steps two, three and four are mechanical. So every argument anybody ever has about a Monte Carlo simulation is really an argument about step one. Nobody disputes that a drawn number between 0.08 and 0.26 should read as a fall of 4.00 per cent, given the weights. People dispute the weights, always and only. The weights are what to look at whenever one of these answers is quoted.

ONE DECISION, THEN BOOKKEEPINGEverything below the first box happens the same way no matter what anybody thinks.STEP 1State the shape: five values, and the weight on each of them.A DECISIONsomebody wrote thisTHE INNER LOOPMONTH 3 OF 12STEP 2Draw a number betweenzero and one.STEP 3Read it off the shape toget one of the five values.STEP 4, first half: go round twelve times, once for each month of the path.STEP 4, SECOND HALFClose the path, note where it ended, and run the whole loop again.PATH 1 OF 10,000
The shape gets stated once at the top and the two steps inside the loop then turn over twelve times for a path and ten thousand times for a run, so anyone disputing the final number is disputing the box at the top and nothing below it.
Try it out

Which of the four steps in a Monte Carlo run is a decision rather than a mechanical operation?

How does a number between zero and one become one of five values?

Through the running totals of the weights, and it is easier than it sounds. The five weights taken in order, with a running total kept along the way, give 0.08, then 0.08 plus 0.18 is 0.26, then plus 0.48 is 0.74, then plus 0.18 is 0.92, then plus 0.08 is 1.00. The five running totals cut the stretch from zero to one into five stretches whose widths are exactly the five weights.

Now the rule. The drawn number walks along the running totals until it reaches the first one it is below. The value sitting at that first running total is the value drawn. The test is strictly less than, and the word strictly is doing real work here. A draw of 0.0500 is below 0.08 straight away, so it reads a fall of 9.00 per cent. A draw of 0.2599 is not below 0.08, but it is below 0.26, so it stops there and reads a fall of 4.00 per cent. A draw of exactly 0.2600 is not below 0.26. Equal is not below, so the draw walks on to 0.74 and reads a rise of 1.00 per cent.

The hair splitting matters less for the answer than for confidence in the answer. Landing exactly on a boundary is vanishingly rare, so the answer barely feels the rule at all. Confidence feels it a great deal. A rule that is only mostly specified is a rule two people will implement differently, and then their answers will differ and neither will know why.

The mapping is the only place the stated shape enters the calculation, so changing the shape means changing these five widths and changing nothing else at all. The drawing rule does not change. The counting does not change. The twelve multiplications do not change. Five widths move, and everything downstream is carried along by them. Hold on to that width business. The tool further down is honest for exactly this reason: it moves one width and lets one other width absorb the change.

THE STRETCH FROM ZERO TO ONE, CUT BY THE RUNNING TOTALSEach band is one of the five monthly changes. The width of a band is the weight on that change.minus 9.00minus 4.001.006.0011.000.080.180.480.180.080.000.080.260.740.921.00a draw of 0.0500 reads minus 9.00 per centTHE SAME LINE, MAGNIFIED AROUND THE CUT AT 0.260.25900.26100.2599 is below 0.26, so it reads minus 4.000.2600 is not below 0.26, so it reads 1.00The two draws sit one ten thousandth apart and land in different bands, because the test is strictly less than.
Because a drawn number must be strictly under a running total to stop there, 0.0500 lands in the first band, 0.2599 squeaks into the second, and 0.2600 misses it by nothing at all and carries on into the third.
Try it out

A drawn number comes up as 0.7399. Which value does it read off, and what would 0.7400 read off instead?

AI For Finance Bootcamp — Fin Maverick

What does one whole path look like?

Now to do it properly. The rule that produces the numbers between zero and one in this guide is a single line of arithmetic: the current number is multiplied by 16,807, and the remainder after dividing by 2,14,74,83,647 is kept. The remainder divided by 2,14,74,83,647 is the number between zero and one. The remainder then feeds back in and the line repeats.

The rule has to start somewhere, and the number it starts with is the seed. The headline run starts it at 12345, and the seed is named beside every figure the run produces. 12,345 multiplied by 16,807 is 20,74,82,415. The product is smaller than the number being divided by, so it survives the remainder step untouched. Divided by 2,14,74,83,647 it gives 0.096617. Walked along the running totals, it is not below 0.08 but it is below 0.26, so the first month reads a fall of 4.00 per cent, and Rs 100/- becomes Rs 96/-.

Carried on for twelve months, that gives a path. Each month's change is applied to whatever the month before left behind rather than to the original Rs 100/-. Stacking changes like that is ordinary compoundingWhere a change lands on top of whatever was left standing after the change before it, so the base keeps shifting. Twelve such moves cannot be totalled up as twelve numbers. and is why the twelve changes cannot just be added up. Here is the whole thing, and every line of it is one multiplication and one remainder.

The first path drawn from seed 12345, with the stated shape. Every price is the month before multiplied by one plus the change.
MonthThe number in the ruleDrawn numberChange, per centPrice
120,74,82,4150.096617minus 4.00Rs 96.0000/-
21,79,09,89,8240.8339956.00Rs 101.7600/-
32,03,51,75,6160.94770211.00Rs 112.9536/-
47,70,48,6960.035879minus 9.00Rs 102.7878/-
52,47,94,5310.011546minus 9.00Rs 93.5369/-
610,98,54,9990.051155minus 9.00Rs 85.1186/-
71,64,45,15,4200.7657876.00Rs 90.2257/-
81,25,61,27,0500.5849301.00Rs 91.1279/-
91,96,30,79,3400.9141306.00Rs 96.5956/-
101,68,31,98,5190.7838006.00Rs 102.3913/-
1171,54,26,9020.3331471.00Rs 103.4153/-
1241,90,02,3610.195113minus 4.00Rs 99.2786/-

Look at months four, five and six. Three falls of 9.00 per cent in a row, in the very first path the rule produced, from a value carrying a weight of only 0.08. A reader meeting that for the first time usually assumes something has gone wrong, and nothing has. Three falls of 9.00 per cent in a row is exactly the sort of thing a weight of 0.08 on that value produces, and finding one in the first path is not evidence of a broken rule any more than three heads in a row is evidence of a bent coin.

Working out how often it should happen makes the surprise go away. A run of three at any given starting month has a weight of 0.08 times 0.08 times 0.08, or 0.000512. There are ten places in a twelve month path where such a run could begin. Across ten thousand paths there is plenty of room for it. The household version: a street vendor who has three terrible days in a row in his first week has not been cursed, he has had a normal week for someone whose takings vary. The right response is to check the takings book, not the stars.

PATH ONE, SEED 12345One path is twelve multiplications applied in order to a starting price of Rs 100/-.8090100110Rs 99.2786/-below the startRs 112.9536/-Rs 85.1186/-0123456789101112three falls of 9.00 per cent in a row, from a value weighted 0.08
Months four, five and six of the very first path all read a fall of 9.00 per cent, dragging the price to Rs 85.1186/- before it climbs back to finish at Rs 99.2786/-, which is the sort of run a weight of 0.08 hands out rather than a symptom of a fault.
Try it out

Path one contains three falls of 9.00 per cent in a row. With a weight of 0.08 on that value, is that evidence the drawing rule is broken?

Measuring Risk in a Portfolio — free micro-course from Fin Maverick

How does one path become an answer?

One path does not become an answer, and this is the part people skip. Path one ended at Rs 99.2786/-, below where it started. One path finishing below the start is one count. One count is not a share, and a share needs a denominatorThe count written underneath a share, deciding what the share is a share of. Change it and the share changes even when the number on top has not moved. worth the name.

Consider path one on its own. One path finished below the start, out of one path run, and the reading is 100.0000 per cent. The reading is a true statement about the one path and a worthless statement about anything else. Across twenty five paths, eight of them finish below for a reading of 32.0000 per cent. Better, and still a long way from anything worth putting in writing. Across ten thousand, 2,453 finish below for a reading of 24.5300 per cent.

The answer a Monte Carlo simulation produces is a counted share, and the drawing was only the machinery that gave the share something to count, so the ending price of any one path is not an output of the method at all. A single simulated path quoted as though it were a finding is the raw material offered as the product.

ONE PATH IS A COUNT. TEN THOUSAND PATHS ARE A SHARE.Same shape, same rule, same seed. Only the number of paths counted changes.ONE PATHRs 100/-1 of 1 below, which reads 100.0000 per centtrue about this path, worthless about anything elseTWENTY FIVE PATHSRs 100/-8 of 25 below, which reads 32.0000 per centthe eight below the dashed line are drawn darkTEN THOUSAND PATHS2,453 below7,547 at or above the price it started from24.5300 per centis 2,453 divided by 10,000The exact answer, computed by adding up all 1,820 ways, is 24.6562 per cent.
Counting one path gives 100.0000 per cent, counting twenty five gives 32.0000 per cent, and only when the denominator reaches 10,000 does the 2,453 paths finishing below settle the reading at 24.5300 per cent.
Try it out

Path one ended at Rs 99.2786/-. Is that an output of the Monte Carlo simulation?

Measuring Risk in a Portfolio teaches you to compute and interpret the standard portfolio risk measures and say what each one misses.

What does the tool take, and why is one of its controls not a variable?

The tool takes two controls, and the two are not the same kind of thing at all.

The first control is the variable. The variable is the weight on a fall of 9.00 per cent, and it moves from 0.00 to 0.20. The five weights have to keep adding to exactly one, so whenever the weight on a fall of 9.00 per cent moves, the weight on 1.00 per cent moves the other way to absorb it. With the weight on a fall of 9.00 per cent set to w, the five weights become w, 0.18, 0.56 minus w, 0.18 and 0.08. Added up: 0.18 plus 0.18 plus 0.08 is 0.44, and w plus 0.56 minus w is 0.56, and 0.44 plus 0.56 is 1.00. The five weights close at every setting, and the tool's own script checks the total before it prints anything.

The second control is the seed, and it is not a second variable. The seed decides which stream of numbers between zero and one comes out of the rule. The seed decides nothing whatever about what is being asked. Changing the seed is like putting the same question to a different set of ten thousand drawn paths. Changing the weight asks a different question entirely.

A panel that reshuffled on every click would make a real change impossible to tell apart from noise, and the seed is there to stop that: the same setting always gives the same reading. Repeatable randomness feels backwards, and the idea is worth sitting with for a second. Randomness that can be repeated sounds like a contradiction, and it sounds like cheating. It is neither. When the weight moves from 0.08 to 0.10 and the reading moves, the question is whether the reading moved because the shape moved or because the drawing happened to land differently this time. With the seed held fixed, only one of those two explanations survives.

TWO CONTROLS, TWO DIFFERENT KINDS OF THINGTelling them apart is most of what it takes to read a simulated answer honestly.THE VARIABLEThe weight on a fall of9.00 per cent0.000.080.20Moving it changes the shape,so it changes the questionbeing asked.NOT A VARIABLEThe seed, which starts therule off somewhere12345123464321three stated starting points, and no othersMoving it changes whichnumbers arrive, and asks thevery same question again.With the seed reported beside the reading, a stranger can rebuild the run to the last digit.
Nothing about the question changes when the seed changes, only which numbers turn up to answer it, so the seed belongs in the report as a way of letting somebody rebuild the run rather than in the analysis as a second thing to vary.

The weights closing at exactly one is not a nicety, and it is worth seeing rather than believing. Draw the five weights as one bar and something rather nice shows up: the cut at 0.74 does not move at any setting. The weight the first value gains is exactly the weight the middle value loses.

THE BAR IS ALWAYS EXACTLY ONE WIDEThree settings of the weight on a fall of 9.00 per cent. Only two of the five bands ever change width.SET TO 0.000.180.560.180.08the first band has width 0.00, so nothing at all reads a fall of 9.00 per centadds to 1.00SET TO 0.08, THE STATED SHAPE0.080.180.480.180.08adds to 1.00SET TO 0.200.200.180.360.180.08adds to 1.00The cut at 0.74 lands in the same place on all three bars, because whatever the first band gains the middle band gives up.So does the cut at 0.92. The last two bands are untouched at every setting.
Whatever the first band takes, the middle band surrenders, which keeps the total at one across all three settings and pins the cut at 0.74 to the same spot on every bar.
Try it out

The tool's seed moves from 12345 to 12346 and nothing else changes. What should happen to the reading, and what would it mean if the reading did not move at all?

Try it out

The tool is set back to a weight of 0.08 and seed 12345 tomorrow morning. What reading will it give, and what does that say about what a seed is for?

Try it out

The weight on a fall of 9.00 per cent is about to move from 0.08 to 0.16. Does the chance of ending below Rs 100/- roughly double, more than double, or less than double?

Play with it

Move the stated shape and watch the answer follow it.

One variable moves: the weight on a fall of 9.00 per cent, through eleven settings from 0.00 to 0.20. The weight on 1.00 per cent absorbs every change, so the five weights add to exactly one at every setting, and the tool checks that before it prints a single figure. The bands redraw, twenty five sample paths redraw, and the counted answer redraws beside a marker for the exact answer that is drawn only at the stated setting. The opening setting is a weight of 0.08 with seed 12345, and the run at that setting puts 2,453 paths below Rs 100/- out of 10,000, reading 24.5300 per cent against an exact 24.6562 per cent. The seed sits beside the slider without being a second thing to explore, and it is here because a tool that shuffled its own answer on every click would quietly contradict everything written above it.

Jump to a setting:
Seed:
Weight on minus 9.00
0.08
Weight on 1.00
0.48
The five weights add to
1.00
Paths below Rs 100/-
2,453
The reading
24.5300 per cent
The exact answer
24.6562 per cent
Runs at this setting
1, one answer

Educational illustration. Every figure in the tool comes out of the arithmetic rule printed above, started from the seed shown. The shape at a weight of 0.08 is the stated one. Every other setting describes a different thing entirely, so the marker for the exact answer is drawn only at 0.08.

Risk Management Program Bootcamp — Fin Maverick

What happens to the answer when the stated shape moves?

The answer moves a very long way, and that is the whole claim being made. Here are all eleven settings, each one a full run of ten thousand paths from seed 12345.

Eleven stated shapes, eleven runs, one seed. The two weights that move always add to 0.56.
Weight on minus 9.00Weight on 1.00Chance of ending below Rs 100/-
0.000.565.3200 per cent
0.020.549.2100 per cent
0.040.5213.8200 per cent
0.060.5018.9700 per cent
0.08, the stated shape0.4824.5300 per cent
0.100.4629.7600 per cent
0.120.4435.2700 per cent
0.140.4241.0300 per cent
0.160.4046.6300 per cent
0.180.3852.0600 per cent
0.200.3657.7900 per cent

From 5.3200 to 57.7900 per cent. The answer moves by a factor of nearly eleven while the drawing rule, the seed, the twelve months and the counting all sit perfectly still. Nothing about the machinery changed. One number in the first step changed.

The answer is a function of the stated shape, and the stated shape was an assumption, so a Monte Carlo simulation can never be more right than the sentence somebody wrote down before any drawing started. The dependence is not a criticism of the method. It is the method, described accurately. The drawing is a very good way of working out what a stated shape implies, and it is no way at all of working out whether the shape is any good.

Now the harder half. Because the enumerated answer described the shape at 0.08 and nothing else, the exact 24.6562 per cent belongs only to that setting, and at every other setting there is nothing to compare the reading against. The trap catches people who have got comfortable with the truth marker. At a weight of 0.20 the reading is 57.7900 per cent, and the natural next question is what the true answer is. There isn't one here. A unit whose weight on a fall of 9.00 per cent really is 0.20 does have an exact answer of its own, but that unit is not the Nakshatra unit, and the enumeration above was carried out for the Nakshatra unit alone.

THE ANSWER IS A FUNCTION OF THE ASSUMPTIONEleven runs of ten thousand paths, one seed, one weight moving. The vertical scale is the chance of ending below Rs 100/-.0102030405060the exact answer existshere and nowhere else5.320057.79000.000.020.040.060.080.100.120.140.160.180.20the weight on a fall of 9.00 per centTHE POINT AT 0.08, MAGNIFIED24.7024.5524.6562 per cent, the exact answer, computed rather than drawn24.5300 per cent, what 10,000 drawn paths actually countedthe miss, minus 0.1262 per centOn the scale of the picture above, these two sit less than one pixel apart, which is why they need magnifying to be seen at all.A run that landed on the exact answer to four decimal places would be the surprising outcome, not this one.
Nudging one weight across its eleven settings drags the answer from 5.3200 all the way to 57.7900 per cent, while the exact 24.6562 per cent stays pinned to the single setting of 0.08 it was computed for.
Try it out

The reading at a weight of 0.20 is 57.7900 per cent. Why is there no marker for the exact answer beside it, when there is one beside the reading at 0.08?

Who actually runs one of these, and what do they do with the answer?

Start somewhere without any finance in it at all. A caterer is quoting for a wedding and needs to know how often a job of this size loses money. She has done eleven weddings. Eleven is not enough weddings to count anything from. So instead she writes down what she knows: guest numbers land in one of five brackets, and she knows roughly how often each bracket comes up. She writes down five ingredient cost levels and how often each of those comes up. Then she works through five hundred imaginary weddings on paper, drawing a bracket and a cost level for each, and counts how many lost money. Five hundred imaginary weddings counted on paper is a Monte Carlo simulation, done with a pencil, and it is the same four steps.

The caterer must not then forget where the five brackets came from. If somebody asks her the chance of losing money on a wedding, the honest answer is not a number. The honest answer is a number attached to a sentence: given that guest numbers fall into these five brackets this often, the chance is such and such.

The professional version is the same shape with better software. Somebody sizing a lending book runs paths of borrower behaviour and counts the ones that breach a limit. Somebody planning a household's lumpy expenses over ten years runs paths of income and counts the years that come up short. An analyst asked how often a holding finishes a year below where it began does exactly what was done above with the Nakshatra unit. In each case the useful product is not the headline number but the sensitivityHow far an answer shifts when one of the inputs behind it is nudged. A number that barely moves and a number that halves under the same nudge are two very different things to report. around it. A run shows how much the answer depends on the input that was least certain. The sensitivity is the reading worth carrying into a room.

Which is also the honest way to use the calculator above. The calculator does not offer eleven possible answers. The calculator measures how much the answer rests on one assumed number, and if the answer swings from 5.3200 to 57.7900 per cent while that number moves across a range nobody could confidently rule out, then what has been learned is that the answer is not known, and why.

Breaking Into Quants Bootcamp — Fin Maverick

What can a Monte Carlo simulation not show?

Four things, and they are worth naming individually because they fail in different ways.

  1. Whether the stated shape is right. Nothing inside the run can check this. The drawing is perfectly obedient to whatever it was handed, and it obeys a wrong shape exactly as faithfully as a right one.
  2. Whether the values in the shape are the only values the world can produce. The Nakshatra unit as stated cannot fall 30.00 per cent in a month, because a fall of 30.00 per cent is not in the list. Ten thousand paths will never produce one. A hundred million will never produce one. Absence from the output is not evidence of impossibility, it is a restatement of the input.
  3. The record of what actually happened. A Monte Carlo run generates outcomes that could occur under a stated shape. The run reports nothing that did occur. Replaying a real record answers a different question and is covered separately.
  4. How far the counted answer sits from the answer the same shape would give with unlimited paths. The gap is a separate calculation with its own arithmetic, covered separately, and on the default run it is measured at 0.4310 per cent while the miss came in at minus 0.1262 per cent.

The first of those four is the one that ends careers and the fourth is the one everybody quotes. Saying the run used ten thousand paths sounds diligent and is easy to check. Saying the run assumed a weight of 0.08 on a fall of 9.00 per cent because that is what somebody wrote down in a meeting is far harder. Both belong in the report. Only one of them usually gets there.

Try it out

Somebody reports that a Monte Carlo simulation shows a 24.5300 per cent chance of the Nakshatra unit ending a twelve month stretch below where it started. Name the assumption that number is entirely conditional on, and say what would have to be checked before quoting it.

The mistake this tool invites, and it is a good mistake

Here is what happens. A reader moves the weight on a fall of 9.00 per cent from 0.08 to 0.12, watches the answer go from 24.5300 to 35.2700 per cent, and writes down that the chance of the Nakshatra unit ending below Rs 100/- is somewhere between 24.5300 and 35.2700 per cent.

It is not. Only one of those two shapes is the shape the Nakshatra unit was defined with. The other describes a different thing entirely, something whose falls of 9.00 per cent come up half again as often. Presenting the two readings as a range says that one subject has an uncertain answer. In truth, two different subjects each have a perfectly definite answer.

The cost of this is a report where a reader downstream cannot tell the two apart. A range that comes from genuine uncertainty about the world and a range that comes from the author trying out different inputs look identical in print, and only one of them means what the reader will assume it means. The fix costs one line of typing. Label every reading with the shape that produced it, and never put readings from two different shapes together as a range. The reader's actual discovery is far more useful than a fake range. How hard the answer leans on one assumed number is a finding worth reporting in its own right and in its own words.

TWO SHAPES ARE NOT A RANGEThe same two figures, written the wrong way and then the right way.WHAT GOT WRITTEN DOWN24.530035.2700somewhere between 24.5300 and 35.2700 per centNOT A RANGE. TWO ANSWERS TO TWO DIFFERENT QUESTIONS.24.5300 per centfrom the shape with a weight of0.08 on a fall of 9.00 per cent.This one is the Nakshatra unit.35.2700 per centfrom the shape with a weight of0.12 on a fall of 9.00 per cent.This one is something else.
Stacking 24.5300 against 35.2700 per cent looks like uncertainty about one thing and is not, since the two figures answer questions about two different things and only the first of them is the Nakshatra unit.

Related subjects. Simulation itself, and how generating outcomes compares with replaying a record already held, is covered separately. The discipline that makes a run worth reporting, including how a seed gets chosen and reported honestly, is set out in its own treatment. Where the numbers between zero and one actually come from, and how many draws a stated tolerance costs, are both covered separately. The method that draws its material out of a record instead of out of a written down shape is covered separately as well. Pointing this method at a contract and valuing the contract belongs to a different subject altogether.

Breaking Into VC Bootcamp — Fin Maverick

What would have to be fetched to check the figures here?

Nothing. There is no document behind these figures because there is no document that could be behind them. Five values, five weights and one line of arithmetic are the entire equipment, and all three are printed above in full. The check on every figure here is not a citation but a repetition: start the rule at the seed named beside the figure, turn the handle, and see whether the same digits come back.

The kind of source a reference table usually carriesWhat stands in its place
A supervisor, exchange or standard setter whose rule is being restatedNone. No supervisor or standard setter made this arithmetic. Multiplying by 16,807 and taking a remainder is not anybody's regulation, and no market decides what a running total is.
A price series, with the day it was last readNone. The Nakshatra unit has never traded anywhere, so it has no series and no reading date. Its five values were composed, not observed.
An author whose method this isNone named. Drawing from a stated shape and counting is old, ordinary working practice, and it is attached to nobody in particular.
Figures taken on trust from somewhere elseNone. Path one, the 2,453 paths below Rs 100/-, all eleven shape settings and the exact 24.6562 per cent are each produced by the arithmetic rule above, and the calculator regenerates them every time a control moves.
A jurisdiction, threshold or period that changes from place to placeNone. No rate, threshold, filing date or product appears anywhere here, so there is nothing that could differ between one market and another.

The Nakshatra unit, the caterer and the street vendor are invented.
Educational material. Not advice on any investment, tax, budget or market position.

← 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.