Get Unique Number of Observaitons in Stata
Aug 5, 2023
We discuss the methods to get unique number of observations in Stata. There are different methods of doing this i.e. codebook, contract, unique, distinct, levelof and a manual method. Each method have its own advantage.
00:00 Introduction to video
1:43 Using codebook command
3:48 Using contract command
6:27 Get the frequency, and percentage of unique observations
7:41 Distinct command in Stata
9:02 Unique Command in Stata
9:32 list of unique values
Website: thedatahall.com
As an Amazon Associate, I earn from qualifying purchases.
Show More Show Less #Demographics


