Statalist


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

Re: st: RE: extract t-values


From   "Martin Weiss" <[email protected]>
To   <[email protected]>
Subject   Re: st: RE: extract t-values
Date   Thu, 6 Nov 2008 20:25:50 +0100

Maybe you should look at the links:


********
ssc inst parmest
sysuse auto, clear
reg p w rep g tr
parmest, saving(myfile, replace)
u myfile, clear
l
********

HTH
Martin
_______________________
----- Original Message ----- From: "Bastian Steingros" <[email protected]>
To: <[email protected]>
Sent: Thursday, November 06, 2008 8:16 PM
Subject: Re: st: RE: extract t-values


Well, I guess Mr Cox idea is quite good and efficient enough. I will be looking at your links later on.
thanks!

But having obtained the t-value, is there also a way to calculate/extract the corresponding p-value?



-------- Original-Nachricht --------
Datum: Thu, 6 Nov 2008 17:56:48 +0100
Von: "Martin Weiss" <[email protected]>
An: [email protected]
Betreff: st: RE: extract t-values

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: [email protected]
[mailto:[email protected]] On Behalf Of Bastian
Steingros
Sent: Thursday, November 06, 2008 5:48 PM
To: [email protected]
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/

--
Ist Ihr Browser Vista-kompatibel? Jetzt die neuesten
Browser-Versionen downloaden: http://www.gmx.net/de/go/browser
*
*   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–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index