Estimating And Simulating A Model For Mean Reversion

Estimating And Simulating A Model For Mean Reversion

<p>Estimating and Simulating a Model for Mean Reversion</p><p>As indicated in class, most commodity prices and some interest rates follow a mean reverting process in the sense that if the price is above the long run mean supply increases and demand declines bringing the price down, while if the price is below the long run mean, supply decreases and demand increases raising the price. The simple standard discrete time model of a mean reverting process is</p><p>Xt+1= X t +k( m - X t) + e t + 1 , (1)</p><p> m where X t is the current value of the process (at date t ), is the long run mean value of</p><p> the process, k is the speed of adjustment coefficient, and et+1 is the value of a random</p><p> shock that is independent of X t . The amount (m - X t ) is the correction toward the long</p><p> run mean. The random shocks ,et , e t+1 ,  are independent, normally distributed, mean zero, constant variance (square of the standard deviation). </p><p>As a consequence of this simple model, the major disadvantage is that the prices</p><p>X t can be negative. This can be avoided while preserving the mean reverting behavior, but involves complicating the model beyond the scope of what we want to do here. We will just note that the extent to which prices are negative is something to keep in the back of our minds.</p><p>One thing we want to do is estimate a version of one using historical data. There are three parameters that need to be estimated, the long run mean m , the speed of adjustment k , and the standard deviation of the random shock s . This is easy to do in</p><p>Excel using the regression function. Subtracting X t from both sides of (1) we get Xt+1- X t =km - k X t + e t + 1 . (2)</p><p>This is just like a regression with dependent variable Xt+1 - X t and independent variable</p><p> km X t with intercept = and slope = -k . So in Excel regressing the price changes</p><p>Xt+1 - X t on the price level X t will produce estimates of the intercept and slope coefficients. If the estimated slope coefficient -kˆ is positive, there is no mean reversion and we need to change the specification. If the slope coefficient -kˆ is negative, then kˆ is positive indicating the presence of mean reversion. Test for the statistical significance of this coefficient by looking at its t-statistic. The rule of thumb is that if the absolute value of this t-statistic is greater than 2, then it is statistically significant(ly different from zero). For a large enough sample size, if the absolute value exceeds 1.645, the statistic is significant.</p><p>Finally, if the estimate of kˆ is statistically significantly positive and if the intercept coefficient is statistically significant, we then estimate the long run mean by solving mˆ = intercept/kˆ , and we estimate the standard deviation assˆ = standard error of the regression. Hence the simple use of the regression function in Excel gives us an estimate of the simple model of mean reversion.</p><p>We turn now to simulating the estimated model of mean reversion</p><p>Xt+1= X t +kˆ( m ˆ - X t) + e t + 1 , (3)</p><p> where the error term of random shock et+1 is normally distributed with mean zero and standard deviation sˆ . To do this we need a starting value for the price level X and a way to generate independent normally distributed error values for the possible values of the et+1 . Typically the starting value of the price level is some (latest) historical observation. </p><p>The way to generate independent error values is as described in class for the spreadsheet Copy of Arith Asian.xls. In Excel the function RAND( ) generates (pseudo) random numbers uniformly distributed between 0 and 1. These numbers can be converted to numbers that are normally distributed with mean zero and standard deviations one by using the function NORMSINV. If RAND( ) is uniformly distributed between 0 and 1, then NORMSINV(RAND( )) is normally distributed with mean zero and standard deviation one. To obtain a number that is normally distributed with mean m and standard deviation s , simply multiply by s and add m . In our case we simply multiply</p><p>NORMSINV(RAND( )) by our estimate sˆ .</p><p>Assume that we have decided on an initial value of X 0 . Assume also we wish to simulate a price path of 100 observations. Select 101 columns (or rows) and two rows (or</p><p> columns) in an Excel spreadsheet. Enter the number X 0 in the first column second row.</p><p>In the first row columns 2 through 100 enter = NORMSINV(RAND( )). In the second column, second row enter = same row previous column + kˆ ( mˆ - same row previous column) + sˆ (same column previous row). This is the formula (3). Fill across to column</p><p>101. Each time you recalculate a different price path is determined.</p><p>Here is a numerical example. X 0 = 100, mˆ = 85, sˆ = .90, and kˆ = .50. See the spreadsheet Simulating Mean Reversion.xls at the course website. This example has a simulated price path of only 25 observations. </p>

View Full Text

Details

  • File Type
    pdf
  • Upload Time
    -
  • Content Languages
    English
  • Upload User
    Anonymous/Not logged-in
  • File Pages
    4 Page
  • File Size
    -

Download

Channel Download Status
Express Download Enable

Copyright

We respect the copyrights and intellectual property rights of all users. All uploaded documents are either original works of the uploader or authorized works of the rightful owners.

  • Not to be reproduced or distributed without explicit permission.
  • Not used for commercial purposes outside of approved use cases.
  • Not used to infringe on the rights of the original creators.
  • If you believe any content infringes your copyright, please contact us immediately.

Support

For help with questions, suggestions, or problems, please contact us