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

Differencing: Turning Levels Into Changes, and Why Returns Use Logs

Differencing replaces each observation with how much it changed from the one before. A level that wanders becomes a change that does not. The Nakshatra unit's price averages Rs 115.0525/- across three years and Rs 190.4591/- across the next three. Its monthly change averages 1.00 per cent across both. There are three ways to write that change, and only one of them adds up.

Where these numbers come from. The six year record is an arrangement of 72 monthly changes written for teaching. Every price, difference, total and coefficient printed below was worked out from that arrangement by the arithmetic set out here. No maintained series stands behind the record, so there is no as-of date and no vintage to look up. A recipe that can be rerun stands in place of both.

The six year record is 72 monthly observations of the Nakshatra unit, an invented object built for teaching, running from the month ending 31 January 2019 to the month ending 31 December 2024, measured out from an opening markThe figure a record is counted out from. The opening mark sits one step ahead of the first observation and is a starting line somebody drew, not a month that happened. On this record it is Rs 100.00/- dated to the end of December 2018. of Rs 100.00/- at the end of December 2018. The record closes at Rs 187.4539/-, quoted to the paisaOne hundredth of one rupee. Figures here run to four places after the point so a reader can rebuild them exactly. The extra places record how the arithmetic was carried. No claim is made about what anybody could pay. and past it. Arithmetic can be carried further out than any market quote.

Two things are settled elsewhere and used here without being rebuilt. The price reading of that record was separated from the return reading, and the price sits still for nobody while the monthly change does. One operation leads from the first reading to the second, and it has an awkward feature: it produces three different answers, depending on how the subtraction is written.

Here is the everyday version before any of the arithmetic. A vegetable stall outside one office building can report two completely different things at the end of a day. The stallholder can report what is in the cash box, a level: Rs 8,400/-. Or the stallholder can report what came in today, a change: Rs 900/-. Both are true. The cash box figure is mostly a record of every day that came before it, so only the change tells the stallholder whether the day went well. Differencing is the move from the first sentence to the second, done to a column instead of to a cash box.

What does differencing a series actually do?

Take a column of observations in date order. Differencing writes a new column beside it, in which each row holds the amount by which that observation moved away from the one directly before it. The subtraction is the whole operation. There is no fitting, no smoothing and no estimating in it, and nothing about the record is being modelled: it is a subtraction repeated 72 times.

Two things happen immediately, and both of them are worth naming. The first is small and mechanical. The very first observation has nothing sitting before it to be compared against, so the differenced column is one row shorter than the record it came from. The six year record holds 72 monthly changes precisely because it holds 72 months and one opening mark. Missed, that fact eventually leads to two columns lined up by row number and every month set against the wrong date.

The second is not mechanical at all. The new column answers a different question from the old one. The price column answers what one unit cost on a date. The differenced column answers how much it moved over a month. Differencing is not a tidier version of the same record, it is a change of question, and the answers to the two questions behave so differently that almost everything in these notes hangs on telling them apart. A price of Rs 187.4539/- in December 2024 carries the whole six years inside it. A change of 14.00 per cent in December 2024 carries only December.

What did differencing do to the six year record?

Both columns were measured in the notes on whether a series sits still, and their readings are taken as given here. Side by side, the two columns behave nothing alike.

The price column drifts. Averaged across the first three years it sits at Rs 115.0525/-, and averaged across the last three it sits at Rs 190.4591/-, a gap of Rs 75.4066/-. Its month to month autocorrelationOne number saying how closely a series matches a copy of itself shifted back by a fixed number of steps. The figure runs between minus one and one. A figure near one means this month looks very like last month. is 0.9650, which says that this month's price is very nearly last month's price. And the regressionFitting a straight line through pairs of numbers to describe how one moves with the other. The slope of that line is the coefficient quoted here. Earlier notes build the method in full. that asks whether the column is pulled back towards any level gives a coefficient of minus 0.026109, which is about nothing at all. A column that behaves like that is said to carry a unit rootThe property of a level column that has no home value to be tugged back to, so a shock to it never wears off and simply becomes part of where the column now sits. The unit root is settled in its own notes., and what that means is settled separately.

The differenced column does none of that. Its average across the first three years is 1.00 per cent and its average across the last three is 1.00 per cent, to the last decimal place. Its month to month autocorrelation is 0.2011. The same regression on the differenced column gives a pull back coefficient of minus 0.777838, a firm pull rather than nothing. Which is why the notes on whether a series sits still say the differenced column is stationarySaid of a column whose behaviour does not depend on where in the record it is read. The notes on whether a series sits still set out what the word does and does not promise, and their verdict is taken as given here. in the specific sense they define, and no more than that.

Differencing removed the wandering level and the drifting average, and it left two other things in this record exactly where they were: the pattern that repeats with the calendar month, and the spreadHow widely the values of a column are scattered around their own average, written in the same units as the column itself. Earlier notes build it and both of its denominators. that widens partway through the six years. Both of those are covered separately and neither is fixed by this operation. Taking the calendar pattern out is a seasonal adjustmentSubtracting the part of each observation that belongs to its position in the calendar year, so what is left shows the movement that was not simply the time of year. Seasonal adjustment has its own notes., which is its own subject and is not what differencing did here. Anybody who ends on the sentence that differencing has made a record well behaved has overclaimed on this very record. The differenced column still carries a January that averages 5.00 per cent against a June that averages minus 3.00 per cent, and a second stretch more than twice as wide as the first.

The autocorrelation figures above need one caution attached to them. There is more than one estimator in circulation and they do not agree. The figures above use a single mean for the whole record and the full sum of squared deviations in the denominator, the ordinary convention. Another estimator shrinks the denominator with the shift, and a third computes a fresh mean for each of the two shifted stretches. All three are called the autocorrelation and all three land on slightly different numbers, so quoting one without naming the convention hands the reader a figure they cannot reproduce.

THE SAME RECORD, BEFORE AND AFTER ONE SUBTRACTION Four readings. The left column is the price. The right column is the same record differenced once. THE READING THE PRICE COLUMN THE DIFFERENCED COLUMN One month memory 0.9650 0.2011 First three years Rs 115.0525/- 1.00 per cent Last three years Rs 190.4591/- 1.00 per cent The gap between them Rs 75.4066/- nothing at all Pull back coefficient minus 0.026109 minus 0.777838 WHAT THE SUBTRACTION REMOVED: the wandering level and the drifting average. WHAT IT LEFT EXACTLY WHERE IT WAS: the repeating calendar pattern and the widening spread.
The price column averages Rs 115.0525/- then Rs 190.4591/- across the two halves of the six year record while the differenced column averages 1.00 per cent across both, and the pull back coefficient moves from minus 0.026109 to minus 0.777838.
Try it out

The differenced column sits on exactly 1.00 per cent over each of its two halves and gives a pull back coefficient of minus 0.777838. What is the safe sentence to write about it?

Breaking Into Quants Bootcamp — Fin Maverick

Why does subtracting in rupees not work?

The first and most obvious way to difference a price column is to subtract last month's rupee figure from this month's. Call it the rupee difference. The rupee difference is a real quantity, it is easy to compute, and on this record it fails at the one job differencing was brought in to do.

Six of the 72 months of the six year record carry a change of exactly 6.00 per cent: January 2020, December 2020, October 2021, February 2022, July 2023 and September 2023. Identical months, by the only measure that describes the move itself. Now write them as rupee differences. In January 2020 the price went from Rs 103.8112/- to Rs 110.0399/-, a rupee difference of Rs 6.2287/-. In September 2023 it went from Rs 211.2546/- to Rs 223.9298/-, a rupee difference of Rs 12.6753/-, or 2.0350 times as much for the identical month.

Nothing about those two months differed. The price sitting underneath them differed, and 2.0350 is exactly the ratio of the two starting prices, Rs 211.2546/- over Rs 103.8112/-. The ratio of the starting prices is the whole diagnosis. A rupee difference is the size of the move multiplied by the level the move started from. It measures the level just as much as it measures the movement, and level contamination is precisely what differencing was supposed to clear out.

The distortion runs across a whole record. Across the first three years the rupee difference averages Rs 2.8836/- in size, and across the last three it averages Rs 9.8439/-. The rupee difference column, read on its own, suggests the Nakshatra unit became a wildly more eventful object. The unit did become more eventful, and the notes on a changing spread say so, but not by anything close to that multiple: most of the difference is simply the price having climbed.

THE SAME 6.00 PER CENT MONTH, TWICE, AT TWO DIFFERENT PRICES Left, the price scale in rupees. Right, the rupee difference each month produced, drawn at eight pixels to the rupee. Rs 95/- Rs 150/- Rs 200/- Rs 235/- Sep 2023, up 6.00 per cent Rs 211.2546/- to Rs 223.9298/- Jan 2020, up 6.00 per cent Rs 103.8112/- to Rs 110.0399/- THE RUPEE DIFFERENCE EACH ONE PRODUCED Rs 12.6753/- September 2023 2.0350 TIMES AS MANY RUPEES for the identical 6.00 per cent month, because Rs 211.2546/- divided by Rs 103.8112/- is 2.0350. Rs 6.2287/- January 2020 A rupee difference is the size of the move multiplied by the level it started from, so it carries the level with it.
The identical 6.00 per cent month produced Rs 6.2287/- in January 2020 and Rs 12.6753/- in September 2023, exactly 2.0350 times as much, because the price underneath had roughly doubled.
Try it out

The same 6.00 per cent change was worth Rs 6.2287/- in one month and Rs 12.6753/- in another. What differed between the two months?

What does the per cent change fix?

The second way to difference is to divide rather than subtract. Divide this month's price by last month's, subtract one, and write the result in per cent. The result is the per cent change. For January 2020 the sum is Rs 110.0399/- over Rs 103.8112/-. The division comes to 1.0600. Taking away one leaves 6.00 per cent. For September 2023 the sum is Rs 223.9298/- over Rs 211.2546/-. The division comes to 1.0600 as well, and so to 6.00 per cent as well.

The division is what does the work: rupees on the top and rupees on the bottom cancel each other, so the answer carries no level inside it at all, and two months at completely different prices land on the same number when the same thing happened. This is the reason the return reading of a record is the one that can be put beside anything else. Two objects, one priced in the tens and one in the thousands, produce per cent changes on a single common scale.

So the per cent change has fixed the failure of the rupee difference and it is the reading almost everybody quotes. The per cent change is also, for one particular job, the wrong instrument, and that job is adding a column of changes across many months.

AI For Finance Bootcamp — Fin Maverick

What is a Log Difference, and how is it computed?

The third way to difference is to take the natural logarithm of this month's price, subtract the natural logarithm of last month's, and write the answer in per cent. The result is the log difference. In January 2020 it comes to 5.8269 per cent, and in September 2023, again, 5.8269 per cent. The log difference shares the good property of the per cent change: it is a ratio underneath, so the level cancels and two months at different prices agree.

The log difference has one property in addition, and that property is the entire reason anybody bothers with it. The logarithm turns multiplication into addition. The log of two numbers multiplied together is the log of the first plus the log of the second, a fact about logarithms rather than a fact about markets. And a price path is nothing but multiplication: each month multiplies whatever the month before finished at.

The two facts together give the property that matters: log differences add up. Add the 72 log differences of the six year record and they come to 62.8363 per cent. Now throw the 72 months away and compute the log difference of the whole six years in one step, from the opening mark of Rs 100.00/- to the close of Rs 187.4539/-. The single step comes to 62.8363 per cent as well.

The word exactly is doing real work in that sentence and is not a rounding claim. Carried further out, the sum of the 72 is 62.8362720980 and the single step is 62.8362720980. The sum of the logs of 72 ratios simply is the log of their product, so the two figures agree to every digit either one is carried to, on any record whatever. Nothing about the agreement is approximate and nothing about it depends on a well behaved record. The agreement is arithmetic.

Try it out

The 72 log differences of the six year record add to exactly 62.8363 per cent. What is that same number, computed a completely different way?

Why does it matter that log differences add up?

Because the column everybody actually has in front of them, the per cent change, does not add up, and the shortfall on this record is not small.

Add the 72 per cent changes of the six year record. The 72 changes come to 72.00 per cent, and they come to exactly that because the record's monthly change averages exactly 1.00 per cent, 72 times over. Now ask what the record actually did between the end of December 2018 and the end of December 2024. The record went from Rs 100.00/- to Rs 187.4539/-, a total change of 87.4539 per cent. The addition falls short by 15.4539 percentage pointsThe plain subtraction between two figures that are already written in per cent. The step between 72.00 per cent and 87.4539 per cent measures 15.4539 percentage points. Reporting that step as 15.4539 per cent would mean something quite different. on a six year record, which is not a rounding matter and is not a fault in anybody's arithmetic.

The reason is compoundingA run of changes multiplying together instead of piling up, because every period works on the amount the period ahead of it ended with. Two rises of 10 per cent leave a figure 21 per cent higher and not 20., and the household version makes it obvious. A salary rising 10 per cent a year for two years is not up 20 per cent but up 21 per cent. The second rise lands on a salary that already carries the first. Over two years the extra one point is easy to ignore. Over 72 months of a record that mostly rose, the extras stack into 15.4539 percentage points.

Notice which way it went. Most of this record's months were rises, and each later rise landed on a bigger price than the addition was crediting it with, so the addition came out too low rather than too high. A record that mostly fell would break the other way, and a record with no trend at all would have the two figures much closer together. The habit survives long enough to do damage for exactly that reason.

THREE RUNNING TOTALS, ONE RECORD, THREE DIFFERENT CLOSING FIGURES Only the bottom line was built by adding, and only the bottom line lands where adding is allowed to land. 0 25 50 75 100 125 per cent end 2019 end 2020 end 2021 end 2022 end 2023 end 2024 WHAT THE RECORD ACTUALLY DID: 87.4539 per cent THE 72 PER CENT CHANGES ADDED UP: 72.00 per cent THE 72 LOG DIFFERENCES ADDED UP: 62.8363 per cent The green line lands exactly on the log of the whole six years. The dark line lands 15.4539 points short of what happened.
Adding the 72 per cent changes gives 72.00 per cent while the record actually changed 87.4539 per cent, a shortfall of 15.4539 percentage points, and adding the 72 log differences gives 62.8363 per cent, which is exactly the log of the whole six years.
Try it out

Adding the 72 per cent changes gives 72.00 per cent, and the record actually changed by 87.4539 per cent. Why does the addition fall short rather than overshoot?

Try it out

An answer is worth settling on before the panel below is touched. One month is set to 16.00 per cent. Will its log difference come out above or below that figure, and by roughly how far?

Risk Management Program Bootcamp — Fin Maverick

What does using logs cost?

A log difference is not a per cent change written differently. The log difference is a different number, and on small months the difference is invisible while on large months it is not.

Work through the record's own months. A 1.00 per cent month reads as 0.9950 per cent as a log difference, a difference of half a hundredth of a point that nobody would ever notice. A 6.00 per cent month reads as 5.8269 per cent. October 2022, the record's largest month at 16.00 per cent, reads as 14.8420 per cent, more than a full point adrift. And July 2024, the record's smallest month at minus 13.00 per cent, reads as minus 13.9262 per cent, nearly a point adrift in the other direction.

The shape to remember is that the two readings sit on top of each other near zero and pull apart as the month gets bigger, and they do not pull apart symmetrically. A rise of 20.00 per cent reads as 18.2322 per cent, a gap of about 1.77 points. A fall of 20.00 per cent reads as minus 22.3144 per cent, a gap of about 2.31 points. The log difference always sits below the per cent change. For a fall that means further from zero rather than closer to it, and the gap on the falling side grows faster.

The practical rule follows without any theory. On monthly data of ordinary size the two are near enough to be confused, and that is exactly why they get mixed. A reader with no label has no way of telling from the numbers alone until a month gets large. Never put both in one column, never label one with the other's name, and always state which of the two a column holds.

WHERE THE TWO READINGS AGREE, AND WHERE THEY STOP AGREEING Upper panel, both readings on one scale. Lower panel, the gap between them, magnified about twenty times. 20 minus 20 the reading, in per cent the per cent change the log difference Near zero they lie on top of each other. At both ends they part. THE GAP 0 at a rise of 20.00 per cent the gap is minus 1.7678 at 16.00 per cent the gap is minus 1.1580 at a fall of 20.00 per cent the gap is minus 2.3144 at 1.00 per cent the gap is minus 0.0050, which is nothing
A 1.00 per cent month reads as 0.9950 per cent as a log difference while a 16.00 per cent month reads as 14.8420 per cent, so the two agree for small months and pull apart for large ones, faster on the falling side.
Play with it

Move one month across the whole range and watch the two readings come apart.

One control moves: what a single month did, anywhere from a fall of 20.00 per cent to a rise of 20.00 per cent. Three bars redraw against one shared numeric scale, and the panel underneath draws the gap between the per cent change and the log difference on a scale about twenty times larger, with a marker that travels as the control moves. The opening setting is a rise of 6.00 per cent applied at the January 2020 price of Rs 103.8112/-, giving a rupee difference of Rs 6.2287/-, a per cent change of 6.00 per cent and a log difference of 5.8269 per cent. The January 2020 row of the table below prints the same three figures as plain text.

Jump to a month the record actually had:
Rupee difference at Rs 103.8112/-
Rs 6.2287/-
Per cent change
6.00 per cent
Log difference
5.8269 per cent
The gap between the last two
minus 0.1731
The same month at Rs 211.2546/-
Rs 12.6753/-
Loading the panel.

Educational illustration on an invented record. The rupee bar is worked at one fixed price, Rs 103.8112/- from January 2020, and the fifth readout is there precisely to show how far that rupee figure moves once the price underneath it changes. All three bars are drawn against a single numeric scale so their lengths can be set beside each other. The first bar is counted in rupees, the other two in per cent. The control alters one month and rebuilds nothing, so none of the six year totals shift as it is dragged.

Try it out

As a log difference, a 1.00 per cent month reads 0.9950 and a 16.00 per cent month reads 14.8420. What follows for a column that arrives carrying no label?

Private Wealth Management Bootcamp — Fin Maverick

How many times should a series be differenced?

Once, on this record, and the differenced column's behaviour shows it. The test is the one restated further up: the month on month movement of a column is regressed on its own previous value and the coefficient read off. On the price column it came out at minus 0.026109, no pull at all. On the differenced column it comes out at minus 0.777838, a firm pull. The pull has appeared, so the job is finished.

Differencing a column that already has the pull adds noise and destroys information worth keeping, so differencing runs until the pull appears and then stops. That is not a caution, it is a measurable cost on this record. Differencing the change column a second time raises its spread from 5.00 per cent to 6.1712 per cent, 1.2342 times as wide, making the record 23 per cent noisier for nothing. Worse, the second differencing manufactures memory that was never there: the month to month autocorrelation moves from 0.2011 to minus 0.4654, a strong alternating pattern that is a pure artefact of the operation. Anybody handed that column would set about explaining a swing that the record does not contain.

There is a third case worth naming. If a column still shows no pull after two differencings, the honest reading is that something about the record needs looking at rather than that a third differencing is due. Perhaps the record is two different stretches glued together, perhaps the observations are not evenly spaced, perhaps the column is not what its heading claims. Differencing is a subtraction and a subtraction cannot repair a record that was assembled wrongly.

DIFFERENCE UNTIL THE PULL APPEARS, THEN STOP Every coefficient below is the same regression run on a different column of the same record. THE PRICE COLUMN pull back coefficient minus 0.026109 no pull. keep going. once THE CHANGE COLUMN pull back coefficient minus 0.777838 the pull is there. STOP HERE Once was enough on this record. Nothing more to do. what a second differencing would cost DIFFERENCING THE CHANGE COLUMN AGAIN: NOISE ADDED, INFORMATION LOST spread rises from 5.00 per cent to 6.1712 per cent, which is 1.2342 times as wide month to month memory swings from 0.2011 to minus 0.4654, an alternation the record never had AND IF TWO DIFFERENCINGS STILL SHOW NO PULL the record is reporting on itself, not on the technique. The thing to examine is how it was assembled.
The pull back coefficient moves from minus 0.026109 on the price column to minus 0.777838 after one differencing, and a second differencing widens the spread to 6.1712 per cent while swinging the memory to minus 0.4654.
Try it out

How is it known that the six year record needed differencing once and not twice?

What do the four columns look like against the same dates?

Here is the whole of it in one table. One record, four columns, the same 72 dates underneath all of them. The two rows that carry the argument are picked out: two months that both changed exactly 6.00 per cent, agreeing in three columns and disagreeing wildly in the fourth.

The six year record of the Nakshatra unit written four ways. The two months highlighted both changed exactly 6.00 per cent.
MonthPriceRupee differencePer cent changeLog difference
Opening markRs 100.0000/-no readingno readingno reading
January 2019Rs 102.0000/-Rs 2.0000/-2.00 per cent1.9803 per cent
January 2020Rs 110.0399/-Rs 6.2287/-6.00 per cent5.8269 per cent
October 2022, the largest monthRs 184.3326/-Rs 25.4252/-16.00 per cent14.8420 per cent
September 2023Rs 223.9298/-Rs 12.6753/-6.00 per cent5.8269 per cent
July 2024, the smallest monthRs 173.6987/-minus Rs 25.9550/-minus 13.00 per centminus 13.9262 per cent
December 2024, the closeRs 187.4539/-Rs 23.0207/-14.00 per cent13.1028 per cent

Read the two highlighted rows across. The price differs, the rupee difference differs by a factor of 2.0350, and the last two columns are identical to four decimal places. Two rows of one record make the case for dividing rather than subtracting.

The three columns totalled across all 72 months, against what the record actually did.
What was addedThe totalDoes it match what happened?
The 72 log differences62.8363 per centYes, exactly. The log of the whole six years, from Rs 100.00/- to Rs 187.4539/-, is 62.8363 per cent as well
The 72 per cent changes72.00 per centNo. Short by 15.4539 percentage points
What the record actually did87.4539 per centRs 100.00/- at the opening mark to Rs 187.4539/- at the close

Only one of those three rows was produced by adding a column, and it is the only one entitled to be. The other two are separated by 15.4539 percentage points, and the whole gap is compounding that the addition never accounted for.

ONE RECORD, FOUR COLUMNS, THE SAME DATES UNDERNEATH ALL OF THEM The two shaded rows are the two 6.00 per cent months. Watch which columns agree and which do not. THE MONTH PRICE RUPEE DIFFERENCE PER CENT LOG DIFFERENCE Opening mark Rs 100.0000/- no reading no reading no reading January 2020 Rs 110.0399/- Rs 6.2287/- 6.00 per cent 5.8269 per cent October 2022, largest Rs 184.3326/- Rs 25.4252/- 16.00 per cent 14.8420 per cent August 2023 Rs 211.2546/- Rs 15.6485/- 8.00 per cent 7.6961 per cent September 2023 Rs 223.9298/- Rs 12.6753/- 6.00 per cent 5.8269 per cent July 2024, smallest Rs 173.6987/- minus Rs 25.9550/- minus 13.00 per cent minus 13.9262 per cent December 2024, close Rs 187.4539/- Rs 23.0207/- 14.00 per cent 13.1028 per cent THE TWO SHADED ROWS AGREE EXACTLY in the last two columns: 6.00 per cent and 5.8269 per cent, both times. AND THEY DIFFER BY 2.0350 TIMES in the rupee column: Rs 6.2287/- against Rs 12.6753/-, for the identical month.
The two 6.00 per cent months read identically in the per cent and log columns and 2.0350 times apart in the rupee column, which is the entire case for dividing rather than subtracting.
Bond Pricing and Yield Mechanics — free micro-course from Fin Maverick

How does anybody use this at a desk?

Anyone who hands a differenced column to another person, or to their own future self, should attach three statements to it. None of them is optional and all three are routinely missing.

State which of the three differences the column holds. A column headed simply change could be rupees, per cent or logs, and a reader who guesses wrong will be out by 15.4539 percentage points over six years or by nothing at all over one quiet month, with no way of telling which. A column differenced twice looks like an ordinary column and behaves like an artefact, and the alternating memory of minus 0.4654 computed above is what that artefact looks like from the inside. State how many times the column was differenced.

And state what the record started at. A differenced column cannot be turned back into a level without one starting value, and the level is not hiding inside the changes anywhere. Somebody given the 72 log differences of the six year record can say that the record grew 87.4539 per cent. Both records produce exactly the same 72 changes, so that person cannot say the record went from Rs 100.00/- to Rs 187.4539/- rather than from Rs 10,000/- to Rs 18,745.39/-. The change column simply never knew.

The everyday version is a household that keeps a note of every month's income and outgo but never writes down what was in the account on the first day. Every month is documented and the balance is unrecoverable. The loss is not a rare accident with data either: the usual way it happens is that somebody computes the differences, is pleased with the tidy new column, and deletes the price column to save space. The starting value goes with it, and nobody notices for a year.

FORWARDS IS ARITHMETIC. BACKWARDS NEEDS ONE THING THAT MAY HAVE BEEN DELETED. FORWARDS Rs 100.0000/- Rs 102.0000/- Rs 104.0400/- Rs 105.0804/- 2.00 per cent 2.00 per cent 1.00 per cent BACKWARDS 2.00 per cent 2.00 per cent 1.00 per cent empty. what? Rs 102.0000/- Rs 104.0400/- Rs 105.0804/- Every cell after the first is unreachable, because each one is built from the cell before it. One starting value from the original record unlocks the whole row. Nothing else will.
A differenced column cannot be turned back into a level without one starting value from the original record, because every price after the first is built from the price before it.
Try it out

A column of 72 log differences survives and somebody has deleted the price column. What can no longer be done?

Try it out

The three differences these notes have set out, then which one serves when a column has to add up across months, and why the other two will not do that job.

The failure: a six year total built by adding a column of per cent changes

Somebody is asked how much the Nakshatra unit moved over the six year record. The 72 per cent changes are in front of them, they add the column, and they report 72.00 per cent. The record actually changed by 87.4539 per cent. The answer is short by 15.4539 percentage points on a six year record, and the shortfall is neither a rounding matter nor an arithmetic slip.

The habit survives every one of these sums, so the habit is worse than this one number. The same person will add per cent changes across a quarter, where January, February and March of 2020 add to 12.0000 per cent against an actual 12.4448 per cent, a shortfall of 0.4448 that nobody checks and nobody catches. Across a single year, 2020 adds to 18.0000 per cent against an actual 18.8496 per cent. Each small success reinforces the method, and the method is wrong every single time. The method is only visibly wrong once the span gets long enough or the moves get large enough, and that is precisely when somebody is relying on the answer.

The cost arrives when two figures meet. One person adds the column and another compounds it, the two totals disagree by 15.4539 points, somebody is asked to find the error, and they find correct arithmetic on both sides. Nothing was miscalculated. The choice made silently, before either calculation ran, was whether a column of per cent changes may be added, and it may not.

The correction is a habit rather than a rule to memorise. Where a column has to be addable, it is built out of log differences and that one is added. Where a column has to be interpretable by any reader without explanation, per cent changes serve, compounded rather than added: the 72 factors multiplied together and one subtracted. And where both are wanted, both columns are kept and clearly labelled, and a total from one never appears in a sentence beside a total from the other.

These notes cover what differencing does to a record, the three ways of writing the difference, why the rupee version carries the level with it, why log differences add up while per cent changes do not, what logs cost on large months, and how many times a record should be differenced. What it means for a record to sit still, and what a unit root is, are settled separately in the notes that supply the two coefficients quoted here unchanged. The three readings of one record are settled separately. The repeating calendar pattern and the widening spread are settled separately, and differencing leaves both exactly where it found them. A rise, a fall or a total of 87.4539 per cent is not a return anybody obtained, and a log difference is not a better kind of return: it is a different arithmetic object with one useful property.
A change column could hold rupees, per cent or logs. See which difference travels.

What stands behind these numbers?

No outside authority stands behind any figure above. Differencing is a subtraction and a division and a logarithm. None of those has a publisher who could be cited for it.

The six year record is a monthly drift of 1.00 per cent, plus twelve calendar values that add to nothing across a year, plus an irregular part that grows partway through. The three ingredients produce every price, every difference and every total printed above, and any reader who rebuilds them lands on the identical figures.

Every figure in this guide and the operation that produced it. Worked through on 21 August 2026.
Figure aboveThe operation behind itHow to check it yourself
Every priceRs 100.00/- carried forward through 72 monthly factorsMultiply the 72 factors together and compare with Rs 187.4539/-
Every rupee differenceThis month's price less last month'sSubtract any two neighbouring prices in the table above
Every per cent changeThis month's price over last month's, less oneRs 223.9298/- over Rs 211.2546/- gives 1.0600
Every log differenceThe natural log of this month's price less the natural log of last month'sThe natural log of 1.0600 is 0.058269
The total of 62.8363 per centThe 72 log differences addedThe natural log of 1.874539 gives the same figure
The two pull back coefficientsOne regression of a column's month on month movement on its own previous value, run on the price column and on the change columnThe two figures also appear, unchanged, in the notes on whether a series sits still
The autocorrelation figuresOne mean for the whole record and the full sum of squared deviations in the denominatorThe convention belongs with any quoted coefficient, since other estimators land elsewhere

The Nakshatra unit and its six year record of months 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.