2

I'm doing an estimation using a lot of dummy variables. However I am not interested in the estimation coefficient of some dummy variable. I use them just for controling other variables. I just want to specify that I have used them

I would like to know if I could get a setting like the following by using stargazer: ?

                   Reg 1       Reg 2

| covariates 1  |     21***   20 *** 
                    (0.2)     (0.12)

| covariate 2   |     0.5     0.3***
                     (0.4)    (0.13)

|dummmy variable|    No        Yes  
4

1 回答 1

2

可以使用 stargazer 中的 3 个选项进行此设置,即,

省略
omit.labels省略
.yes.no=c("Yes","No")

这是参考

代码听起来像:
stargazer(Reg1, Reg2, omit="dummyVariable", omit.label="dummy variable", omit.yes.no=c("Yes", "No"))

以下是一些有用的参考资料:

省略交互

针织包。对观星者非常有用

于 2014-03-19T20:26:36.407 回答