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-wordmark-2025-midnight.png

Register Today!

Join us for SAS Innovate 2025, our biggest and most exciting global event of the year, in Orlando, FL, from May 6-9. Sign up by March 14 for just $795.


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.

SAS Training: Just a Click Away

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

Browse our catalog!

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