Jann, BenBenJann2024-10-232024-10-232006-04-06https://boris-portal.unibe.ch/handle/20.500.12422/133674gsample 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.en300 - Social sciences, sociology & anthropologyGSAMPLE: Stata module to draw a random samplesoftware10.7892/boris.69419