Simulated Methods of 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.

Simulated Methods of Moments

Postby xtsong » Fri Apr 24, 2015 3:13 pm

I found the function [param,sigma] = simulated_moments_estimation(dataset,options,parallel) for dynare.

But I don't know how to do to run the SMM estimation in dynare? Should this be include in a dynare script?

I would like to know if anyone has an example include this function.

Thanks~
xtsong
 
Posts: 5
Joined: Fri Nov 15, 2013 5:23 am

Re: Simulated Methods of Moments

Postby jpfeifer » Sat Apr 25, 2015 7:42 am

This function is experimental and not supported by us yet. If you are looking for a simulated method of moments, please have a look at the replication files for Born/Pfeifer (2014): "Risk Matters: A comment" at https://sites.google.com/site/pfeiferecon/20140525_replication_codes.zip?attredirects=0. There, we use SMM to estimate a third-order approximated model.
------------
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: Simulated Methods of Moments

Postby xtsong » Tue Apr 28, 2015 7:57 pm

Appreciate to your answer.
xtsong
 
Posts: 5
Joined: Fri Nov 15, 2013 5:23 am

Re: Simulated Methods of Moments

Postby Daniel Bendel » Thu Apr 30, 2015 1:46 pm

As far as I understand your code right, you do not use a weighting matrix. If I want to use a weighting matrix, how do I have to change the code to insert one?
Germany, Cologne
Daniel Bendel
 
Posts: 134
Joined: Tue Nov 15, 2011 1:06 pm
Location: Cologne, Germany

Re: Simulated Methods of Moments

Postby jpfeifer » Thu Apr 30, 2015 2:39 pm

At the last line, we have
Code: Select all
    % compute objective function
    fval=(simulated_moments-target)*(simulated_moments-target)'

Implicitly, this is
Code: Select all
    % compute objective function
    fval=(simulated_moments-target)/eye(n,n)*(simulated_moments-target)'

You would need to replace the identity in the middle with your weighting matrix, derived e.g. using a Newey-West type estimator. See Ruge-Murcia's codes for an example.
------------
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