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-2026-white.png



April 27 – 30 | Gaylord Texan | Grapevine, Texas

Registration is open

Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and lock in 2025 pricing—just $495!

Register now

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