BookmarkSubscribeRSS Feed
NewbieSAS
Calcite | Level 5
As a total newbie in SAS, being unfamiliar with the 'real' SAS programming, I decided to use EG to run a linear regression on a unbalanced panel data set (through Task>Time Series> Regression Analysis of Panel data) consisting of about 180.000 rows.

While doing so however, i get error codes on either the time-series or the cross section since there is plenty of missing data:

"ERROR: There is only one cross section or time series observation"

and

"ERROR: Not enough observations with non-missing model variables for model statement in cross section GVKEY=001411"

practically, I assume this means that Cross-section items appearing only once in the dataset should be deleted, right? How can I best approach this problem taking into account my lack of programming skills?

Thanks in advance,

Robert
1 REPLY 1
TWOSU
Calcite | Level 5

Hi NewbieSAS, 

 

I had the same problem. This is what I did. Open the data set in excel. Select the column with the cross-section ID (in my case it is firm ID number). Use conditional formating icon to highlight all duplicates. Select and delete the non-duplicates. Hope that works. 

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!

SAS Enterprise Guide vs. SAS Studio

What’s the difference between SAS Enterprise Guide and SAS Studio? How are they similar? Just ask SAS’ Danny Modlin.

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
  • 1 reply
  • 1259 views
  • 0 likes
  • 2 in conversation