Bookmark and Share

Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.


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

st: rename estimate coefficients: ereturn repost


From   Johannes Breckenfelder <Johannes.Breckenfelder@hhs.se>
To   "statalist@hsphsun2.harvard.edu" <statalist@hsphsun2.harvard.edu>
Subject   st: rename estimate coefficients: ereturn repost
Date   Wed, 23 Jan 2013 16:30:46 +0000

 

Dear Statalist,

 

I’m in urgent need of help. I’ve got stuck with this for days now and can’t figure out what goes wrong…

 

I would like to create a multi-column table with outreg2 from stored estimates. There are no labels stored with the estimates, just the b V. For each stored set of estimates, I run:

 

program disp, eclass

                             ereturn post b V

                             matrix betass=e(b)

                             matrix colnames betass = "aa" "bb" "cc" "DD" "ee" "ff"

                             mat list betass

                             ereturn repost b = betass, rename

end

 

Every step seems to produce the desired outcome, except the last one: ereturn repost b = betass, rename.

 

Where is my coding/conceptual error?

 

Thank you very much in advance!

 

Jay

 

 



© Copyright 1996–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index