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

Innovate_SAS_Blue.png

Registration is open! SAS is returning to Vegas for an AI and analytics experience like no other! Whether you're an executive, manager, end user or SAS partner, SAS Innovate is designed for everyone on your team. Register for just $495 by 12/31/2023.

If you are interested in speaking, there is still time to submit a session idea. More details are posted on the website. 

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.

Get the $99 certification deal.jpg

 

 

Back in the Classroom!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

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