Dear Statlist users,
I tried to find a solution for this problem, but haven't found anything that will work. Only saw that there are many people with similar problem and that it has to do something with missing observations
I tried to drop missing observations (of mB variable, other variables that I used in "inflect" are not missing), and tried to use nodrop option, but still get "insufficient observations to compute bootstrap standard errors" message.
Any suggestions?
here is the code:
I also tried a simpler version (just in case)
both give the same error
thank you in advance
I tried to find a solution for this problem, but haven't found anything that will work. Only saw that there are many people with similar problem and that it has to do something with missing observations
I tried to drop missing observations (of mB variable, other variables that I used in "inflect" are not missing), and tried to use nodrop option, but still get "insufficient observations to compute bootstrap standard errors" message.
Any suggestions?
here is the code:
Code:
bootstrap inflect=(-1*(_b[mB]+_b[ttt_mB*1)/(2*(_b[mBsquared]+_b[ttt_mBsquared]*1))): sureg (Y1 x1 x2 x3 mB mBsquared ttt ttt_mB ttt_mBsquared i.year i.priority i.id) (Y2 x1 x2 x3 mB mBsquared ttt ttt_mB ttt_mBsquared i.year i.priority i.id)
Code:
bootstrap _b[mB] _b[ttt]: sureg (Y1 x1 x2 x3 mB mBsquared ttt ttt_mB ttt_mBsquared i.year i.priority i.id) (Y2 x1 x2 x3 mB mBsquared ttt ttt_mB ttt_mBsquared i.year i.priority i.id)
thank you in advance
Comment