Understanding Monte Carlo Simulation in Statistics

Monte Carlo simulation is a methodology or tool for understanding the properties of a model or statistic under certain conditions. For instance, we talk about the impact of multicolinearity on a regression model, but we cannot assess the actual impact on our estimates because in real life we almost never know the true value of the parameters. By using Monte Carlo simulation, we can perform the same type of analysis on data with known characteristics. We know these characteristics, because we manufacture the data to have those characteristics.

The process of doing a Monte carlo study is as follows:

  1. Decide on the statistic to be tested. (e.g sample Mean, or perhaps regression in the presence of multicolinearity)
  2. Decide on the true parameters or conditions under which you wish to test the statistic. (e.g population mean or coefficients from OLS model)
  3. Generate data as specified in Step 2 (see below)
  4. Test the statistic or model (see below)
  5. Save the results
  6. Repeat Steps 3-5 the desired number of times called trials (e.g. 100 or 1000 trials)
  7. Calculate summary statistics on the stored results. (usually the mean for the parameter(s) you are interested in)

Some Examples of Performing Monte Carlo simulations:


Some general information on generating distributions

The Uniform Distribution

The Uniform Distribution, also called a rectangular distribution, is one in which every value has an equally likely chance of occuring. Examples are roll of a die, drawing of a lottery number.


For further information, please see:

:

Roll of a die

Generating random numbers in Excel

Generating Random Numbers in Exccel is relatively easy. We use the Data Analysis Tools Random number generator.

Tools > Data Analysis > Random Number Generator


(If you do not see the Data Analysis Option, go to Tools > Add-Ins in Windows XP )

Then specify:

See the Excel Spreadsheet on Monte Carlo Simulation for examples:

Generating random numbers and models in Stata