GSAMPLE: Stata module to draw a random sample

Jann, Ben (6 April 2006). GSAMPLE: Stata module to draw a random sample (Statistical Software Components S456716). Boston College Department of Economics

[img] Archive (14 Aug 2014)
gsample.zip - Updated Version
Available under License BORIS Standard License.

Download (5kB)

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.

Item Type:

Working Paper

Division/Institute:

03 Faculty of Business, Economics and Social Sciences > Social Sciences > Institute of Sociology

UniBE Contributor:

Jann, Ben

Subjects:

300 Social sciences, sociology & anthropology

Series:

Statistical Software Components

Publisher:

Boston College Department of Economics

Language:

English

Submitter:

Ben Jann

Date Deposited:

30 Jun 2016 09:46

Last Modified:

30 Jun 2016 09:46

BORIS DOI:

10.7892/boris.69419

URI:

https://boris.unibe.ch/id/eprint/69419

Actions (login required)

Edit item Edit item
Provide Feedback