Hi,
I am running a regression and I want to control both heteroscedasticity (Huber-White standard errors) and cluster which means add option "robust cluster (var) " in stata
yet I want to do this in sas,
what should I do?
Look at the WHITE option in the model statement for proc reg. This will at least help with your heteroscedasticity question.
You may want to look at the ROBUSTREG procedure in 9.3 as well.
THX,
Well, it seems I have to update my SAS
THX. yet proc reg seems can not control cluster at the same time.
and do this option works in surveyreg?
Robustreg procedure is in 9.2 as well, it is not new to 9.3 (I am not aware if/of any major differences).
Not really knowing anything about stata I am going to assume the 'cluster' option has something to do with collinearity among the regressors. The model statement has options for this COLLIN, COLLINOINT. You may also want to look a ACOV instead of WHITE and COLLIN. You can also control the interactivity of variables with the ADD and DELETE statements in proc reg.
Don't miss out on SAS Innovate - Register now for the FREE Livestream!
Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.
Learn the difference between classical and Bayesian statistical approaches and see a few PROC examples to perform Bayesian analysis in this video.
Find more tutorials on the SAS Users YouTube channel.