Hi statalisters,
I am using panel data, which are tsset. I am using some xt commands like
xtabond etc.
Now I want to bootstrap the sample and re-run the tests.
My problem:
STATA complains that my data are not tsset.
My code is:
bootstrap "xtabond vardep varexp, robust" _b[ld.vardep] _b[d.varexp]
_b[_cons], trace reps(100) cluster(id)
The trace gives back:
...
local tmax = r(tmax)
capture local id "`r(panelvar)'"
=capture local id ""
if "`id'"=="" {
= if ""=="" {
di as err "must tsset data and specify panelvar"
must tsset data and specify panelvar
However, I did tsset my data again and again. Any suggestions?
Thanks in advance
Niko
*
* For searches and help try:
* http://www.stata.com/support/faqs/res/findit.html
* http://www.stata.com/support/statalist/faq
* http://www.ats.ucla.edu/stat/stata/