BookmarkSubscribeRSS Feed
rpg163
Calcite | Level 5

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?

5 REPLIES 5
FriedEgg
SAS Employee

Look at the WHITE option in the model statement for proc reg.  This will at least help with your heteroscedasticity question.

Doc_Duke
Rhodochrosite | Level 12

You may want to look at the ROBUSTREG procedure in 9.3 as well.

rpg163
Calcite | Level 5

THX,

Well, it seems I have to update my SAS

rpg163
Calcite | Level 5

THX. yet proc reg seems can not control cluster at the same time.

and do this option works in surveyreg?

FriedEgg
SAS Employee

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.

sas-innovate-2024.png

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.

 

Register now!

What is Bayesian Analysis?

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.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

Discussion stats
  • 5 replies
  • 1453 views
  • 0 likes
  • 3 in conversation