Statalist The Stata Listserver


[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

RE: st: RE: how do i save the significance levels of coefficients after estimation?


From   "JP Azevedo" <[email protected]>
To   <[email protected]>
Subject   RE: st: RE: how do i save the significance levels of coefficients after estimation?
Date   Tue, 18 Apr 2006 12:23:24 -0300

Hello Ada,
Why don't you use the estimates store + estout combo? You could use it to
store the p-values of the coefficients. You could then export the stored
p-values, to a comma or tab delimited txt file, and latter import it back to
Stata. 
Cheers,
JP



-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of Ada Ma
Sent: Tuesday, April 18, 2006 12:09 PM
To: [email protected]
Subject: Re: st: RE: how do i save the significance levels of coefficients
after estimation?

Thanks for the suggestion.  I'm looping the estimation through
different samples, so often quite a (big) bunch of the variables got
dropped.  I'll need to think of a way to drop the variables or the
zeros from the matrices.

Cheers,
Ada



On 4/18/06, Maarten Buis <[email protected]> wrote:
> Probably the easiest way to do that is to not enter the dropped the
variables in the regression statement, and use the e(V) of that regression.
> HTH,
> Maarten
>
> -----------------------------------------
> Maarten L. Buis
> Department of Social Research Methodology
> Vrije Universiteit Amsterdam
> Boelelaan 1081
> 1081 HV Amsterdam
> The Netherlands
>
> visiting adress:
> Buitenveldertselaan 3 (Metropolitan), room Z214
>
> +31 20 5986715
>
> http://home.fsw.vu.nl/m.buis/
> -----------------------------------------
>
> -----Original Message-----
> From: [email protected]
[mailto:[email protected]]On Behalf Of Ada Ma
> Sent: dinsdag 18 april 2006 16:40
> To: [email protected]
> Subject: Re: st: RE: how do i save the significance levels of coefficients
after estimation?
>
> the estimation I did have lost of
> dropped variables, and when I tried to implement:
>
> mat se= vecdiag(cholesky(diag(vecdiag(e(V)))))'
>
> Stata replies saying:
> matrix not positive definite
> r(506);
>
> How can I trim the zeros from the e(b) and e(V) matrices before I
> perform the commands posted by Maarten?
>
>
>
> *
> *   For searches and help try:
> *   http://www.stata.com/support/faqs/res/findit.html
> *   http://www.stata.com/support/statalist/faq
> *   http://www.ats.ucla.edu/stat/stata/
>


--
Ada Ma
Research Fellow
Health Economics Research Unit
University of Aberdeen, UK.
http://www.abdn.ac.uk/heru/
Tel: +44 (0) 1224 553863
Fax: +44 (0) 1224 550926

*
*   For searches and help try:
*   http://www.stata.com/support/faqs/res/findit.html
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/

*
*   For searches and help try:
*   http://www.stata.com/support/faqs/res/findit.html
*   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