std

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.

std

Postby ssrrcc » Sat Oct 02, 2010 3:29 pm

I am experiencing problems when I try to get standar deviation into a equation. Is it possible? if it is so, what's the proper formula? std(vble)? I've tried with this and this error shows up:
syntax error, unexpected NAME, expecting INT_NUMBER or MINUS or PLUS

thanks in advance for your help,

ssrr
ssrrcc
 
Posts: 2
Joined: Sat Oct 02, 2010 3:17 pm

Re: std

Postby AssiaEzzeroug » Mon Oct 04, 2010 10:56 am

Hi,

The correct syntax is "sqrt(x)" (reference: p.10 of the Dynare Manual)

Best

update: sorry I misunderstood.. but know that the functions listed in p.10 of the dynare manual are the all ones you are allowed to use into the block model. "stderr" works nly for the block "shocks" n estimation.
AssiaEzzeroug
 
Posts: 83
Joined: Tue Nov 24, 2009 3:48 pm

Re: std

Postby ssrrcc » Mon Oct 04, 2010 2:15 pm

Thanks a lot Assia!!
That function brings the square root and I need the standard deviation!!
:D
ssrr
ssrrcc
 
Posts: 2
Joined: Sat Oct 02, 2010 3:17 pm

Re: std

Postby SébastienVillemot » Mon Oct 11, 2010 12:28 pm

It is not possible to put the standard deviation of some endogenous variable in the model, it would make the resolution much more difficult.

If you want to put the standard deviation of some exogenous, then simply copy the value that you put in the “shocks” block, or better, create a parameter or macro-variable to set the value at both places.
Sébastien Villemot
Economist at OFCE – Sciences Po
SébastienVillemot
 
Posts: 706
Joined: Fri Dec 07, 2007 2:29 pm
Location: Paris, France


Return to Dynare help

Who is online

Users browsing this forum: Google [Bot] and 7 guests