|
反正stata也是要写do文件
就行下面那样写。最后生成的rtf是word打开,xml是 excel打开,也很方便的
sysuse auto,clear
regress mpg foreign
outreg2 using myfile, excel word replace
regress mpg foreign weight
outreg2 using myfile, excel word
regress mpg foreign weight headroom
outreg2 using myfile, excel word
regress mpg foreign weight headroom trunk
outreg2 using myfile, excel word
regress mpg foreign weight headroom trunk length
outreg2 using myfile, excel word
regress mpg foreign weight headroom trunk length turn
outreg2 using myfile, excel word
regress mpg foreign weight headroom trunk length turn displacement
outreg2 using myfile, excel word
|