Statalist The Stata Listserver

[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: Re: Bootstrap error

From   Carl Nelson <>
Subject   st: Re: Bootstrap error
Date   Fri, 5 May 2006 06:48:06 -0500

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
  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 
Thanks again.

Carl Nelson
*   For searches and help try:

© Copyright 1996–2015 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index