【问题标题】:Texreg is not showing me Rsquare and adjusted RsquareTexreg 没有显示 Rsquare 和调整后的 Rsquare
【发布时间】:2021-12-06 19:34:43
【问题描述】:

我有一个模型:

mixed.lmer.str.df

我正在使用 LmerTest。总结如下:

Summary 我想把它导出到乳胶, 问题是,与我在不同示例中看到的不同,即使我将所有参数设置为“真”,它仍然没有显示、条件和调整后的 Rsquare,尽管我在使用 Tab_Model 时可以看到它们。

代码:

mixed.lmer.str.df

总结(mixed.lmer.str.df)

tab_model(mixed.lmer.str.df)

texreg(mixed.lmer.str.df,booktabs = TRUE, include.aic = TRUE, include.bic = TRUE, include.dic = TRUE,include.deviance = TRUE, include.loglik = TRUE,include.nobs = TRUE,include.groups = TRUE,include.variance = TRUE)

texreg output

你能告诉我是什么问题吗?

【问题讨论】:

  • 你能分享你的texreg::extract()代码吗?
  • 您需要显示生成输出的代码。
  • mixed.lmer.str.df

标签: r latex lme4 texreg


【解决方案1】:

查看texregextract.lme4()here的实现。

该实现不处理 include.rsquared 参数,因此您可能看不到输出变化的原因是它默默地忽略了该参数。

【讨论】:

  • 谢谢乔希。没错,我没有注意到这一点;但现在我尝试了其他参数,但它们也没有显示 R2 和 adj R2。
猜你喜欢
  • 1970-01-01
  • 1970-01-01
  • 2021-11-16
  • 2017-01-24
  • 2018-01-09
  • 2021-07-16
  • 2011-03-03
  • 1970-01-01
  • 1970-01-01
相关资源
最近更新 更多