Impact of extending the random walk model

Assignment Help Financial Econometrics
Reference no: EM13289615

First let's investigate the quality of the asymptotic approximation discussed in the notes using a relatively small sample.

a. Write a MATLAB function called compute_standard_variance_ratio that takes two inputs, a vector of observations Y and a scalar K, and outputs the value of the estimated K-period variance ratio using non-overlapping observations. Use this function to simulate the finite-sample distribution of the K-period variance ratio for the RW1 model discussed in class. Each simulation trial should generate T+1 log prices from the model

Pt = Pt-1 + et

with pO = 0 and et distributed 1.i.d. N(0,1), and compute the K-period variance ratio for the continuously-compounded returns. Use the command mg to set the seed for the random number generator to a value of 12345 before starting the simulation trials. Conduct a total of N-5000 trials and use (I) a histogram and (ii) a qq-plot to illustrate the distributional properties of your estimates of MVR(K)-1) for K-5, T-100. How close are the mean and variance of the finite•sample distribution to the mean and variance of the asymptotic distribution? In what percentage of the simulation trials is the null hypothesis VR(k) = 1 rejected based on a t-test at the 5% significance level using the asymptotic critical value?

b. Write a MATLAB function called compute_overlapping_variance_ratio that takes two inputs, a vector of observations Y and a scalar K, and outputs the value of the estimated K-period variance ratio using overlapping observations. Use this function to simulate the finite-sample distribution of the K-period variance ratio for the RW1 model discussed in class. Each simulation trial should generate T+1 log prices from the model

Pt = Pt-1 + et

with p0-0 and et distributed i.i.d. N(0,1), and compute the K-period variance ratio for continuously-compounded returns. Use the command mg to set the seed for the random number generator to a value of 12345 before starting the simulation trials. Conduct a total of N-5000 trials and use (i) a histogram and (II) a qq-plot to illustrate the distributional properties of your estimates of NIT(VR(K)- 1) for K•5, Tn100. How close are the mean and variance of the finite-sample distribution to the mean and variance of the asymptotic distribution? In what percentage of the simulation trials is the null hypothesis VR(k) = 1 rejected based on a t-test at the 5% significance level using the asymptotic critical value?

c. Now consider a version of the RW3 model. In particular, each simulation trial should generate T+1 log prices from the model

2159_impact of extending the random walk model.png

 

with p0 = 0 ho = 1, ro = 0, and z, distributed i.l.d. N(0,1), and compute the K-period variance ratio for non-overlapping, continuously-compounded returns. Use the command mg to set the seed for the random number generator to a value of 12345 before starting the simulation trials. Conduct a total of N.5000 trials and use (I) a histogram and (II) a qq-plot to illustrate the distributional properties of your estimates of IFT(VR(K)- 1) for 9 = 0.95, K-5, T-100. Assess the impact of conditional heteroskedasticity on the test by comparing your results to those obtained In part a. In what percentage of the simulation trials is the null hypothesis VR(k) = 1 rejected based on a t-test at the 5% significance level using the asymptotic critical value?

Problem 2

Next let's examine the power of the test to detect violations of the null hypothesis under an AR(1) alternative to the random walk model.

a. Suppose the data generating process for log price differences is an AR(1) model,

831_impact of extending the random walk model1.png

with p0= 0, p-1 = 0, and et distributed N(0,1). As before, compute the K-period variance

ratio for non-overlapping, continuously-compounded returns. Use the command mg to set the seed for the random number generator to a value of 12345 before starting the simulation trials. Conduct N-5000 trials and use (I) a histogram and (ii) a qq-plot to illustrate the distribution of your estimates of .17(vR(K)- 1) for cp = 0.3, K-5, T=100. In what percentage of the simulation trials is the null VR(k) 1 rejected based on a t-test at the 5% significance level using the asymptotic critical value? Repeat the analysis for N500. How does increasing T affect the results?

b. Modify the code you wrote for part a by setting up a loop after generating the data. Use the loop to compute the fraction of rejections for each integer value of K from 2 to Kmax. Set Kmax-20 and plot the rejection fraction as a function of K with to = 0.3 and Tn100. What value of K maximizes test power? Does your answer change if you set et = -0.5 instead? Note: use the same pseudo random values of (et)t., to construct the returns for both values of cm This will ensure that Monte Carlo error is not driving any changes that you might see.

Problem 3.

Finally let's consider the impact of extending the random walk model by incorporating a fixed, non-zero, bid-ask spread.

a. Following Roll (1984), suppose the data generating process for log prices is

mt= mt-1 + et,

Pt = mt + qtc,

where the buy/sell indicator qt which equals +1 with probability 0.5 and -1 with probability 0.5, is i.i.d. and distributed independently of mt. Using T-1000 (instead of T=100), repeat the analysis of part a of Question 1 for data generated from this model with c=0.3, m0=0 and e, distributed i.i.d. N(0,1). What do the results suggest about the potential importance of market microstructure effects?

b.   Under the Roll (1984) model, the bid-ask spread induces serial correlation at the first lag only. it therefore implies an MA(1) data generating process for returns. This suggests a potential way to purge the microstructure-induced autocorrelation before conducting the variance ratio test. Recall that an MA(1) model with MA parameter 0 generates a first order autocorrelation of p = 81(1 + 02). Let fi denote the estimated first-order autocorrelation of the continuously-compounded returns. After generating the data, compute p and use the MATLAB function /zero along with the above formula to solve for 0 (the help file for (zero has examples of how to use it). Then compute the adjusted returns rt =11 - ant, for t -1,1,...,T starting with rj = 0. Next, using T=1000, repeat the analysis of part a of Question 1 for the adjusted returns Instead of the original returns. Do your results indicate that this approach works as Intended? Why or why not? Do you see any potential drawbacks to adjusting the returns to purge microstructure-induced autocorrelation?

Reference no: EM13289615

Questions Cloud

Calculate the value of capacitor voltage at resonance : A Series RLC with R = 50Ω and C = 32nF is connected to anideal 5 V voltage source, and is observed to be resonant at ω= 50x103 s-1. a. Draw and label the circuit diagram. Show all voltage andcurrent references.
Tax liability calculation : Tax Liability Calculation (LO. 1, 2, 3, 4, 5, 6, 8)
Calculate the time it takes for the bullet to strike ground : A bullet is fired from a rifle that is held 1.69 m above the ground in a horizontal position. Calculate the time it takes for the bullet to strike the ground
Explain naoh for complete neutralization in a titration : The mixture was stirred, causing all of the sample to dissolve. The excess HCl in the solution required 94.9 mL of 0.128 M NaOH for complete neutralization in a titration. What was the molecular formula of the white substance
Impact of extending the random walk model : Why or why not? Do you see any potential drawbacks to adjusting the returns to purge microstructure-induced autocorrelation and Write a MATLAB function called compute_overlapping_variance_ratio that takes two inputs, a vector of observations Y and a..
Calculate your deceleration on landing : You jump from the top of a boulder to the ground 1.85 m below. Calculate your deceleration on landing
Which shape has the smaller demagnetization factor : which shape has the smaller demagnetization factor: a thin film media along the direction perpendicular to the plane or a sphere along any central axis
The financial statement effects template : The Financial Statement Effects Template
Determine the speed of the water emerging from the hole : Water leaks out of a dam through a small hole 4.2 m below the level of the water behind the dam. Find the speed of the water emerging from the hole

Reviews

Write a Review

Financial Econometrics Questions & Answers

  What is the capital budgeting process

What is capital budgeting, what is the capital budgeting process, what are the principles of capital budgeting and when do we make a capital investment?

  Conduct a bivariate nonlinear conintegration tests

Conduct a bivariate nonlinear conintegration tests using threshold Vector Error Correction (TVEC) methodology. Need to develop Matlab code.

  What is a dividend policy

How does a dividend policy affect the value of a company and what are the factors involved with setting a dividend policy?

  What is working capital management

What is working capital management and how does a company manage and measure liquidity?

  Calculate the expected exchange rate

Use a properly labelled IS-LM graph to analyze and illustrate the effect and calculate the expected exchange rate for the end of the year.

  Option valuation report

Value Joseph's option position based on Black-Scholes method and analysis needs cover details behind the standard Black - Scholes method and explain detailed adjustment made to the standard BS method

  How to complete paige turners 2012 federal income tax

She has used her Acura TL in her business since July 1, 2012. During 2012, she properly documented 6,000 business miles (1,000 miles each month). The total mileage on her car (i.e., business- and personal-use miles) during the year was 15,000 mile..

  What is the capital structure decision

What is the capital structure decision, how is the market value of a company affected by its capital structure?

  What is a stock split

What is a cash, special, or stock dividend, what is a stock split and why is a liquidating dividend noteworthy?

  Calculate the wacc for both investment

Outline and write the essay starting with the evidence-supported defense of your points and slowly transition into an address of opposing points - Calculate the WACC for both investment. Calculate the NPV for investments discounted at their respec..

  What are mergers and acquisitions

What are mergers and acquisitions, why do companies merge and how can a merger occur

  Capm and capital structure

Reflect on the papers. Synthesize the key points they're making and consider the challenges of such points in a given context within your environment.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd