covariance between stochastic discount factor and inflation

This forum is closed. You can read the posts but cannot write. We have migrated the forum to a new location where you will have to reset your password.
Forum rules
This forum is closed. You can read the posts but cannot write. We have migrated the forum to a new location (https://forum.dynare.org) where you will have to reset your password.

covariance between stochastic discount factor and inflation

Postby leolee » Fri Oct 21, 2016 4:21 pm

Dear all,

Thank you in advance for your helpful advice.

I'm trying to price long-term real/nominal bond with New Keynesian DSGE model, to calculate the inflation risk premium, and to see how demand/supply shock may change the sign of the premium.

As is known, the positive inflation premium is accompanied by the negative covariance between 'SDF from t to t+1' and 'inverse of cummulative inflation from t to t+1'. That is cov( SDF(t,t+1), 1/INF(t,t+1) ) < 0.

In the dynare code attached below (which is the mod file for BOE working paper 326, obtained from the BOE website). There exist negative inflation premium (-0.1406). Therefore I expected to get positive cov( SDF(t,t+1), 1/INF(t,t+1) ), or negative cov( SDF(t,t+1), INF(t,t+1) ).

In the code, DPSW(the authors) defined the stochastic discount factor and 1-period ahead inflation as
Code: Select all
sdf = bet*(mu/mu(-1));
pi0_1 = pi(+1);


To get the covariance using the dynare, I added 1 period ahead sdf as
Code: Select all
sdf0_1 = sdf(+1);


And I run the code and check the theoretical moments from
Code: Select all
oo._var


but the cov(sdf0_1, pi0_1) from
Code: Select all
oo._var
was not negative, which is inconsistent with the paper.

I think I may have made some mistake using the dynare to calculate the covariance between future sdf and inflation. Can anyone help me to find where I did wrong.

Thank you always.

Leo.
Attachments
DPSW_WP_4.mod
(37.33 KiB) Downloaded 133 times
leolee
 
Posts: 30
Joined: Thu Mar 19, 2015 9:54 am

Return to Dynare help

Who is online

Users browsing this forum: No registered users and 10 guests