Statalist


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

RE: st:matrices(in saved results post regression)not found


From   "Martin Weiss" <[email protected]>
To   <[email protected]>
Subject   RE: st:matrices(in saved results post regression)not found
Date   Tue, 19 Aug 2008 16:59:18 +0200

Estimation results are quite ephemeral unless you - estimates store - them. If all you want is a particular scalar or matrix, save the matrices the way listers have suggested or the scalars in -local-s.

HTH 
Martin

-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Man Jia
Sent: Tuesday, August 19, 2008 4:47 PM
To: [email protected]
Subject: Re: st:matrices(in saved results post regression)not found

Hi Steven,

Thanks a lot! I tried what you suggested. It works perfectly!

So, is it true that for all the saved results after estimation, the 
result saved is just temporarily saved? If it's not operated 
additionally, like in this example, define and rename it, it'll 
disappear?

Thanks a lot!
Mandy

Steven Proud wrote:


>Try this  reg y x1 x2
>matrix b=e(b)
>svmat b, names(reg)
>
>matrix V=e(V)
>svmat V, names(variance)
>

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