generate new statistics and tables

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.

generate new statistics and tables

Postby mindint » Thu Apr 16, 2015 6:55 am

Dear all,

How to generate new statistics and tables such as the standard deviation relative to output in Dynare? Here is a example which generates the standard deviations relative to mean, however, I have no idea what these codes mean, especially the last three numbers 10,8, 4. Could anyone kindly help explain it and introduce the the mothods? Thanks!

statistic1 = 100*sqrt(diag(oo_.var(1:4,1:4)))./oo_.mean(1:4);
dyntable('Relative standard deviations in %',strvcat('VARIABLE','REL. S.D.'),M_.endo_names(1:4,:),statistic1,10,8,4);
mindint
 
Posts: 19
Joined: Thu Jan 22, 2015 9:08 am

Re: generate new statistics and tables

Postby jpfeifer » Sun Apr 19, 2015 8:29 am

The last three inputs to the dyntable function are in order

label_width: number of characters used for label column
val_width: number of digits used for values
val_precis: precision of the values, i.e. digits after the decimal separator
------------
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 8 guests