[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]
st: Re: modifying id code (p.s. bootstrapping)
--On Monday, October 14, 2002 2:33 -0400 Satyarth wrote:
i have to add "51" to all the id-codes in my dataset [variable "idcode" is
in the integer format]. can i convert it to string and add 51 at the end?
gen str?? newcode = string(idcode)+"51"
Fill in the ?? with the maximum length of the resulting code.
The + operator is overloaded to denote concatenation of strings. Thus you
could also do string(givenname)+" "+string(surname) although there are
other ways of doing that.
Re bootstrapping, I imagine Steve Stillman is right on target with the use
of 'cluster' in this context. But the buzzword 'block bootstrap' may be
useful to know, as there are many references to it (and elaborations, such
as the 'block-block bootstrap' in the literature. Try a search in IDEAS
Christopher F Baum, Boston College Economics, Chestnut Hill MA 02467 USA
* For searches and help try: