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-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!

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
  • 1354 views
  • 1 like
  • 3 in conversation