BookmarkSubscribeRSS Feed
cd2011
Calcite | Level 5

Hi,

I am running a GMM with proc model to correct for heteroscedasticity, but I am having some trouble understanding the SAS diagnostics. My code looks something like that,

1. proc model data=test;

2. parms const  a b c;

3. instruments vara varb varc ;

4. y= const+ a*vara+b*varb+c*varc;

5. fit y / white breusch =(1 vara  varb varc );                                                            

6. fit y / GMM white breusch =(1 vara varb varc );                                                            

run;

My understanding is that step 5 gives simple ols results and breush pegan test will show heteroscedasticity if there is any.

but step 6 corrects for heteroscedasticity and hence will give same parameter estimates as step 5 but different standard errors, but breusch-pegan step at this point should show no heteroscedastictiy.

But in my application I see exact same breusch-pegan test value from step 5 and step 6. Am I wrong in interpreting it or am I doing something wrong?

Thanks for any help.

1 REPLY 1
cd2011
Calcite | Level 5

As it turns out, I was infact mis-interpreting the results. The data is still heteroscedastic, GMM is only giving heteroscedastic-consistent variance covarince matrix. 

Ready to join fellow brilliant minds for the SAS Hackathon?

Build your skills. Make connections. Enjoy creative freedom. Maybe change the world. Registration is now open through August 30th. Visit the SAS Hackathon homepage.

Register today!
What is ANOVA?

ANOVA, or Analysis Of Variance, is used to compare the averages or means of two or more populations to better understand how they differ. Watch this tutorial for more.

Find more tutorials on the SAS Users YouTube channel.

Discussion stats
  • 1 reply
  • 1374 views
  • 0 likes
  • 1 in conversation