Florian Wakolbinger <[email protected]>:
One way is to -keep x-, -bsample-, -rename x y-, and -merge- the real
data back on:
http://www.stata.com/statalist/archive/2006-11/msg00918.html
On Thu, Feb 26, 2009 at 2:00 PM, Florian Wakolbinger
<[email protected]> wrote:
> Dear all,
>
> is it possible to randomly draw numbers out of a variable x and write it
> into another variable y
>
> i.e. if
>
> x
> 1
> 2
> 3
> 4
> 5
>
> then y could be, for instance
>
> y
> 3
> 5
> 3
> 2
> 4
>
> all numbers in y are randomly drawn from x. how is it possible to construct
> such a variable y in stata?
>
> thanks, and kind regards
> florian
>
*
* For searches and help try:
* http://www.stata.com/help.cgi?search
* http://www.stata.com/support/statalist/faq
* http://www.ats.ucla.edu/stat/stata/