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

The Model: A Deliberate Simplification, and What That Costs

A model is a rule that turns inputs into a statement about an outcome, and every model is a decision to ignore things. On the ten paired months of the Nakshatra unit and the Vasant unit the straight line misses by 218 in squared terms, of which 72 is the price of insisting the relationship is straight and 146 is beyond the reach of any rule reading that one input at all.

Two things are already settled, and both are used below exactly as they stand, with no second pass over either. There is a fitted line on ten paired monthly readings, and its sum of squared missesTake the gap between what a rule said and what actually happened in each month, square every gap so that overshooting and undershooting both count as damage, then add the ten results together. is 218. There is an R squaredThe share of the up and down movement in whatever column is being explained that a rule accounts for, read as a number between nought and one. Where it comes from is settled elsewhere in these notes. of 0.7559 attached to that same line. A slope, an R squared, a miss, and what goes wrong when two inputs say the same thing were all settled earlier, so none of them is re-explained.

The readings themselves were made up for teaching. The Nakshatra unit changed by 1.00, 6.00, minus 4.00, 11.00, 1.00, minus 9.00, 6.00, 1.00, minus 4.00 and 1.00 per cent across ten months in that order. The Vasant unit changed by 3.00, 18.50, 2.50, 17.00, minus 3.00, minus 13.00, 6.50, minus 1.00, minus 7.50 and minus 3.00 per cent across the same ten. The line fitted to them reads 0.5000 plus 1.5000 times the Nakshatra change, and those two coefficientsThe numbers a fitting procedure picks out and drops into a rule whose shape somebody already chose. Here there are two: the number the input gets multiplied by, and the number added on at the end. are exact by construction rather than rounded off. One settled line raises a question nobody asked of it before: of the 218 it misses by, how much could any rule at all have avoided, and how much was never available to anybody?

What is a model, in plain words?

A model is a rule that takes one or more inputs and returns a statement about an outcome. The definition needs to say nothing more. There is no requirement that the rule be complicated, no requirement that it involve arithmetic that cannot be done in the head, and no requirement that it be right.

A tea cart outside a bus depot shows the shape of it. The person running it wants to know how much milk to buy tomorrow, so they use a rule: buy tomorrow whatever sold today. The rule is a model. The rule reads one input, today's takings, and returns one statement, tomorrow's likely takings. The rule ignores the weather forecast, the day of the week, the exam season that empties the depot in March, the roadworks that started on Tuesday and the fact that the cart across the road has been shut for a fortnight. The ignoring is not a shortcut taken by somebody who could not be bothered. A rule that took in every one of those considerations would take longer to run than the day it is trying to predict, so the ignoring is what makes the rule usable at all.

Notice who does what here. A person decided that tomorrow's takings should be read off today's, and a person decided that nothing else would be read. The data was never consulted about either choice. The data can do one thing once that shape is fixed: choose the numbers that sit inside it. If the cart owner had written the rule as "tomorrow equals some number times today, plus some other number", a record of past days could pick those two numbers out. The record could not have proposed the form of the rule, and it could not have volunteered that the weather might matter. Fitting chooses the numbers inside a shape somebody else already chose. The choice of shape is therefore the modelling decision, and the fitting is the arithmetic that follows it.

ONE INPUT IN, ONE STATEMENT OUT, AND A BIN THAT IS PART OF THE DESIGN the Nakshatra unit's change this month, in per cent THE RULE 0.5000 plus 1.5000 times the input shape chosen by a person, two numbers chosen by the data a statement about the Vasant unit's change WHAT THE RULE IGNORES, ON PURPOSE the same two units a month earlier a second unit that tracks the first a marker that is on or off whatever nobody wrote down whatever nobody thought of whatever cannot be counted Invented illustration. Both units named here were made up, and neither describes anything real.
A model is a rule that turns inputs into a statement about an outcome, and the bin beside it is not an oversight but part of the design, because deciding what to leave out is what makes the rule short enough to use.
Try it out

Who writes the rule inside a model, and what does the data decide?

What is this model deliberately leaving out?

Look again at the line on these ten months. The line says the Vasant unit's change is 0.5000 plus 1.5000 times the Nakshatra unit's change, and inside that short sentence there are two entirely separate decisions doing two entirely separate jobs.

The first decision is about what gets read. The rule reads one column and one column only, the Nakshatra unit's change in the same month. The rule does not read the month before. The rule does not read the second unit sitting in the same record that tracks the first one almost perfectly. The rule does not read the marker that is on in five of the ten months. Every one of those was available and every one of them was left out.

The second decision is about the form the rule takes once those inputs are fixed. Having decided to read the Nakshatra change, somebody then decided that the answer would be that change multiplied by one number with another number added on. Not squared. Not bent. Not stepped. Straight. The choice of inputs and the choice of shape are two decisions and not one, they cost different amounts, and a reader who cannot tell them apart cannot know whether to argue about the shape of the rule or about the inputs it is reading.

Back at the tea cart, the same split is easy to feel. Deciding to look at yesterday's takings and nothing else is one decision. Deciding that tomorrow equals yesterday exactly, rather than yesterday plus a bit on Fridays, is a second one. If the cart is wrong on Fridays because Friday is payday at the depot, no amount of cleverness applied to yesterday's number will fix it. Friday is not in the number. The ten months get the same treatment as the tea cart: the two decisions are priced separately, in the same units, so they can be compared.

Try it out

Name the two separate decisions sitting inside the straight line on these ten months.

Try it out

Four of the ten months show a Nakshatra reading of exactly 1.00 per cent, and their Vasant outcomes are 3.00, minus 3.00, minus 1.00 and minus 3.00 per cent. What is the smallest total squared miss any rule reading only the Nakshatra unit can leave on those four months?

What does the straight line shape cost on this record?

One fact about these ten months makes the whole split possible, and it takes about ten seconds to see once somebody points at it. Four of the ten months, months one, five, eight and ten, all show a Nakshatra reading of exactly 1.00 per cent. Their Vasant outcomes are 3.00, minus 3.00, minus 1.00 and minus 3.00 per cent. Top to bottom, that is a spread of six percentage points.

Any rule reading only the Nakshatra unit is sharply limited on those four months. The rule sees 1.00 per cent, 1.00 per cent, 1.00 per cent and 1.00 per cent. Four identical inputs. Whatever rule is written, however it is bent, whatever exotic curve is fitted, it must return the same answer for all four. The rule has nothing to tell them apart with. The best a rule can do on four months it cannot distinguish is to give them one number, and the number that leaves the least squared miss is their average. A vague worry about model quality has turned into an arithmetic question with an exact answer.

Their average is minus 1.00 per cent. Take the gaps to it: 4.00, minus 2.00, nothing and minus 2.00. Square them and add: sixteen plus four plus nothing plus four is 24. So those four months alone put 24 beyond the reach of every rule that reads the Nakshatra unit and nothing else, no matter how clever. The same argument runs twice more. Two months show a reading of minus 4.00 per cent with outcomes of 2.50 and minus 7.50 per cent, whose average is minus 2.50 per cent and whose gaps of 5.00 and minus 5.00 square and add to 50. Two months show 6.00 per cent with outcomes of 18.50 and 6.50 per cent, averaging 12.50 per cent, with gaps of 6.00 and minus 6.00 squaring and adding to 72. The remaining two months are alone at their readings, so they contribute nothing.

Add the three: 24 plus 50 plus 72 is 146. The 146 is not an estimate, an assumption or a rule of thumb. The number is the exact floor on the sum of squared misses for every rule that reads this one input on this record, and it was obtained by groupingSorting a record into piles so that every reading inside a pile is identical on the column used for sorting, then looking at what still varies inside each pile once the sorting has taken away everything it can. the record on the input and adding up what still varies inside the groups. All three figures are in squared percentage points, the unit a sum of squared misses lives in.

FOUR MONTHS, ONE READING. ANY CURVE HAS TO PICK A SINGLE HEIGHT THREE DIFFERENT SHAPES, ALL STUCK AT ONE VALUE the Nakshatra unit's change, in per cent 1.00 3.00 minus 1.00 two months at minus 3.00 each curve crosses the dashed line once THE BEST SINGLE HEIGHT, AND WHAT IT LEAVES one answer for all four: minus 1.00 per cent gap 4.00 gap 2.00 no gap gap 2.00 16 plus 4 plus nothing plus 4 24 and no rule reading this input beats it Invented illustration. Months one, five, eight and ten of a made up record. The three curves are drawn only to show that all of them are equally stuck.
Four months share a Nakshatra reading of 1.00 per cent with outcomes of 3.00, minus 3.00, minus 1.00 and minus 3.00 per cent, so any rule reading only that input must give all four the same answer and cannot leave less than 24.
Play with it

Move the one answer those four tied months have to share, and watch the total refuse to fall below 24.

One control moves: the single value a rule returns for months one, five, eight and ten, all four of which show a Nakshatra reading of 1.00 per cent. The four outcomes are fixed where the record put them, at 3.00, minus 3.00, minus 1.00 and minus 3.00 per cent. As the control is dragged, the horizontal line moves, the four gap bars redraw, and the bar at the bottom rebuilds the whole record's floor by adding the two other tied groups, worth 50 and 72, on top of whatever these four are left with. The panel opens at minus 1.00 per cent, the best available.

Jump to a setting used above:

The one answer given to all four tied months: minus 1.00 per cent
ONLY THE SHARED ANSWER MOVES. THE FOUR OUTCOMES DO NOT
At a single answer of minus 1.00 per cent the four tied months are left with 24.00 in squared terms, which is the least any rule reading only the Nakshatra unit can leave them, and the whole record's floor stands at 146.00 against the 218 the straight line actually misses by.
The one answer
minus 1.00 per cent
Left on these four
24.00
Above the least possible
0.00
Floor for all ten
146.00
At the setting used here, an answer of minus 1.00 per cent: these four months are left with 24.00, nothing is being wasted above the least possible, and the floor for the whole record is 146.00. At 2.00 per cent, which is what the straight line itself returns at a Nakshatra reading of 1.00 per cent, the four are left with 60.00 instead, so 36.00 of the straight line's miss is spent on these four months alone.
Educational illustration. The Nakshatra unit, the Vasant unit and all ten monthly readings were made up for these notes. The four outcomes are held exactly where the record put them and only the single shared answer moves; the two other tied groups are held at 50 and 72; and every value is carried as a whole number of hundredths of a percentage point, which keeps each reading exact however far the control is pushed.
Breaking Into Quants Bootcamp — Fin Maverick

So how does the 218 split into two parts?

The straight line misses by 218. No rule reading the Nakshatra unit can miss by less than 146. Subtract, and 72 is what remains: the part of the miss that is there because the shape was chosen to be straight rather than because the input was chosen to be that one column. A richer curve can attack the 72 and can never touch the 146, and knowing which is which is the entire value of doing this arithmetic.

Working it group by group makes the two totals reconcile in both directions, and the check is worth doing before trusting either. Inside each group of tied months, the straight line has to give one answer too, so it is competing on exactly the same terms as any other rule, and the only question is whether it happens to pick the best available answer. On the four months at a reading of 1.00 per cent the line returns 2.00 per cent while the best available is minus 1.00 per cent, so it leaves 60 where 24 was possible and wastes 36. On the two months at 6.00 per cent it returns 9.50 per cent against a best of 12.50 per cent, leaving 90 where 72 was possible and wasting 18. On the two at minus 4.00 per cent it returns minus 5.50 per cent against a best of minus 2.50 per cent, leaving 68 where 50 was possible and wasting 18 again. The two lone months it hits exactly.

Nakshatra readingMonthsBest single answerLeast these months can leaveWhat the straight line leavesWasted by the shape
1.00 per cent4minus 1.00 per cent246036
6.00 per cent212.50 per cent729018
minus 4.00 per cent2minus 2.50 per cent506818
11.00 per cent117.00 per cent000
minus 9.00 per cent1minus 13.00 per cent000
All ten10whatever each group needs14621872

Read the bottom row twice. The middle column adds to 146 and the next adds to 218, and the difference column adds independently to 72, so the split was not asserted and then divided up afterwards. The split was built from the record five rows at a time and it landed on the same two numbers. As a share, 146 of 218 is 66.97 per cent and 72 of 218 is 33.03 per cent, so two thirds of what looks like model failure is not failure of the model at all.

THE 218 THE STRAIGHT LINE MISSES BY, CUT ONCE 146 72 past the reach of every rule reading this input 66.97 per cent of the miss the price of the straight shape 33.03 per cent of the miss AND WHERE THE 146 CAME FROM, GROUP BY GROUP 24 50 72 four at 1.00 two at minus 4.00 two at 6.00 the cut sits here Invented illustration. All three figures are in squared percentage points on ten made up monthly readings.
Of the 218 the straight line misses by, 146 lies past the reach of every rule reading this input and only 72 is the price of the straight shape, which is where a better curve would have to find its winnings.
Try it out

Of the 218 the straight line misses by, how much could a cleverer curve reach?

AI For Finance Bootcamp — Fin Maverick

What ceiling does that floor put on R squared?

A floor on the miss is also a ceiling on the fit. The two are the same statement written in different units. The Vasant unit's own up and down movement over the ten months, measured as a sum of squared gaps to its own average of 2.00 per cent, comes to 893. R squared is one minus the share of that 893 which the rule fails to explain. The straight line leaves 218, so it reaches one minus 218 over 893, or 0.7559.

Now put the floor in the same expression. The best conceivable rule reading the Nakshatra unit leaves 146, so it reaches one minus 146 over 893, or 0.8365. The 0.8365 is a hard stop rather than an aspiration. No rule of any shape reading this one input can get above it, this year or ever. The four tied months will still be tied whatever anybody fits.

Read the three numbers out of a hundred and the argument becomes uncomfortably concrete. The line explains 75.59. The ceiling is 83.65. The gap between them is 8.06, and that is the entire prize on offer to anybody who abandons the straight shape for something better. The remaining 16.35 sits above the ceiling, so it is not a prize at all, and reaching it needs a different input rather than a different shape. A reader who knows those three numbers can stop arguing about the shape in an afternoon and start arguing about the inputs. The argument about inputs is the one actually worth having.

A FLOOR ON THE MISS IS A CEILING ON THE FIT 0.00 0.50 1.00 R squared on these ten months the straight line, 0.7559 the ceiling, 0.8365 8.06 out of a hundred everything a better shape could win 16.35 out of a hundred sits beyond the stop: that part needs a different input entirely Movement to explain: 893 Line leaves: 218 Floor: 146 Invented illustration. Ten made up monthly readings.
No rule reading the Nakshatra unit can reach an R squared above 0.8365, so the whole prize available from a better shape is 8.06 read out of a hundred, and everything past the stop needs a different input entirely.
Try it out

R squared is 0.7559 and the ceiling is 0.8365. How much is a better shape worth on this record?

Ratio Analysis That Says Something — free micro-course from Fin Maverick

What is a log return, and how far does this arithmetic need one?

Every figure above was worked on changes written the ordinary way: a move from 100 to 103 is a change of 3.00 per cent. There is a second way to write the same move, and it matters here for one narrow reason. A log return, also called a log change, is the logarithmThe power a fixed base number would have to be raised to in order to reach a given value. The natural one, used here, has a base a little over two and seven tenths and is the one that turns multiplying into adding. of one plus the ordinary change, written back as a percentage. The same move from 100 to 103 becomes 2.9559 per cent instead of 3.00 per cent.

Log changes are worth writing because they add across months where ordinary changes have to be multiplied. Chaining the Vasant unit's ten ordinary changes together, month on month, ends at 1.16856953 times the starting amount, a total of 16.86 per cent over the ten months. The chaining took nine multiplications. Written as log changes, the same ten months simply add up, to 15.58 per cent, and 15.58 per cent is the log change corresponding to that same 16.86 per cent total. Adding is easier than multiplying, and that convenience is the entire reason anybody writes a change this way; how simple, compound and log changes differ from one another in full is covered separately, at the end of these notes.

Now the part that belongs here. Refitting the same line on the same ten months, written as log changes on both sides, moves the coefficient on the input from 1.5000 to 1.4710. The number added on at the end moves from 0.5000 to 0.3112. Nothing about the ten months has changed. Nobody collected new readings, nobody dropped a month, nobody chose a different shape. A decision that looks like formatting moved the headline figure by 0.0290. A model is a rule applied to a column, and rewriting the column rewrites the model.

One caveat is the trap, and it has to be said plainly. On the log version R squared comes out at 0.7629 against 0.7559 on the ordinary version. Anybody would be tempted to conclude that the log version fits better. R squared is a share of the movement in whatever column is being explained, and the column being explained is not the same column in the two cases. The log version does not fit better, and the comparison has no meaning at all. The ordinary version explains a share of 893. The log version explains a share of 839.1377. Two shares of two different totals cannot be ranked against each other, and saying one is higher is the error rather than the finding.

THE SAME TEN MONTHS, WRITTEN TWO WAYS ORDINARY CHANGES, IN PER CENT LOG CHANGES, IN PER CENT month Nakshatra Vasant Nakshatra Vasant 11.003.000.99502.9559 26.0018.505.826916.9743 3minus 4.002.50minus 4.08222.4693 411.0017.0010.436015.7004 51.00minus 3.000.9950minus 3.0459 6minus 9.00minus 13.00minus 9.4311minus 13.9262 76.006.505.82696.2975 81.00minus 1.000.9950minus 1.0050 9minus 4.00minus 7.50minus 4.0822minus 7.7962 101.00minus 3.000.9950minus 3.0459 slope 1.5000, intercept 0.5000 slope 1.4710, intercept 0.3112 misses by 218, out of movement of 893 misses by 198.9504, out of movement of 839.1377 The two R squared figures, 0.7559 and 0.7629, explain different columns and cannot be ranked against each other. Invented illustration. Ten made up monthly readings, rewritten rather than recollected.
Rewritten as log changes the same ten months return 1.4710 for the slope and 0.3112 for the intercept against 1.5000 and 0.5000, which shows that a choice of units is a modelling choice rather than a formatting one.
Try it out

Written as log changes the same ten months give an R squared of 0.7629 against 0.7559 the ordinary way. Does the log version fit better?

Log returns and per cent changes diverge here. See what the model needs.

How to evaluate a factor model: which three questions matter?

The phrase factor model sounds grander than it is. A factor model is a model built from a few named inputs, each of which is one measured column, combined into a statement about an outcome. A factor model is a shape and nothing else. The line on these ten months is one, built from a single named input; adding the second unit or the on and off marker would make it one built from two or three. Nothing about that shape says what the columns should be about.

Three questions evaluate such a model, and this one record answers all three without needing anything new collected.

Question one, how much does it explain? R squared 0.7559 on the ordinary changes. Everybody asks that question first, and it is the easiest of the three. A single number that goes up when things improve is comfortable to look at. Answering it well proves very little on its own.

Question two, is what is left over patternless? Here the record says no. The ten misses, in time order, are 1, 9, 8, nothing, minus 5, nothing, minus 3, minus 3, minus 2 and minus 5, and their lag one autocorrelationHow strongly each month's leftover gap resembles the gap in the month immediately before it, on a scale where nought means no resemblance at all and one means a perfect echo. is 0.4862. In words: a miss above the line tends to be followed by another miss above the line. Leftovers with a shape to them mean the rule is still failing to capture something systematic rather than merely bumping into noise, and no amount of R squared makes that go away.

Question three, do the inputs say the same thing as each other? On this record two of the available columns do. A second unit sits alongside the Nakshatra unit tracking it almost perfectly, and its variance inflation factorA count of how much wider the uncertainty around one learned number becomes because another input in the same rule is carrying nearly the same information. One means no widening at all. is 15001. Fitting both together, the two numbers the rule learns are minus 1.0000 and 2.5000. The two numbers still add to 1.5000, so the pair together says exactly what the single input said while each half of it says something absurd. Duplication between two inputs is covered separately.

A model that passes only the first question has passed the easiest one, and this model passes the first and fails the other two. None of that is a verdict on whether anybody should do anything; it is a description of a rule and its leftovers.

THREE GATES IN ORDER. THIS RECORD CLEARS ONE OF THEM GATE ONE How much does it explain? 0.7559 R squared CLEARED GATE TWO Is what is left over patternless? 0.4862 lag one autocorrelation of the misses NOT CLEARED GATE THREE Do the inputs say the same thing as each other? 15001 variance inflation factor on the pair NOT CLEARED Passing the first gate is the easy part, and it is the only gate most readers are shown. Invented illustration. Every figure comes from ten made up monthly readings and describes nothing real.
A model built from a few named inputs is judged on how much it explains, whether what is left over is patternless and whether its inputs duplicate each other, and this record clears only the first of the three.
Try it out

A model reaches an R squared of 0.7559 and its misses carry a lag one autocorrelation of 0.4862. What does the second figure reveal that the first cannot?

The month spent on the smaller half of the problem

Somebody opens the fitted line, sees an R squared of 0.7559, and reads it as a quarter of the movement left on the table. The reading feels responsible. The reading leads straight to a month of work: squared terms added to the rule, a bend fitted, a step function tried, three different curves compared on a chart, a careful write up at the end of it comparing all four.

Every hour of that month was spent on the 72. Only 8.06 out of a hundred was available, and not one point more. 146 of the 218 is beyond the reach of anything reading the Nakshatra unit, and no curve however clever can hand four months with an identical reading four different answers. The larger half of the problem, worth 16.35 out of a hundred, was never a question about shape at all. The larger half was a question about which columns the rule is allowed to read. Nobody asked it. The R squared did not have a column for that.

The habit that prevents it costs about five minutes: before changing the shape, work out the floor. Sort the record into groups so that every month inside a group shows an identical reading on the input, add up the squared variation still sitting inside those groups, and that total is the part no shape can ever touch. Compare it to what the current rule misses by. If the two are close, the shape is nearly out of road and the argument belongs somewhere else.

WHERE A MONTH OF SHAPE WORK LANDS, AND WHERE IT CANNOT 146 72 week 1 week 2 week 3 week 4 A MONTH OF RICHER SHAPES, ALL AIMED HERE no effort of any kind on this side moves this block it answers to a change of inputs and to nothing else Worth arguing about: the shape, 8.06 out of a hundred on R squared. Worth much more and never raised: the inputs, 16.35 out of a hundred. Invented illustration. The month of work is a scenario; the two blocks are arithmetic on ten made up monthly readings.
Chasing a better shape on this record is worth at most 8.06 read out of a hundred, because the larger part of the miss is a question about which inputs are read rather than about how the rule bends.

What should be asked of any model before its output is read?

Four questions, in this order, and none of them requires refitting anything or understanding how the rule was built. The four questions work on a spreadsheet handed round in a meeting as well as they work here.

First, what is it reading? Get the list of columns. If nobody can produce the list in under a minute, that is itself the finding. Second, what is it ignoring? Take the columns that exist in the same record and are not on the list, and ask why each one is off. On these ten months the answer is that the second unit, the on and off marker and the previous month were all available and all left out.

Third, which part of its error could a better shape reach and which part could not? The floor calculation answers that, and it needs only the input column, the outcome column and the ability to sort. Fourth, what is the ceiling on how well anything reading these inputs could do? The ceiling is the same floor expressed as a fit rather than as a miss.

Here that last pair is the whole story. The ceiling on this record is 0.8365 and the model sits at 0.7559, so the argument about shape is worth 8.06 read out of a hundred and the argument about inputs is worth everything else. Somebody reading a lender's scoring rule, an analyst reading a demand forecast, a household comparing two electricity tariffs on last year's bills: all three are looking at a rule that reads some columns and ignores others, and in all three cases the same four questions separate a rule that is badly built from a rule that is well built on inputs that cannot carry the weight. A badly built rule and a well built rule on inputs that cannot carry the weight look identical from the outside and have completely different fixes, and only the floor calculation tells them apart.

FOUR QUESTIONS, TWO ARGUMENTS, TWO VERY DIFFERENT PRIZES FOUR THINGS TO ASK BEFORE READING THE OUTPUT What is it reading? one column here What is it ignoring? three available columns Which part of the error could a shape reach? 72 of the 218 What is the ceiling on these inputs? 0.8365 the argument about shape worth 8.06 the argument about inputs worth 16.35 and nobody usually raises it Invented illustration. Both prizes are read out of a hundred on R squared, on ten made up monthly readings.
Ask what a model reads, what it ignores, which part of its error a better shape could reach and what the ceiling is on anything reading those inputs, because the last two size the two arguments differently.
Try it out

Before changing a model's shape, which single calculation shows whether the shape is worth arguing about at all?

What sits next to this, and where each thread is picked up. Where model error comes from source by source, and which of those sources shrink as more months arrive while others never do, comes next and is treated on its own. A model's own parts, the inputs it reads, the numbers it learns from the record and the settings a person fixes before any fitting starts, are treated separately under that name. So is what happens as a rule is allowed to bend more and more until it starts fitting the months it was given rather than the relationship underneath them. Simple, compound and log changes measured against one another in full are covered at the end of these notes. Whether a rule like this would earn anything is a question about markets rather than about fit, and is treated in its own place.

What produced each number above, and where can it be checked?

Claim or figure aboveWhat produced itSite standing behind itDay the working was run
The ten monthly readings of the Nakshatra unit and the Vasant unitTyped by hand when the two units were made up for these notes, then held identical everywhere they are discussedNone. No published record carries themNot applicable
The fitted line at 0.5000 plus 1.5000 times the input, and its ten missesBoth numbers fall out exactly from the ten readings, and every miss subtracts in one stepNone. Both numbers come from the ten made up readings23 August 2026
The floor of 146, built from 24, 50 and 72The ten readings sorted into five groups on the input, the average taken inside each group, the squared gaps to it addedNone. The whole calculation is five short columns23 August 2026
The split of 218 into 146 and 72, and the same split read group by groupSubtraction once, then rebuilt from the five groups independently so the two routes could be comparedNone. Both routes land on the same pair23 August 2026
The ceiling of 0.8365 against the line's 0.7559The Vasant unit's own movement of 893 measured first, then 146 and 218 each expressed against itNone. Every figure traces back to the ten made up readings23 August 2026
The log rewrite: slope 1.4710, intercept 0.3112, a miss of 198.9504 and movement of 839.1377Each of the twenty readings put through the natural logarithm of one plus the change, then the same fit rerun on the rewritten columnsNone. A rewrite of made up figures, not a new record23 August 2026
The lag one autocorrelation of 0.4862 and the variance inflation factor of 15001Carried in from the earlier treatment of these same ten months and recomputed here rather than copiedNone. Both belong to invented columns23 August 2026
That a rule reading one column must answer identically for identical readingsNot sourced and not sourceable. It follows from what a rule is, and is argued rather than citedNone. The claim is argued from first principlesNot applicable

The Nakshatra unit and the Vasant unit 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.