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

Join us for SAS Innovate April 16-19 at the Aria in Las Vegas. Bring the team and save big with our group pricing for a limited time only.

Pre-conference courses and tutorials are filling up fast and are always a sellout. Register today to reserve your seat.

 

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
  • 1415 views
  • 0 likes
  • 3 in conversation