想请教一下各位,我想用tabstats和esttab进行描述性统计输出如下格式的word文档
Domestic Foreign Total
---------------------------------------------------
weight 3317.1 2315.9 3019.5
(695.4) (433.0) (777.2)
length 196.1 168.5 187.9
(20.05) (13.68) (22.27)
turn 41.44 35.41 39.65
(3.968) (1.501) (4.399)
---------------------------------------------------
N 74
--------------------------------------------------
具体命令如下:
sysuse auto
estpost tabstat weight length turn,by(foreign) ///
statistics(mean sd) columns(statistics) listwise
logout, save (myfile) word replace:esttab, main(mean) aux(sd) nostar unstack ///
obslast nonote nomtitle nonumber
在stata的显示框内显示是正确的格式,
但是用word打开myfile就发现标准差那列全都向左移动了一个位置,变成了如下形式,请问有何直接能使得打开word文档格式就正确的解决办法呢?
Domestic | Foreign | Total | |
weight | 3317 | 2316 | 3020 |
(695.4) | (433.0) | (777.2) | |
| | | |
length | 196.1 | 168.5 | 187.9 |
(20.05) | (13.68) | (22.27) | |
| | | |
turn | 41.44 | 35.41 | 39.65 |
(3.968) | (1.501) | (4.399) | |
N | 74 | | |
求解答啊~