My apologies to the list for wasted bandwidth and thanks to
Jeff for his solution.
In my previous response to Jeff' solution
do leekuznets
. program kuznets, rclass
1. tsset newid year
2. args lnSEC lnGDPC lnGDPC2
3. xtabond2 lnSEC l1.lnSEC lnGDPC lnGDPC2, gmm
(l1.lnSEC) iv(lnGDPC lnGDPC2)
4. return scalar kuz = exp(-_coef[lnGDPC]/(2*_coef
[lnGDPC2]))
5. end
.
. bootstrap kuz = r(kuz), reps(200) idcluster(newid) cluster
(countrycode) noisily: kuznets
I left out gen newid = countrycode
before the program. When I added that line,which shoudl have
been there in the first place, the bootstrap runs as
expected.
Thanks again.
Carl Nelson
*
* 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/