Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

SAS Wald Test - Help!

Status
Not open for further replies.

annaland

Programmer
Sep 13, 2007
2
US
I'm using the following code to run GMM estimates with Newey-West Standard errors. There are two sets of data in go5, one refers to A0, A1, Retpi1, Dummy1 and the other to B0 B1, Retpi and Dummy. I need to do a wald test and get p-values to see if A1=B1. This is the code I'm using but I'm new to SAS and not sure if this is correct or efficient as it isn't yielding good results. Any help is appreciated. Thanks in advance!


PROC MODEL data=go5; parms b0 b1 a0 a1;retpi1= A0 +A1*dummy1;
fit retpi1/ gmm kernel=(bart,6,0); instruments dummy1 ; retpi= B0 + B1*dummy;
fit retpi/ gmm kernel=(bart,6,0); instruments dummy; test b1=a1;RUN;
 
Sorry mate, I think that's a bit advanced for us here. I'm a whizz at SAS, but I don't know much about Stats and the various stats procedures are WAY beyond me.
You might be lucky though...

Chris
Business Analyst, Code Monkey, Data Wrangler.
SAS Guru.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top