Statalist


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

st: RE: bootstrapping xtmixed


From   "Nick Cox" <n.j.cox@durham.ac.uk>
To   <statalist@hsphsun2.harvard.edu>
Subject   st: RE: bootstrapping xtmixed
Date   Wed, 24 Jun 2009 22:27:36 +0100

I'd put -bootstrap- on the outside. In essence you want to -bootstrap-
-xtmixed- under -xi-, so the order of commands is important. 

If that fails, create your interactions first. 

Nick 
n.j.cox@durham.ac.uk 

John Antonakis

When I run the following, it works fine:
xi: xtmixed y sr_hat sal equity  i.industry i.country i.year if ceo != 
136 & ceo!= 200 || ceo : ,

However, when I bootstrap it I get:
. xi: bootstrap, reps(500): xtmixed y sr_hat sal equity  i.industry 
i.country i.year if ceo != 136 & ceo!= 200 || ceo : ,
i.industry        _Iindustry_0-9      (naturally coded; _Iindustry_0 
omitted)
i.country         _Icountry_0-19      (naturally coded; _Icountry_0
omitted)
i.year            _Iyear_1-7          (naturally coded; _Iyear_1
omitted)
200| invalid name
r(198);

Same problem when using the jacknife. I wonder why I am getting this
error.


*
*   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   |   What's new   |   Site index