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.
7 May 2026
23 April 2026
14 April 2026
9 April 2026
27 March 2026
17 March 2026
13 March 2026
12 March 2026
9 September 2022
12 September 2022
Username or Email Address
Password
Remember Me