最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

r - Modelsummary package does not show F Value - Stack Overflow

programmeradmin3浏览0评论

I try to use the modelsummary package to get regression tables but it does not show the F value.

When i try to reproduce the example code from .html

it does not work either.


library(gt)
library(kableExtra)
library(modelsummary)



url <- '.csv'
dat <- read.csv(url)


models <- list(
  
  "OLS 1"     = lm(Donations ~ Literacy + Clergy, data = dat),
  "Poisson 1" = glm(Donations ~ Literacy + Commerce, family = poisson, data = dat),
  "OLS 2"     = lm(Crime_pers ~ Literacy + Clergy, data = dat),
  "Poisson 2" = glm(Crime_pers ~ Literacy + Commerce, family = poisson, data = dat),
  "OLS 3"     = lm(Crime_prop ~ Literacy + Clergy, data = dat))


modelsummary(models)

If i run a single model and use get_gof it does not show the F-Value. If i use the stargazer package as an alternative there are no problems to show the desired value but the stargazer output table do not look very nice if i render my quarto file.

发布评论

评论列表(0)

  1. 暂无评论