|
I have the above panel dataset for demonstration purpose and I would like to count the unique/ distinct ids in the size_group==1, during the year 1991. For example, in the year 1991, there are 2 unique ids(a,b) that comes under size_group==1.
I tried
Code:
count if size_group==1
Any help in this regard will be highly helpful
0 Response to couting unique observation
Post a Comment