BookmarkSubscribeRSS Feed
Lilly2012
Calcite | Level 5

Hi SAS users,

I would like to use SAS in my thesis analysis and I am facing few issues with respect to panel data analysis. The xtgls command in STATA offers many error correction options (AR1, hetero, IID, across panels correlation, within panel correlation..etc) and I wonder if there is any SAS equivalent procedure like xtgls.

Thanks

2 REPLIES 2
bbridgerb
SAS Employee

Depending on the model you are trying to estimate you might be able to find it in SAS/ETS. Below is a link to the SAS/ETS documentation:

http://support.sas.com/documentation/cdl/en/etsug/66840/PDF/default/etsug.pdf

See the PANEL procedure for one way and two way random effect models and the Parks method. MODEL and SYSLIN procedures could be also helpful.

ets_kps
SAS Employee

Hi Lilly,

A couple places to look.  If you are doing VCE corrections, many of those are available in PANEL using these HCCME options SAS/ETS(R) 13.1 User's Guide

If you are looking to use GLS then I would suggest PROC MIXED as the likely place as it will have longitudinal model options that you would likely want.

Good luck-Ken

SAS Innovate 2025: Save the Date

 SAS Innovate 2025 is scheduled for May 6-9 in Orlando, FL. Sign up to be first to learn about the agenda and registration!

Save the date!

Multiple Linear Regression in SAS

Learn how to run multiple linear regression models with and without interactions, presented by SAS user Alex Chaplin.

Find more tutorials on the SAS Users YouTube channel.

Discussion stats
  • 2 replies
  • 1585 views
  • 1 like
  • 3 in conversation