prior_analysis command

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.

prior_analysis command

Postby jtsoukalas » Mon Sep 07, 2009 3:29 pm

Hi everyone

I was playing around with the prior_analysis command but did not get any output. Is it functioning properly? Does anyone know?

Thanks

John
John D. Tsoukalas
University of Nottingham
jtsoukalas
 
Posts: 11
Joined: Mon Mar 27, 2006 9:23 am

Re: prior_analysis command

Postby StephaneAdjemian » Wed Sep 09, 2009 8:30 pm

Hi John,

This function computes theoretical prior moments of the endogenous variables (2nd order moments, variance decomposition and conditional variance decomposition). The output is stored in the global structure oo_ (under the field PriorTheoreticalMoments).

Best,
Stéphane.
Stéphane Adjemian
Université du Maine, GAINS and DynareTeam
https://stepan.adjemian.eu
StephaneAdjemian
 
Posts: 429
Joined: Wed Jan 05, 2005 4:24 pm
Location: Paris, France.

Re: prior_analysis command

Postby jtsoukalas » Sun Sep 13, 2009 10:33 am

Hi Stephane

I still not get any field PriorTheoreticalMoments in oo_ when I call this command. I am using
prior_analysis(moments_varendo)---plus a list of endogenous variables---without any other options. I am not sure whether we need any other option called (e.g. the xls datafile?) or call the estimation command for this to work. Any ideas?

Best

John
John D. Tsoukalas
University of Nottingham
jtsoukalas
 
Posts: 11
Joined: Mon Mar 27, 2006 9:23 am

Re: prior_analysis command

Postby KarlWalentin » Fri Jan 29, 2010 7:39 am

I share the problem/question with the previous poster:
If I write prior_analysis(moments_varendo)
I get the output: "??? Input argument "M_" is undefined."

Looking at the code for prior_analysis.m and it's subroutines my impression is that this code is outdated and not compatible with with the way options etc are stored in Dynare v 4 (unneccesary arguments seemed to be passed around incorrectly).

Karl
KarlWalentin
 
Posts: 16
Joined: Wed Feb 21, 2007 4:22 pm

Re: prior_analysis command

Postby SébastienVillemot » Thu Feb 04, 2010 11:20 am

Hi,

You're right, the prior_analysis command is currently broken in Dynare 4.1.0. We are going to fix this in Dynare 4.1.1.

Thanks for your report
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: No registered users and 8 guests