How can I run mice with a GAMM? #596
-
I try to impute a GAMM model but can not figure out how. I tried this:
When using method = ´norm.predict´ it runs with What is wrong? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 4 replies
-
You are trying to specify imputation models that are more complex than
Your choice would depend on the data at hand. |
Beta Was this translation helpful? Give feedback.
You are trying to specify imputation models that are more complex than
mice()
can handle. Generalised additive mixed models (GAMM) are not supported. The best advice that I can offer at the moment is to simplify your model in one of two ways:2l.pmm()
.Your choice would depend on the data at hand.