<< prtfish Printings and graphs prthaussman >>

Grocer >> Printings and graphs > prtgmm

prtgmm

prints gmm estimation results

CALLING SEQUENCE

prtgmm(res,out)

PARAMETERS

Input

* res = a tlist provided by a gmm function

* out = the file where the results are printed (optional; default: %io(2), i.e the screen)

 

Output

* nothing, just print the results

DESCRIPTION

Prints Generalized Moments Method regression results.

EXAMPLE

X = [ones(1000,1) grand(1000,1,'nor',0,1) grand(1000,1,'nor',0,1)];
b = [0;1;-1];
e = grand(1000,1,'nor',0,1);
y = X*b + e;
 
gmmopt = tlist(['gmm';'momt';'jake';'prt';'gmmit';'S']);
gmmopt('prt')=1;
gmmopt('gmmit') = 1;
gmmopt('S')='W';
gmmopt('momt')='gmmLinM';
gmmopt('jake')='gmmLinJ';
 
b0=zeros(3,1);
 
uout=gmm('y',gmmopt,'exo=''X''','ivar=''X''','parm0=b0','noprint');
 
prtgmm(uout,%io(2))
 
// Prints on screen the tlist result coming from a gmm regression.

AUTHOR

Emmanuel Michaux 2007

Report an issue
<< prtfish Printings and graphs prthaussman >>