software.page.titleprefix
GSAMPLE: Stata module to draw a random sample

No Thumbnail Available

Date

2006-04-06

Authors

Jann, Ben

Journal Title

Journal ISSN

Volume Title

Publisher

Boston College Department of Economics

Abstract

gsample draws a random sample from the data in memory. Simple random sampling (SRS) is supported, as well as unequal probability sampling (UPS), of which sampling with probabilities proportional to size (PPS) is a special case. Both methods, SRS and UPS/PPS, provide sampling with replacement and sampling without replacement. Furthermore, stratified sampling and cluster sampling is supported.

Description

Keywords

Citation

Collections