BookmarkSubscribeRSS Feed
Marcello91
Fluorite | Level 6

Hi everybody, I'm a new user and I would like to have suggestions to solve a matter. I have to do a panel analysis with numerical data. When running the "proc panel" I get this message as result:

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

 

I have some missing values in the dataset. Do you perhaps know how to deal with them? 

 

It would be really helpful! Thanks in advance.

3 REPLIES 3
DartRodrigo
Lapis Lazuli | Level 10

Hi,

I found a link to this. I think it will help you.

 

PROC PANEL - MISSING VALUES

 

Hope this helps Smiley Wink

 

Att

Marcello91
Fluorite | Level 6

Thank you very much!! But I already found that link and I don't know how to apply the OUTPUT statement with the proc panel. Do you have suggestions please?? Thanks in advance

Marcello91
Fluorite | Level 6

I-ve just tried the output statement in the proc freq like this

 


proc freq data=Lib1;
TABLES N_Patents  Stringency Turnover GERD EPE_Exp CO2 GDP Tertiary / missprint;
   title 'MISSPRINT Option';
run;


proc freq data=Lib1;
TABLES N_Patents  Stringency Turnover GERD EPE_Exp CO2 GDP Tertiary / missing;
   title 'MISSING Option';
run;

 

But when trying to run the proc panel I get the same error statement as above.

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!

What is Bayesian Analysis?

Learn the difference between classical and Bayesian statistical approaches and see a few PROC examples to perform Bayesian analysis in this video.

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
  • 3 replies
  • 2879 views
  • 1 like
  • 2 in conversation