STATA12中outreg2具体怎么使用,最好给出编程语句,谢谢!

2025-05-18 00:05:34
推荐回答(4个)
回答1:

举例如下:
其中,outreg之后接自己要输出到的目录及对应的文件名。replace表示替换之前doc中的内容,append表示在上一个回归结果的基础上追加回归结果。最终结果会为你显示变量名,显著性等。在使用之前记得确保自己的stata装好了outreg命令。
set more off
log using "D:\Documents\parttime\2814\CEOSAL2.log",replace
use "D:\Documents\parttime\2814\CEOSAL2.DTA", clear
reg lsalary age college grad comten ceoten sales profits mktval lsales lmktval comtensq ceotensq profmarg
outreg using"D:\Documents\parttime\2814\CEOSAL2.doc",replace
reg lsalary age grad comten ceoten sales profits mktval lsales lmktval comtensq ceotensq profmarg
outreg using"D:\Documents\parttime\2814\CEOSAL2.doc",append
reg lsalary age grad comten ceoten sales profits lsales lmktval comtensq ceotensq profmarg
outreg using"D:\Documents\parttime\2814\CEOSAL2.doc",append
log close

回答2:

outreg2 统计结果 using dd.docx,replace
stata数据分析结果可这么输出。
感谢采纳!
FRSS2233
V

回答3:

findit outreg2找到outreg2那行的网址点进去安装
就行了

回答4:

看datasheet