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 2025: Call for Content

Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 16. Read more here about why you should contribute and what is in it for you!

Submit your idea!

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
  • 1456 views
  • 2 likes
  • 2 in conversation