Placing dates on the horizontal axis of shock decomposition

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.

Placing dates on the horizontal axis of shock decomposition

Postby Aldo » Sun Jun 25, 2017 12:30 pm

I want to put quarterly dates starting in 2002Q1 on horizontal axis of graphs of my shock decompositions?
How could I do this?
Aldo
 
Posts: 56
Joined: Fri Aug 07, 2015 4:47 pm

Re: Placing dates on the horizontal axis of shock decomposit

Postby jpfeifer » Mon Jun 26, 2017 6:08 pm

------------
Johannes Pfeifer
University of Cologne
https://sites.google.com/site/pfeiferecon/
jpfeifer
 
Posts: 6940
Joined: Sun Feb 21, 2010 4:02 pm
Location: Cologne, Germany

Re: Placing dates on the horizontal axis of shock decomposit

Postby Aldo » Tue Jun 27, 2017 1:25 pm

Dear jpfeifer,
I im getting this message error:

Code: Select all
Error using  -
Matrix dimensions must agree.

Error in demean (line 50)
    c = x-mean(x);

Error in nanautocovariance (line 65)
        data = demean(data);

Error in makedataset (line 279)
DatasetInfo.descriptive.autocovariance = nanautocovariance(DynareDataset.data, DynareOptions.ar);

Error in dynare_estimation_init (line 538)
[dataset_, dataset_info, newdatainterfaceflag] = makedataset(options_, options_.dsge_var*options_.dsge_varlag, gsa_flag);

Error in dynare_estimation_1 (line 115)
[dataset_, dataset_info, xparam1, hh, M_, options_, oo_, estim_params_, bayestopt_, bounds] = ...

Error in dynare_estimation (line 105)
    dynare_estimation_1(var_list,dname);

Error in prometheo (line 2900)
oo_recursive_=dynare_estimation(var_list_);

Error in dynare (line 223)
evalin('base',fname) ;


I attach my files.
Attachments
mymod.rar
(149.42 KiB) Downloaded 60 times
Aldo
 
Posts: 56
Joined: Fri Aug 07, 2015 4:47 pm

Re: Placing dates on the horizontal axis of shock decomposit

Postby jpfeifer » Wed Jun 28, 2017 8:39 pm

Are you using Dynare 4.5?
------------
Johannes Pfeifer
University of Cologne
https://sites.google.com/site/pfeiferecon/
jpfeifer
 
Posts: 6940
Joined: Sun Feb 21, 2010 4:02 pm
Location: Cologne, Germany

Re: Placing dates on the horizontal axis of shock decomposit

Postby Aldo » Thu Jun 29, 2017 3:43 am

Yes dear jpfeifer, I am using Dynare 4.5.0 in Matlab 2015a.

Please, how could I fix this?

Thanks

ALdo
Aldo
 
Posts: 56
Joined: Fri Aug 07, 2015 4:47 pm

Re: Placing dates on the horizontal axis of shock decomposit

Postby jpfeifer » Thu Jun 29, 2017 5:21 am

That is strange, because I am getting
Error using print_info (line 110)
Likelihood is not a number (NaN) or a complex number

Error in print_info (line 110)
error('Likelihood is not a number (NaN) or a complex number');

Error in initial_estimation_checks (line 175)
print_info(info, DynareOptions.noprint, DynareOptions)

Error in dynare_estimation_1 (line 165)
oo_ =
initial_estimation_checks(objective_function,xparam1,dataset_,dataset_info,M_,estim_params_,options_,bayestopt_,bounds,oo_);

Error in dynare_estimation (line 105)
dynare_estimation_1(var_list,dname);

Error in prometheo (line 2899)
oo_recursive_=dynare_estimation(var_list_);

Error in dynare (line 223)
evalin('base',fname) ;

which happens in a different line, suggesting that you were using a different mod-file than the one you provided.
------------
Johannes Pfeifer
University of Cologne
https://sites.google.com/site/pfeiferecon/
jpfeifer
 
Posts: 6940
Joined: Sun Feb 21, 2010 4:02 pm
Location: Cologne, Germany


Return to Dynare help

Who is online

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