BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.
Chelsea0208
Calcite | Level 5

Hi everyone!

I need to impute missing values by MNAR statement which is within MI procedure.

But it cannot work on my computer... (The version of my SAS is 9.4.)

 

MNAR statement is in red. (unusual)

Please look at those codes in the picture that I attached.

Besides, the examples with MNAR statement in SAS PROC MI manual can't work on my computer as well.

 

I can't figure out the reason.

Hope somebody can help me!

 

Thanks a lot!

1 ACCEPTED SOLUTION

Accepted Solutions
SAS_Rob
SAS Employee

I wonder if the Enhanced Editor simply doesn't recognize the MNAR statement even though it is valid.  Have you tried actually running the code and looking at the LOG?

View solution in original post

2 REPLIES 2
SAS_Rob
SAS Employee

I wonder if the Enhanced Editor simply doesn't recognize the MNAR statement even though it is valid.  Have you tried actually running the code and looking at the LOG?

Chelsea0208
Calcite | Level 5

Yes, I've tried!

And I found that I forgot to add a ";" at the end of this MNAR statement. Man Surprised

The code with ";" is valid!

 

Thanks for replying and telling me that MNAR in red but still can work!

sas-innovate-2024.png

Available on demand!

Missed SAS Innovate Las Vegas? Watch all the action for free! View the keynotes, general sessions and 22 breakouts on demand.

 

Register now!

What is ANOVA?

ANOVA, or Analysis Of Variance, is used to compare the averages or means of two or more populations to better understand how they differ. Watch this tutorial for more.

Find more tutorials on the SAS Users YouTube channel.

Discussion stats
  • 2 replies
  • 1352 views
  • 2 likes
  • 2 in conversation