Definition / formulaKey factsSteps
36. How do I test for fat tails in Excel?
Definitions
Fat tails: more probability far from the mean than a normal with the same mean and variance. Measured by excess kurtosis (Excel KURT returns excess kurtosis; a normal gives 0).
Key facts
- A normal puts about 0.27% of mass beyond standard deviations.
- Prices from Yahoo! Finance (slide 45).
Steps · build the sheet
- Column A: daily closes, oldest first.
- Column B: log returns
=LN(A3/A2). =AVERAGE,=STDEV.S; column C: standardised returns=(B3-mean)/sd.=KURT(B:B): clearly above 0 means fat tails.- Count with
COUNTIF; compare with 0.27%. - Histogram with
FREQUENCYagainstNORM.DIST(x,0,1,FALSE); optional Q-Q plot againstNORMSINV((i-0.5)/n).
37. How do I generate random numbers in Excel?
Two methods Lecture 1 notes, “Slow but accurate” and “Fast but inaccurate”
Key facts
- : , .
- The fast method is only approximately normal (CLT), with tails cut at .
- Inverse transform: . Exact, but slower.
Steps · derive the fast scheme
- Mean of the sum is : subtract it.
- Variance is by independence: scale by with , .
- Normality by the Central Limit Theorem as .
- makes .
38. How do I simulate a path and price an exotic by Monte Carlo?
Exact step vs Euler–Maruyama Lecture 1 notes, “The random walk on a spreadsheet”
At each step draw a fresh , so . Euler–Maruyama (EM) replaces by and by ; the exact step comes from the solved SDE.
GBM, Vasicek, ,Pricing: simulate under the risk-neutral drift (not ), then .
Key facts
- Lecture example: , , , , → 100.34; then → 99.94.
- The exact steps have no discretisation error for any . EM is only accurate for small , and the GBM EM step can even go negative.
- To compare the two schemes fairly, use the same in both.
- The exact Vasicek step comes from , whose variance follows from the Itô isometry.
- Monte Carlo error falls like .
Steps · example: digital that pays 1 if ( = path maximum, = path average)
- Inputs in fixed cells: , .
- One column per path, from
NORMSINV(RAND()), step with the risk-neutral scheme. - Foot of column:
=MAX(range),=AVERAGE(range), then=IF(M-A>0,1,0). - Discount with
EXP(-r*T); copy across many columns; average. - Sanity check: on every path, so almost every path pays 1 and the price is about .