使用Stargazer仅标记部分省略的变量 [英] Label only part of the omitted variables with Stargazer

查看:191
本文介绍了使用Stargazer仅标记部分省略的变量的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

使用stargazer,我想从报告中省略一些控制变量.我想标记其中一些,而不标记其余(或将它们全部分组在其他控制变量"下).

Using stargazer, I want to omit some of the control variables from the report. I want to label some of them, while not labeling the rest (or group them all under "Other control variables").

omitomit.labels的长​​度应相同,因此忽略某些变量将不会起作用.有什么办法吗?

omit and omit.labels should be of the same length, so just ignoring some of the variables won't do. Is there any way to do that?

推荐答案

找到了一种方法.使用omitomit.label表示要声明的省略变量(FE等),使用keep表示要保留在报告中的唯一变量.所有其他变量都不会在导出的报告中提及.

Found a way to do it. Use omit and omit.label for the omitted variables you want to state (FE etc.), use keep to state the only variable you wish to keep in the report. All other variable won't be mentioned in the exported report.

这篇关于使用Stargazer仅标记部分省略的变量的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆