BookmarkSubscribeRSS Feed
andy2012
Calcite | Level 5

Hi All,

Are there any least-squares regression procedures that can correct for heteroskedasticity and produce output that can be used with the PLM procedure to create prediction intervals?

My data is a long panel, but since it appears that output from the PANEL procedure is incompatible with PLM, I created dummy variables for cross-sections & time in order to force the data into a model like GLM or REG.  Unfortunately, the data exhibits heteroskedasticity.  I have found various corrections for this with the REG procedure (ACOV, HCC, SPEC, WHITE), but haven't found any that are avaialble for GLM, ORTHOREG, MIXED, etc.

Thank you in advance for any suggestions.

2 REPLIES 2
Ksharp
Super User

Sorry. I don't know . But you can try to include some polynomial (e.g. x^2  x^3  ......) into your REG GLM to see whether it can eliminate heteroskedasticity. Or you maybe should be at SAS Forecasting    forum to find some help.

Ksharp

SteveDenham
Jade | Level 19

Within the linear mixed model procs (MIXED, GLIMMIX, HPMIXED), there are two methods for accommodating heteroskedasticity.  If the lack of homogeneity is in your cross-section variables, you can add a group= option in the random/repeated statement that will result in separate estimates of the covariance parameters by group.  If the lack of homogeneity is in your time variable, then assuming you are fitting time as a CLASS variable, you could try heterogeneous covariance structures such as arh(1), fa(1), toeph, or unstructured.  The choice will depend on the spacing of the time variable.

I hope this applies to what you are attempting.

Steve Denham

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
  • 2 replies
  • 969 views
  • 6 likes
  • 3 in conversation