BookmarkSubscribeRSS Feed
OMA
Calcite | Level 5 OMA
Calcite | Level 5

Hello,

 

I am looking for help with troubleshooting these warnings that I am getting when I run proc mi FCS. I am analyzing data from a randomized clinical trial. Assessment are at 6 week interval, at each interval there are either binary flags for new diagnosis, or medication use, and also continuous variables and ordinal variables. Note that the same variables are measured at each 6 week interval. 

 

I have been getting the following warning "An effect for the variable X is a linear combination of other effects. The coefficient of the effect will be set to zero in the imputation". This appears for almost all variables in the imputation model. I have used proc corr to check correlations of continuous variables and none are =1. Next I took each variable out one-by-one to see which one generated the error. I have been identified 3 variables (total 6 measured at different timepoints) that generate the warning. However, I am not sure how they might have a linear combination. These variables are simply just binary flags for  the presence of specific diagnosis at weeks 6 and 12. Note that if I put W6 only or w12 only, then there is no warning. The 2X2 table is below.

 

DBD_W6DBD_W12N
..11
0.80
00351
1.4
1117

 

ADHD_W6ADHD_W12N
..11
0.74
00330
1.10
1138

 

SEVERE_W6SEVERE_W12N
..11
0.84
00365
012
111

 

Another warning is "The maximum likelihood estimates for the FCS method logistic model for variable X in an iteration process may not exist. The resulting posterior predictive distribution of the parameters used in the imputation process is based on the maximum likelihood estimates in the last maximum likelihood iteration. the likelihood=augment option can be used to derive the last maximum likelihood estimates by using an augmented dataset" This is only generated for one variable. This is an ordinal variable (likert 7 point scale) which I have specified as FCS LOGISTIC (X/order=internal). What does this warning mean? and how should I fix it? I am not sure what it means to use a likelihood=augment option.

 

 

1 REPLY 1
ballardw
Super User

It is usually a good idea to post the code you are using along with the warning/error messages. Copy it all from the Log to be sure that the code reflects what was actually run. Paste into a code box opened using the forum's {I} icon to maintain formatting as the message windows will reformat text, sometime losing diagnostic information.

 

In the extremely limited example data you show, every non-missing value of DBD_W12 = DBD_W6. So those variables would be linearly related. Same with ADHD_W12 and ADHD_W6

 

You may want to revisit your Proc Corr. When I run a correlation using the posted values and counts for the DBD variables I get a correlation of 1 with p < 0.0001

SAS Innovate 2025: Save the Date

 SAS Innovate 2025 is scheduled for May 6-9 in Orlando, FL. Sign up to be first to learn about the agenda and registration!

Save the date!

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
  • 1 reply
  • 1514 views
  • 0 likes
  • 2 in conversation