Hello,
I am trying to implement Wooldridge's control function approach and bootstrap both the first and second stage's using a program and I could use some help regarding the code. Thus far i have:
capture program drop boot
program boot, rclass
regress endogvar instrument controls
predict resid_cf, resid
regress dv controls endogvar endogvar*x1 endogvar*x2 resid_cf
end
bootstrap, reps(100) : boot
However, it returns:
Bootstrap replications (100)
----+--- 1 ---+--- 2 ---+--- 3 ---+--- 4 ---+--- 5
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx 50
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx 100
insufficient observations to compute bootstrap standard errors
no results will be saved
Could someone please advise?
Thank you in advance!
Related Posts with Running Bootstrap program to Implement Control Function Approach
Overlapping eventsHi There, I'm currently working with event-level data (i.e. multiple records/rows per subject) and …
Panel data: plotting advanced graphDear Statalist, I have an upcoming deadline and I have a huge problem I cannot solve, so any help wh…
view underlying numeric value of dateHi there Just wondering if there is a quick way to view the underlying numeric value of a date in a …
Why is stata reporting rounds not used in the analysis?Hi Statalist, I understand the question is vague so I hope the following details would make it clea…
Margins with interactions by groupDear all, I'm currently trying to analyze the interaction effects of regional health indicators (e.…
Subscribe to:
Post Comments (Atom)
0 Response to Running Bootstrap program to Implement Control Function Approach
Post a Comment