For an invertible continuous cumulative distribution function, monotonicity givesThus each transformed observation has the desired distribution. More generally use the quantile function ; the same event identity proves inverse transform sampling even when there are atoms. Independent uniform inputs give independent transformed samples; mere uniform marginal distributions do not imply independence between different samples.
One route is inverse transform sampling: if is the standard normal cumulative distribution function, then has the normal distribution with mean and variance .
Alternatively the Box-Muller transform uses two independent uniform inputs :To verify this, set and . The radial density is for , and the angle is independent and uniform. Their joint density is . Changing to Cartesian coordinates divides by the Jacobian determinant , givingThis factors into two standard normal densities, proving both normality and independence. Then provides the required means and variances. Implementations must avoid the zero input to the logarithm; ideal continuous uniforms hit it with probability zero.
Let denote the strike, , and suppose , , and . Under the Black-Scholes model and the risk-neutral measure, is normal withApplying risk-neutral valuation to the European call option payoff givesUse , whose differential is precisely the normal density times . The threshold is , soEquivalently, rescale the tail interval to obtain on .
For independent uniform inputs, the Monte Carlo estimator is . It is unbiased, converges by the strong law of large numbers, and has variance . The payoff has finite second moment because the lognormal stock has finite moments. Its estimated standard error is the sample standard deviation divided by .
Three useful methods are antithetic variates, a control variate, and stratified sampling. Their purpose is to reduce sampling variance at comparable computational cost, rather than merely to take more samples.
For antithetic variates, generate independent pairs and average both payoffs. Since the call integrand is increasing, the two values have nonpositive covariance. Indeed, for an independent copy , twice that covariance is the expectation of , which is nonpositive pointwise. With evaluations, the paired average has varianceFor a control variate, use the same simulated discounted stock value , whose known mean is . Replace the discounted call payoff by , preserving its mean. Minimizing its quadratic variance givesA predetermined coefficient or an independent pilot estimate preserves exact unbiasedness; fitting the coefficient from the same observations requires care.
For stratified sampling, divide into equal intervals, sample independently and uniformly within each, and average their payoffs. If is the conditional variance in interval , this unbiased estimator has variance . The law of total variance gives , so this is at most the variance of ordinary independent samples. Stratification removes randomness in how many samples fall in each region, which is particularly valuable when conditional payoff means vary strongly.
Articles by others on the same topic
There are currently no matching articles.