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
Coefplot - plot Estimates on right axisDear Statalisters I am very fond of the flexible coefplot and use it to graph all my models these d…
Displaying percentages in bar graph (catplot)Hi, I am using catplot from SSC to graph the distribution of my sample (panel data), categorized by…
Produce a list of unique values (not using tab or list)I am wondering if there is a way to ask Stata to produce a list of a variables unique values. For ex…
How would you regress this without employing an independent variable?Analyzing the value of deals in joint ventures. Made two samples: domestic joint ventures per year, …
Categorize a group of countriesI have a 95 countries that I want to categorize them into High Income, Upper Middle Income, Lower Mi…
Subscribe to:
Post Comments (Atom)
0 Response to Running Bootstrap program to Implement Control Function Approach
Post a Comment