Stata The Stata listserver
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: sample


From   "Hans J. Baumgartner" <[email protected]>
To   [email protected]
Subject   st: sample
Date   Thu, 16 Dec 2004 11:09:32 +0100

Dear statalist,

Has anybody on the list some experience to share on drawing a random sample?

How important is it that the data is not sorted before the sample is drawn? Which mistakes can be made? Etc.

I am using the following command:

set seed 123456789
sample 4000, count

What is the set seed making really and which impact has the number I am setting?

Thanks for all shared experiences on this.
Hans

--
Hans J. Baumgartner DIW Berlin
German Institute for Economic Research
Dept. Public Economics
K�nigin-Luise-Str. 5; 14195 Berlin; Germany
Tel.: +49/30/89789-307
Fax.: +49/30/89789-114
http://www.diw.de
http://www.hansbaumgartner.de

*
* 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/




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