0

我正在使用missRanger 进行估算,然后将BRMS 应用于估算的数据集。BRMS 描述了如何使用该mice包,但missRanger 估算的数据却完全不同。

理想情况下,我会估算数据、合并数据、运行我的模型、运行模型比较。但是我不能再使用鼠标进行池化,它不起作用。所以相反,我在推算数据上运行多个模型,如下所示:

models_imputed <- brm_multiple(formula = score ~ 1 + cs(group), data = imputed, family = acat("cloglog"), combine=TRUE, chains=1)

但这很笨拙,如果我尝试在我的模型上做一个 LOO(我有 5 个),我会收到错误: Using only the first imputed data set. Please interpret the results with caution until a more principled approach has been implemented.

这不是missRanger本身的问题,更多的是我陷入了missRanger和BRMS之间的空间并且不知道如何让他们一起工作......希望有人可以提供建议!

谢谢

4

0 回答 0