Get empirical moments

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.

Get empirical moments

Postby jlhuillier » Sat Feb 23, 2008 12:59 am

Dear all,

Dynare computes the moments and autocorrelations of variables out of simulated data when it executes the command "stoch_simul". Is there a simple way of computing the same statistics out of actual data (i.e. a file containing the data for estimation)?

Thanks a lot.
Jean-Paul
jlhuillier
 
Posts: 20
Joined: Sat Dec 22, 2007 10:50 pm
Location: Cambridge

Postby reubenpjacob » Sun Feb 24, 2008 11:08 am

why dont you just use regular matlab functions like mean, median, autocorr for the data , within the mod file?

reuben
reubenpjacob
 
Posts: 133
Joined: Fri Oct 06, 2006 3:23 pm
Location: Reserve Bank of New Zealand

Postby jlhuillier » Thu Feb 28, 2008 8:19 pm

That shouldn't be too complicated, you are right, thanks
jlhuillier
 
Posts: 20
Joined: Sat Dec 22, 2007 10:50 pm
Location: Cambridge


Return to Dynare help

Who is online

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