Statalist


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

Re: RE: st: retrieve t values & syntax " ' ' "


From   "Martin Weiss" <[email protected]>
To   [email protected]
Subject   Re: RE: st: retrieve t values & syntax " ' ' "
Date   Sat, 14 Mar 2009 19:06:35 +0100

 xtreg ln_w grade age* ttl_exp* tenure* black not_smsa south, fe
 
mata
	mata clear
	Y=(st_matrix("e(b)")',diagonal(sqrt(st_matrix("e(V)"))))
	Y=(Y, Y[.,1]:/Y[.,2])
	Y=(Y,2*ttail(st_numscalar("e(df_r)"),abs(Y[.,3])))
	st_matrix("mymat",Y)
end

mat l mymat

-------- Original-Nachricht --------
> Datum: Sat, 14 Mar 2009 13:00:37 +0000 (GMT)
> Von: Maarten buis <[email protected]>
> An: stata list <[email protected]>
> Betreff: RE: st: retrieve t values & syntax " \' \' "

> 
> --- James Ferng wrote:
> > I have two problems:
> >
> > (1) How can I retrieve the t values after running xtreg instead e(V)?
> > (2) To use "foreach" or "forvar", what is the syntax " ' ' " on the 
> > keyboard of Apple computer?
> 
> The answer to the first question can be found in Buis (2007). 
> 
> Buis, Maarten L. (2007) "Stata tip 54: Where did my p-values go?", The
> Stata Journal, 7(4): 584-586. 
> http://www.stata-journal.com/article.html?article=st0137
> 
> A pre-publication draft can be found here:
> http://home.fsw.vu.nl/m.buis/wp/pvalue.html
> 
> I do not understand the second question, so I can't comment on that.
> 
> Hope this helps,
> Maarten
> 
> -----------------------------------------
> Maarten L. Buis
> Institut fuer Soziologie
> Universitaet Tuebingen
> Wilhelmstrasse 36
> 72074 Tuebingen
> Germany
> 
> http://home.fsw.vu.nl/m.buis/
> -----------------------------------------
> 
> 
>       
> 
> *
> *   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/

-- 
Martin Weiss
Hackersteigle 3
72076 Tübingen
00497071/793535
00491784597218

Psssst! Schon vom neuen GMX MultiMessenger gehört? Der kann`s mit allen: http://www.gmx.net/de/go/multimessenger01
*
*   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