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

Hi all,

 

I obtained an error message "Within-imputation Estimate missing for effect PGS_MEGALGC_APP_APOE*TIME in _Imputation_= 1 in the inputPARMS= data set" when I run the following code:

 

PROC MIXED DATA = IMP_IMM_LONG METHOD = RMEL;
CLASS DBID FAMILY TIME(REF="2") GENDER;
MODEL CS_IMM_LRN = PGS_MEGALGC_APP_APOE PGS_MEGALGC_APP_APOE*TIME AGEATVISIT TIME GENDER EDYEARS_CODED_MAX20 PC1 PC2 PC3 PC4 PC5 / CHISQ S DDFM = BW;
RANDOM INTERCEPT   / TYPE = UN SUBJECT = FAMILY G;
REPEATED TIME / TYPE = CS SUBJECT = DBID(FAMILY) R;
BY _IMPUTATION_;
ODS OUTPUT SOLUTIONF = APP_IMM_BETA;
RUN;


PROC MIANALYZE PARMS(CLASSVAR=FULL) = APP_IMM_BETA;
CLASS TIME GENDER;
MODELEFFECTS PGS_MEGALGC_APP_APOE PGS_MEGALGC_APP_APOE*TIME AGEATVISIT TIME GENDER EDYEARS_CODED_MAX20 PC1 PC2 PC3 PC4 PC5;
RUN;

This error appears after SAS executed the PROC MIANALYZE procedure.

 

The parms data set I used for the PROC MIANALIZE procedure looks like this:

Picturemi.png

 

What should I do to avoid this error message? Any help is appreaciated!

 

 

 

1 ACCEPTED SOLUTION

Accepted Solutions
zjppdozen
Fluorite | Level 6

I realized the problem was my variable name is too long. After I change the name to a shorter one, the error message disappear.

View solution in original post

1 REPLY 1
zjppdozen
Fluorite | Level 6

I realized the problem was my variable name is too long. After I change the name to a shorter one, the error message disappear.

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!

How to Concatenate Values

Learn how use the CAT functions in SAS to join values from multiple variables into a single value.

Find more tutorials on the SAS Users YouTube channel.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

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

View all other training opportunities.

Discussion stats
  • 1 reply
  • 565 views
  • 1 like
  • 1 in conversation