Statalist


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

st: RE: extract t-values


From   "Martin Weiss" <martin.weiss1@gmx.de>
To   <statalist@hsphsun2.harvard.edu>
Subject   st: RE: extract t-values
Date   Thu, 6 Nov 2008 17:56:48 +0100

BTW, your -gen- statement is probably not the most expedient way to achieve
what I assume you want. You might want to look into -local-s or -scalar-s
for more efficient storage. Or indeed -ssc d parmest- which simplifies this
task greatly...


HTH
Martin


-----Original Message-----
From: owner-statalist@hsphsun2.harvard.edu
[mailto:owner-statalist@hsphsun2.harvard.edu] On Behalf Of Bastian Steingros
Sent: Thursday, November 06, 2008 5:48 PM
To: statalist@hsphsun2.harvard.edu
Subject: st: extract t-values

Hi Stata users,

does anybody know a ansver to this problem:

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
----------------------------------------------------------------------------
--

thanks 

B
-- 
"Feel free" - 10 GB Mailbox, 100 FreeSMS/Monat ...
Jetzt GMX TopMail testen: http://www.gmx.net/de/go/topmail
*
*   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/

*
*   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–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index