<>
I thought so, too, but when I run this code,
**********
sysuse auto, clear
xi: bs: reg pr we i.rep
bs: xi: reg pr we i.rep
**********
Stata tells me for the second version that
"xi is allowed only as a prefix to bootstrap"
HTH
Martin
_______________________
----- Original Message -----
From: "Nick Cox" <[email protected]>
To: <[email protected]>
Sent: Wednesday, June 24, 2009 11:27 PM
Subject: st: RE: bootstrapping xtmixed
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
[email protected]
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/
*
* 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/