Bookmark and Share

Notice: On March 31, it was announced that Statalist is moving from an email list to a forum. The old list will shut down on April 23, and its replacement, statalist.org is already up and running.


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

Re: st: AW: mim and parmest


From   raoul reulen <r.c.reulen@gmail.com>
To   statalist@hsphsun2.harvard.edu
Subject   Re: st: AW: mim and parmest
Date   Thu, 6 May 2010 12:05:37 +0100

Thanks Martin. Apparently there is an option in mim called "storebv"
(which I only just discovered) that let's you store the regression
coefficients in e(b) and e(V).

On 6 May 2010 11:56, Martin Weiss <martin.weiss1@gmx.de> wrote:
>
> <>
>
> Apparently, the coeffs reside in a matrix called "e(MIM_Q)":
>
> *************
> sysuse auto ,clear
> ice o.rep78  weight  length , clear m(3)
> mim: regress weight rep78 length
>
> mat l e(MIM_Q)
> *************
>
>
>
> HTH
> Martin
>
> -----Ursprüngliche Nachricht-----
> Von: owner-statalist@hsphsun2.harvard.edu
> [mailto:owner-statalist@hsphsun2.harvard.edu] Im Auftrag von raoul reulen
> Gesendet: Donnerstag, 6. Mai 2010 11:39
> An: statalist@hsphsun2.harvard.edu
> Betreff: st: mim and parmest
>
> Hi All
>
> After I imptuted some variables using ice I want to run a regression
> model using mim. I then want to save the regression coefficients to a
> Stata dataset. I get the error message "invalid estimates matrix:
> e(b)" "last estimates not found". Apparently mim does not save the
> regression coefficients to e(b). How can I save the regression
> commands to a Stata dataset after having used mim? See example below.
> Thanks,
>
> Raoul
>
>
> *---begin example---*
> sysuse auto ,clear
> ice o.rep78  weight  length , clear m(3)
> mim: regress weight rep78 length
> parmest , list(estimate min95 max95 )
> *---end example---*
> *
> *   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/
>



-- 
-------------------------------------------------------
Raoul C. Reulen
Cancer Research UK Training Fellow

*
*   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–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   Site index