Skip to content
Lesson

Lesson 2: Simple Random Sampling in Stata

12 September 2022

There are multiple ways to take a random sample in Stata. Here we cover two of the most common approaches: A manual approach involving a random number variable, and a more direct approach involving the user-written command gsample.