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]

Re: st: mi estimate and adjusted means


From   Nick Cox <njcoxstata@gmail.com>
To   "statalist@hsphsun2.harvard.edu" <statalist@hsphsun2.harvard.edu>
Subject   Re: st: mi estimate and adjusted means
Date   Mon, 14 Apr 2014 15:55:13 +0100

-tabstat- and -adjust- are not e-class. You want to take your bicycle
on your motorway, but it has no engine.
Nick
njcoxstata@gmail.com


On 14 April 2014 15:46, Pesola, Francesca <francesca.pesola@kcl.ac.uk> wrote:
> Hi Listers,
>
> I am running a regression analysis using xtmixed where I adjust the outcome using baseline measures on data which I have imputed using mi ice.
>
> I don't seem able to combine the mi estimate command with tabstat/adjust commands - even after specifying the cmdok subcommand (below).
>
> xi: mi estimate: xtmixed fQPR_tot bQPR_tot i.Intervention  || team: , mle  cov(uns)
>
> mi estimate, cmdok: tabstat fQPR_tot, by(Intervention) stat(mean sdmean)
>
> mi estimate, cmdok: adjust bQPR_tot , by(Intervention ) se
>
> I receive the folloiwubg error message:
>
> matrix e(b) is not set
> matrix e(V) is not set
> r(301);
>
> is there any way around so that I can estimate adjusted means on the imputed data?
>
> Thanks,
> F
>
>
>
> *
> *   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/
*
*   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/


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