Statalist


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

st: RE: extract t-values


From   "Nick Cox" <[email protected]>
To   <[email protected]>
Subject   st: RE: extract t-values
Date   Thu, 6 Nov 2008 16:53:34 -0000

. di _b[var1]/_se[var1] 

Nick
[email protected] 

Bastian Steingros

I want to extract the t-values from the table displayed below. To obtain
the coefficients is easy by programming gen coef1=_b[var1]

Is there also a command to extract the t-value of var1???

------------------------------------------------------------------------
------
dep_var |      Coef.       Std. Err.       t         P>|t|       [95%
Conf. Interval]
---------+--------------------------------------------------------------
------
   var1   |  -.0074074   .0008079     -9.168   0.000      -.0090039
-.0058109
   _cons |   4.711111   .2162561     21.785   0.000       4.283786
5.138436
------------------------------------------------------------------------
------

*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/



© Copyright 1996–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index