Label only part of the omitted variables with Stargazer

流过昼夜 提交于 2019-12-11 08:06:40

问题


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").

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?


回答1:


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.



来源:https://stackoverflow.com/questions/46621199/label-only-part-of-the-omitted-variables-with-stargazer

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