Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我需要在同一张表中放入两个模型,在第二个模型中我需要更改默认置信区间。我知道 ci.custom 选项允许更改默认置信区间,但我想知道如何仅针对第二个模型更改它。
我尝试在选项中包含类似这样的内容,但没有奏效。
stargazer(fit1,fit2, align=TRUE, ci=TRUE, ci.level=0.95, ci.custom=list(NULL, changed.ci))
简单的方法是执行以下操作:
ci.custom=list(confint(fit1), changed.ci)