Hi all,
I'm encountering issues recovering the estimated coefficients from an xtabond estimation for use in a postestimation bootstrapping procedure. I am using Stata 18. When I run the code below, I get the error message: "insufficient observations to compute bootstrap standard errors // no results will be saved r(2000)".
However, if I replace the xtabond estimation in the program above with a slightly different specification estimated using xtivreg, Stata provides the results without issue. I feel rather silly for asking this, but: can someone help me understand what I need to change in order to call and use the xtabond coefficient estimates in a postestimation bootstrap?
I'm encountering issues recovering the estimated coefficients from an xtabond estimation for use in a postestimation bootstrapping procedure. I am using Stata 18. When I run the code below, I get the error message: "insufficient observations to compute bootstrap standard errors // no results will be saved r(2000)".
Code:
gen temp2 = . program myel, rclass version 18 quietly xtivreg lmshr3 ebacc4 eb4_n6 excel4 ex4_n6 excel5 ex5_n2 mi_ks4 mi_ks5 i.year (fee_sc feeg = w1 w2 w3 w4 w5 w6 h1 h2 h3 h4 h5 h6 pw1 pw2 ph1 ph2 sw3 sw4 sh3 sh4 gw1 gw2 gw3 gw4 gw5 gw6 gh1 gh2 gh3 gh4 gh5 gh6 gpw1 gpw2 gsw3 gsw4 gph1 gph2 gsw3 gsw4) if cat_age>2, fe vce(robust) replace temp2 = _b[fee_scm] summarize temp2, meanonly return scalar e = r(mean) end bootstrap e = r(e), nodrop reps(10): myel0
Comment