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

Hi everyone,

 

I am doing simulations to test multiple imputation procedures implemented in PROC MI.

For one of my datasets, I had the following error message :

 

ERROR: The set of classification levels for centre, generated for the imputed variable y_4, does
not include the level c3 for observations that have missing y_4 values.

 

It occured when I was imputing with the MONOTONE REGRESSION technique (on a monotone dataset, of course).

The code below (on SAS V9.4) reproduces such error:

DATA myData;
	INPUT centre $ y_1 y_2 y_3 y_4;
	DATALINES;
	c3 11 27 22 .
	c3 10 14 21 .
	c3 2 21 15 .
	c3 1 10 12 .
	c2 24 57 21 12
	c2 3 21 14 7
	c2 2 45 65 12
	c2 1 2 3 4
	c1 4 5 12 1
	c1 12 32 54 12
	c1 15 12 32 14
	c1 14 21 10 12
	;
RUN; 

PROC MI DATA=myData OUT=imputed;
	CLASS centre;
	VAR centre y_1 y_2 y_3 y_4;
	MONOTONE REG;
RUN;

 But with FCS REGRESSION, no problem !

 

PROC MI DATA=myData OUT=imputed;
	CLASS centre;
	VAR centre y_1 y_2 y_3 y_4;
	FCS REG;
RUN;

Yet, the SAS user guide for PROC MI  (pdf version available here) seems to assert that for monotone datasets, FCS REGRESSION fill-in phase acts like a MONOTONE REGRESSION  (page 5894 to 5895 and 5902 to 5903).

 

 

How to explain that the error occurs only for MONOTONE REGRESSION 

 

Thanks in advance

1 ACCEPTED SOLUTION

Accepted Solutions
SAS_Rob
SAS Employee

You are exactly right.  With FCS, the problem should also surface.  

 

I suspect that this is an oversight in the development that does not catch the missing level and you should report it to Technical Support.

http://support.sas.com/ctx/supportform/createForm 

 

 

View solution in original post

2 REPLIES 2
SAS_Rob
SAS Employee

You are exactly right.  With FCS, the problem should also surface.  

 

I suspect that this is an oversight in the development that does not catch the missing level and you should report it to Technical Support.

http://support.sas.com/ctx/supportform/createForm 

 

 

Jonas_p
Calcite | Level 5

Dear grep2638,

I'm facing exactly the same problem as you... have you been able to solve it eventually ?

Best wishes

Jonas

SAS Innovate 2025: Register Now

Registration is now open for SAS Innovate 2025 , our biggest and most exciting global event of the year! Join us in Orlando, FL, May 6-9.
Sign up by Dec. 31 to get the 2024 rate of just $495.
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
  • 4952 views
  • 0 likes
  • 3 in conversation