Main Content

Monte Carlo Simulation of Conditional Variance Models

What Is Monte Carlo Simulation?

Monte Carlo simulation is the process of generating independent, random draws from a specified probabilistic model. When simulating time series models, one draw (or realization) is an entire sample path of specified length N, y1, y2,...,yN. When you generate a large number of draws, say M, you generate M sample paths, each of length N.

Note

Some extensions of Monte Carlo simulation rely on generating dependent random draws, such as Markov Chain Monte Carlo (MCMC). The simulate function in Econometrics Toolbox™ generates independent realizations.

Some applications of Monte Carlo simulation are:

  • Demonstrating theoretical results

  • Forecasting future events

  • Estimating the probability of future events

Generate Monte Carlo Sample Paths

Conditional variance models specify the dynamic evolution of the variance of a process over time. Perform Monte Carlo simulation of conditional variance models by:

  1. Specifying any required presample data (or use default presample data).

  2. Generating the next conditional variance recursively using the specified conditional variance model.

  3. Simulating the next innovation from the innovation distribution (Gaussian or Student’s t) using the current conditional variance.

For example, consider a GARCH(1,1) process without a mean offset, εt=σtzt, where zt either follows a standardized Gaussian or Student’s t distribution and

σt2=κ+γ1σt12+α1εt12.

Suppose that the innovation distribution is Gaussian.

Given presample variance σ02 and presample innovation ε0, realizations of the conditional variance and innovation process are recursively generated:

  • σ12=κ+γ1σ02+α1ε02

  • Sample ε1 from a Gaussian distribution with variance σ12

  • σ22=κ+γ1σ12+α1ε12

  • Sample ε2 from a Gaussian distribution with variance σ22

  • σN2=κ+γ1σN12+α1εN12

  • Sample εN from a Gaussian distribution with variance σN2

Random draws are generated from EGARCH and GJR models similarly, using the corresponding conditional variance equations.

Monte Carlo Error

Using many simulated paths, you can estimate various features of the model. However, Monte Carlo estimation is based on a finite number of simulations. Therefore, Monte Carlo estimates are subject to some amount of error. You can reduce the amount of Monte Carlo error in your simulation study by increasing the number of sample paths, M, that you generate from your model.

For example, to estimate the probability of a future event:

  1. Generate M sample paths from your model.

  2. Estimate the probability of the future event using the sample proportion of the event occurrence across M simulations,

    p^=#timeseventoccursinMdrawsM.

  3. Calculate the Monte Carlo standard error for the estimate,

    se=p^(1p^)M.

You can reduce the Monte Carlo error of the probability estimate by increasing the number of realizations. If you know the desired precision of your estimate, you can solve for the number of realizations needed to achieve that level of precision.

See Also

Objects

Functions

Related Examples

More About