30580 13

[数据管理求助] outreg2如何输出adj-R2呢 [推广有奖]

11
黃河泉 在职认证  发表于 2018-5-6 10:45:47
听见海涛声 发表于 2018-5-6 10:16
黄老师,您好;)

我做了一个OLS回归,想使用outreg2报告调整的R方。
试试
  1. sysuse auto, clear
  2. reg price mpg weight foreign
  3. outreg2 using "temp", word excel dec(3) replace
  4. reg price mpg weight foreign
  5. outreg2 using "temp", word excel dec(3) adds(adjusted R-squared, `e(r2_a)') append
复制代码

12
听见海涛声 发表于 2018-5-6 11:24:54
黃河泉 发表于 2018-5-6 10:45
试试
Amazing;)

Massive thanks!

Have a great weekend:)

13
黃河泉 在职认证  发表于 2018-5-6 11:26:20
听见海涛声 发表于 2018-5-6 11:24
Amazing;)

Massive thanks!
Piece of cake. What, exactly, are you eating? Ha! Ha!

14
听见海涛声 发表于 2018-5-6 11:59:07
黃河泉 发表于 2018-5-6 11:26
Piece of cake. What, exactly, are you eating? Ha! Ha!
Absolutely!

With your helpful advices, I am chewing reporting results with Stata for lunch now;).....

Salute!

您需要登录后才可以回帖 登录 | 我要注册

本版微信群
加好友,备注jltj
拉您入交流群
GMT+8, 2025-12-31 01:23