shock simulation

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.

shock simulation

Postby itry » Sat Aug 16, 2008 11:13 am

Hi,

I've just got started with Dynare and tried to simulate a model with stochastic shocks on some exogenous variables following an AR(1)-process, say u=rho*u(-1)+v.

I shock v via

shocks;
var v=1;
end;

If I run this simulation, the graph for u always begins with the value 1 in period 0. But if v is stochastic, shouldn't there be different u-values for t=0 in each simulation?

Maybe this problem is very simple to solve. I hope somebody can help me.

Regards,

itry
itry
 
Posts: 1
Joined: Sat Aug 16, 2008 11:02 am

Postby shwayder » Sat Sep 06, 2008 3:46 pm

Hi itry,

I think what you want to do is this:


Code: Select all
shocks;
    var v; stderr 1;
end;



This will declare that the variable v has a standard error of 1. If you do that, I think it should work.

Cheers,
AS
shwayder
 
Posts: 7
Joined: Wed May 14, 2008 2:28 am
Location: Northwestern University


Return to Dynare help

Who is online

Users browsing this forum: No registered users and 11 guests