BookmarkSubscribeRSS Feed
deleted_user
Not applicable
I'm new to SAS EG and wanted some help regarding the structure of the data needed to perform panel data analysis on SAS EG. It is a time series Cross sectional panel data analysis

My current data is in this format:

1989 1990 1991
Company
X 12 13 45
Y 8 10 16


I have been told that the data format for panel data analysis on SAS EG should be as follows:

Company
X 1989 12
X 1990 13
X 1991 45

Y 1989 8
Y 1990 10
Y 1991 16

Can you please confirm which format is the right one for panel data analysis on SAS EG ?

Thanks
Ash28
2 REPLIES 2
RichardH_sas
SAS Employee
Do you mean the task "Regression Analysis of Panel Data"? I'm not a time series expert, but my limited experience is that yes, you usually need the data in a "narrow" form for a lot of the time series stuff. Someone else may provide a definitive answer, or you might consider cross-posting this on the Forecasting forum (http://support.sas.com/forums/forum.jspa?forumID=28). If you post there, I'd mention the procedure is TSCSREG.

Tech support could also provide an answer if you need: http://support.sas.com/techsup/contact/
deleted_user
Not applicable
Yes, I meant the "Regression analysis of panel data". Thanks for your help.

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

Creating Custom Steps in SAS Studio

Check out this tutorial series to learn how to build your own steps in SAS Studio.

Find more tutorials on the SAS Users YouTube channel.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 2 replies
  • 1703 views
  • 0 likes
  • 2 in conversation