No BSD License  

Highlights from
GMM

4.5

4.5 | 2 ratings Rate this file 91 Downloads (last 30 days) File Size: 3.38 KB File ID: #12114

GMM

by zhiguang cao

 

31 Aug 2006 (Updated 31 Aug 2006)

GMM

| Watch this File

File Information
Description

This program is for GMM estimation
input:
moment: moment conditions function defined by users
para0:initial value for estimated parameters
Y,X:data used to estimate parameters
Z: data for instrument variables
number: maximum convergence number when choosing optimal weighting matrix
K:number of moment conditions
output:
paraest:parameters estimated
%t_sta: T statistics for each estimated parameter
%V:covariance matrix for estimated parameters
it: number of iteration
Chi_sta and Pvalue: overidentifying test, null hypothesis is moment
conditions are feasible

Required Products Optimization Toolbox
MATLAB release MATLAB 6.5.1 (R13SP1)
Tags for This File  
Everyone's Tags
Tags I've Applied
Add New Tags Please login to tag files.
Comments and Ratings (5)
24 Sep 2006 roberto violi  
04 Nov 2006 Scott Miller

While useful in finance, this script should be put in the statistics category.

27 Dec 2007 lin lai

good

28 Apr 2010 Hüseyin  
31 Jan 2012 Alina

Hello,
I don't really understand how to define the moment conditions function. How do I define para, num and W in your linearmodel01 example?
Thank you!

Please login to add a comment or rating.
Tag Activity for this File
Tag Applied By Date/Time
finance zhiguang cao 22 Oct 2008 08:36:21
modeling zhiguang cao 22 Oct 2008 08:36:21
analysis zhiguang cao 22 Oct 2008 08:36:21
code for gmm zhiguang cao 22 Oct 2008 08:36:21
gmm estimation zhiguang cao 22 Oct 2008 08:36:21
financial modeling zhiguang cao 22 Oct 2008 08:36:21
gmm zhiguang cao 22 Oct 2008 08:36:21
code for gmm Sean 26 Jan 2009 23:05:42
analysis DONG ? 11 Jan 2011 03:26:37
gmm Lorenzo 20 Apr 2011 13:37:54
code for gmm Reza Baradaran 29 Nov 2011 20:03:27

Contact us at files@mathworks.com