以下是引用king64在2008-4-25 13:37:00的发言:在STATA回归结果中,只给出t值小数点后两位数,如何增加到三位?
请指教!谢谢!
sysuse auto, clear
reg price mpg weight,robust
parmest,format(estimate min95 max95 %8.2f t %6.3f p %6.3f) list(,)
*======== 结果 ==========
. sysuse auto, clear
(1978 Automobile Data)
. reg price mpg weight,robust
Linear regression Number of obs = 74
F( 2, 71) = 14.84
Prob > F = 0.0000
R-squared = 0.2934
Root MSE = 2514
------------------------------------------------------------------------------
| Robust
price | Coef. Std. Err. t P>|t| [95% Conf. Interval]
-------------+----------------------------------------------------------------
mpg | -49.51222 95.8074 -0.52 0.607 -240.5468 141.5223
weight | 1.746559 .777837 2.25 0.028 .1955963 3.297522
_cons | 1946.069 4213.793 0.46 0.646 -6455.995 10348.13
------------------------------------------------------------------------------
. parmest,format(estimate min95 max95 %8.2f t %6.3f p %6.3f) list(,)
+----------------------------------------------------------------------------+
| parm estimate stderr dof t p min95 max95 |
|----------------------------------------------------------------------------|
1. | mpg -49.51 95.807401 71 -0.517 0.607 -240.55 141.52 |
2. | weight 1.75 .77783696 71 2.245 0.028 0.20 3.30 |
3. | _cons 1946.07 4213.7927 71 0.462 0.646 -6456.00 10348.13 |
+----------------------------------------------------------------------------+