Diebold Li (2006) AR process

1 view (last 30 days)
Michael
Michael on 28 Jun 2014
Commented: Michael on 29 Jun 2014
Hi there,
I have a question about the paper by Diebold and Li (2006). They estimated a time-series of three factors subsequently they want to forecast these parameters to forecast the yield curve. I have exactly the same estimated factors, however, when I want to forecast the factors I get different results. They say they model the factor B[t+h] = c + y*B[t] by a simple regression. However, when you perform this regression on simply the previous B, you will only get an estimate of for y and the constant c is always zero right?
Here is the paper
Kind regards,
Michael

Answers (1)

the cyclist
the cyclist on 28 Jun 2014
Why would c be zero? Wouldn't the autoregression of B be something like
B = [1 1 2 3 5 8 13 21 34]';
regressCoeffs = regress(B(2:end)',[ones(8,1) B(1:end-1)']);
c = regressCoeffs(1);
y = regressCoeffs(2);
where I have obviously just put in some nonsense data.
  3 Comments
the cyclist
the cyclist on 29 Jun 2014
You need to estimate not just the relationship of the last observation to the next-to-last, but rather all observations (except the first one) to the one just prior. So, you are doing the estimate of the coefficients c and y that best fit
B(2) = c + y*B(1)
B(3) = c + y*B(2)
B(4) = c + y*B(3)
etc.
Or maybe I misunderstand.
Michael
Michael on 29 Jun 2014
I had tried that aswell, but that also gave me not the right outputs. I also found a mistake in my code which caused some deviance and now I have fixed that I almost have the correct output. I need to multiply the coefficients with the last datapoints and multiply that by estimated factor loadings to get estimates of my independent variable. Then I compare the deviance from the true values of the independent values and I get slightly different results. But I think I can live with that. Thank you for your input.

Sign in to comment.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!