Convert model averaging results from MuMin to plot in visreg or effects packages

百般思念 提交于 2020-01-16 04:26:30

问题


I'm using MuMin to perform model averaging using glmmTMB to build the global model, which all works fine.

I would then like to produce effect displays of results using the visreg or effects package. Both of these work fine on regular models produced using glmmTMB but not with the results of model averaging.

I appreciate the output from avg.model in MuMin is a list of component models and coefficients, which isn't compatible with visreg or effects. I've tried taking a summary of the averaged model, which looks more like the regular output from glmmTMB but that doesn't work either:

mysum<- summary(avg.model)

I was therefore wondering if there's any way to convert, reformat or otherwise produce output from an averaged model into an equivalent glmmTMB format that is compatible with packages such as visreg etc.?

I'm not sure if this can be done but, if not, it's a pity that output from model averaging can't somehow be used with packages that accept output from regular glmm's, glm's etc.
Any help or ideas appreciated! Thanks, Rich

PS Sorry if this is in the wrong forum, it felt more like software than stats.

来源:https://stackoverflow.com/questions/56924967/convert-model-averaging-results-from-mumin-to-plot-in-visreg-or-effects-packages

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!