Finance semantics the language encodes
Several chapters have shown the same fact from different sides: the language encodes finance. The rate conversion in chapter 3, the start/mid/end placements in chapter 4, the TVM family in chapter 5 — each is a financial convention promoted into semantics. This chapter collects them and completes the set. A modeler who knows which conventions the language applies can reconcile against any source. A modeler who does not can spend hours investigating third-digit differences that are not errors.
Day counts: what a year is
"8% per annum" is incomplete until you say what a year is. The market's conventions differ by design:
- 30/360 — every month is 30 days. Bonds and mortgages use it, chosen so that level periods accrue level interest.
- actual/360 — a real-day count over a short year. Money markets use it, and it yields more than the quoted rate.
- actual/365 and actual/actual — real days over real years.
Between two dates, these bases produce accruals that differ by material amounts at scale.
year_frac is where the model states its basis: the day-count-aware year fraction between two dates, the conversion from "a rate per annum" to "this period's accrual" on a daily-grain model. This is the reconciliation rule from chapter 3 in its most common form: a basis-point-sized disagreement with a source is a convention gap before it is an error. Find the source's basis, state the same one, and the gap closes exactly; if it remains, it is a finding.
Rate conversion: the compounding family
You have met this one twice — the discount conversion ((1+r)^(1/12) − 1, chapter 3) and the loan-document convention (r/12, chapter 5's exercise, worth −1,356 of NPV on a small loan). The general rule: annual rates convert to periodic rates geometrically when they compound, and by division when a document says so. Neither is "correct"; each is a claim, and the model's job is to state the one the deal makes.
The same geometry governs prepayment. A pool quoted at 8 CPR — 8% of balance prepaying per year — does not lose 8%/12 monthly. The monthly rate is the one that compounds to 8%: 1 − (1 − 0.08)^(1/12), about 0.69%. cpr_to_smm(0.08) states exactly that conversion by its market name, single monthly mortality. Wherever an annual rate meets a finer grid — discounting, prepayment, default rates, growth — the divide-versus-compound question applies, and the third digit of your reconciliation depends on the answer.
Placement as valuation: the annuity family, revisited
Chapter 4's start/mid/end trio is the language's form of a standard valuation convention, restated here as semantics. Payments in arrears (the default) are the ordinary annuity — debt service, most fees. Payments in advance (start) are the annuity due — rent, leases, insurance — worth more at the same total because every payment discounts one period less. (The word due appears only as the last argument of pmt, pv, fv, nper and rate, where it selects the annuity-due form of the formula.) Mid-period is the valuation convention for operating flows earned continuously, splitting the difference deliberately. When your NPV differs from a source by a factor close to one period's discounting, check the placement convention first; the fix is one keyword, not a rebuild.
Declared schedules: depreciation as a table
Some finance is not a formula but a published table. US tax depreciation (MACRS) is the canonical case: the five-year schedule is 20%, 32%, 19.2%, 11.52%, 11.52%, 5.76% — six numbers from a revenue procedure, not derivable, only citable. macrs_rate(year, life) reads the table by its public name. A tax shield stream then takes the shape basis * macrs_rate(floor(time.t / 12), 5), since the table's year counts from 0, and a reviewer checks it against the same table you read. The principle generalizes: when the source is a table, cite the table. Use a curve for a quoted deck (chapter 7) and macrs_rate for the tax code, rather than fit a formula that agrees this year and diverges the next.
Exit conventions: what a cap rate divides
A real-asset exit is one line, sale value = NOI / cap rate, that contains two conventions worth millions. Which NOI? Trailing (the year just ended) or forward (the year a buyer underwrites)? In a growing asset, forward NOI is higher, so the same cap rate on the two bases produces materially different proceeds — and offering documents choose deliberately. Which cap rate? The number is a market price, not a derived quantity, and its sensitivity is high at low rates. At a 5% cap, 25 basis points moves value by roughly five percent of the asset.
The modeling consequences are direct. The NOI reference in an exit claim must name its window, as the capstone's exit chapter does. The cap rate belongs on the assumption page with a distribution around it (chapter 12), not written as a constant in an expression. It is the input in a real-estate model that most needs a distribution.
Coverage: recompute, never average
This is the rule chapter 16 refers to. A coverage ratio — DSCR, interest cover, any test of the form cash available over cash owed — is a ratio of sums, never a sum of ratios. A quarter's DSCR is that quarter's NOI over that quarter's debt service. A year's DSCR is the year's NOI over the year's service — never the average of four quarterly ratios. That average weights lean quarters wrongly, and it can show compliance across a quarter that breached. The averaged breach from chapter 16 is this rule violated by grain; it can equally be violated by arithmetic at the right grain.
In model terms: compute coverage from rolled-up flows at the grain the covenant tests. When a document tests quarterly, the model's grid must be at least quarterly. Grain and semantics meet here, as chapter 16 described.
The collected discipline
One habit unifies this chapter: every convention is a claim, so state it where a reviewer will look.
- The day-count basis, in the expression that uses it.
- The rate conversion, visible as arithmetic —
0.072 / 12states the document's convention. - The placement keyword, on the schedule.
- The NOI window, named.
- The cap rate, on the assumption page.
The engine applies exactly the convention you state, so stating it is your job. It is also why "the model is wrong" often means "two correct models use different conventions, and neither model states its convention." State the convention in yours.
Exercises
Divide or compound
The starter converts 8 CPR to a monthly rate by dividing by twelve. Fix both streams.
- Add a
factorfield on the pool that declines bycpr_to_smm(0.08)per month. - Read the factor from both interest and servicing.
Anchor before you run. After 12 months the factor must be exactly 0.92, because that is what CPR means. The divided version leaves 0.9229. The gap looks tiny. It compounds across every month's interest. On a real pool it is the difference between matching the servicer tape and not matching it. Annual rates convert to monthly grids geometrically unless a document says otherwise — the same lesson as the discount-rate conversion in the reading-results chapter.
Then, on your own:
- Compute by hand: at 8 CPR, what fraction of a pool survives 24 months? (Answer shape:
(1−0.08)^2.) Confirm against your exercise model's factor field, and then explain why1 − 0.08/12 × 24gives a different result. That explanation summarizes this chapter. - Put the distribution where this chapter says it belongs. In the Monte Carlo model you built in chapter 12, replace the exit-multiple LogNormal with a Normal on the cap rate — mean 5.5%, stdev 0.5%, clipped 4–7.5% — applied to a named NOI window. Compare the p05s. The comparison shows that cap-rate uncertainty is not symmetric in value space.