Is there a way to generate a confidence interval from a caret lm object?

北城余情 提交于 2019-12-05 09:11:30

Found out how to do this! caret objects do in fact store the original model, beneath a huge pile of metadata. You can access this model with my_model_name$finalModel. Thus, to find the confidence interval, you would call predict(my_model_name$finalModel, my_data, interval = "confidence").

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