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

st: RE: Keeping unsampled cases


From   "Nick Cox" <[email protected]>
To   <[email protected]>
Subject   st: RE: Keeping unsampled cases
Date   Fri, 19 Mar 2004 18:18:15 -0000

The flippant stock reply is "look 
in the bit bucket". That may or may not amuse -- see 
http://info.astrian.net/jargon/terms/b/bit_bucket.html

Three more positive takes on this: 

1. This problem is equivalent to sampling 
322 observations out of 372. 

2. If you are now going to say that you want both
sampled and unsampled, then check out say 
-swor- (use -search-). 

3. The FAQ at 
http://www.stata.com/support/faqs/stat/sampling.html
gives a fuller disussion. 

Nick 
[email protected] 

Clarence C. Gravlee, Ph.D.

> I have drawn a simple random sample, as follows:
> 
> use mamaq
> set seed 1829382
> sample 50, count
>  (372 observations deleted)
> 
> Now, I need to create a dataset of the unsampled cases (i.e., the 372
> deleted observations.  Can someone please suggest an 
> efficient way to do so?

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