Bookmark and Share

Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

st: RE: sampling with replacement


From   "Muganhu, Christopher (PG)" <[email protected]>
To   "[email protected]" <[email protected]>
Subject   st: RE: sampling with replacement
Date   Mon, 28 Jan 2013 18:41:47 +0000

Testing

________________________________________
From: [email protected] [[email protected]] on behalf of Alok K. Bohara [[email protected]]
Sent: 25 January 2013 15:30
To: [email protected]
Subject: st: sampling with replacement

Hello:

How can I use stata to draw a sample with replacement?

I have 4 tokens marked;   X4: (11, 21, 31, 41).  Say, I want to draw it randomly (with replacement) 100 times, and store (and save) them as a vector of X100.

Thanks
Alok Bohara
UNM

*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/faqs/resources/statalist-faq/
*   http://www.ats.ucla.edu/stat/stata/



Concerns about content should be sent to [email protected]<mailto:[email protected]>


*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/faqs/resources/statalist-faq/
*   http://www.ats.ucla.edu/stat/stata/


© Copyright 1996–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index