Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.
From | Austin Nichols <austinnichols@gmail.com> |
To | statalist@hsphsun2.harvard.edu |
Subject | Re: st: Quick way to save matrices as estimation results? |
Date | Thu, 1 Nov 2012 11:34:54 -0400 |
Matthew Baker <matthew.baker@hunter.cuny.edu>: Try clear all prog def et, eclass if replay() { syntax [anything] [, EForm(string) Level(real 95) ] eret di, eform(`eform') level(`level') } else { args b V forv i=1/`=colsof(`b')' { loc c b`i' } mat colnames `b'=`c' mat colnames `V'=`c' mat rownames `V'=`c' ereturn post b V ereturn local cmd "et" ereturn local properties "b V" ereturn display } end mata: b=1,2,3 V=I(3) st_matrix("b",b) st_matrix("V",V) end et b V est store basemodel esttab On Thu, Nov 1, 2012 at 11:22 AM, Matthew Baker <matthew.baker@hunter.cuny.edu> wrote: > Listers -- > > My apologies...the previous mail I sent should have the above subject heading! > > Matt Baker * * For searches and help try: * http://www.stata.com/help.cgi?search * http://www.stata.com/support/faqs/resources/statalist-faq/ * http://www.ats.ucla.edu/stat/stata/