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-white.png

Our biggest data and AI event of the year.

Don’t miss the livestream kicking off May 7. It’s free. It’s easy. And it’s the best seat in the house.

Join us virtually with our complimentary SAS Innovate Digital Pass. Watch live or on-demand in multiple languages, with translations available to help you get the most out of every session.

 

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
  • 3571 views
  • 1 like
  • 2 in conversation