In research, we often have to figure out the number of unique observations- For a small set of data, you can of course just use the command cookbook. However, when you want to create a variable containing the unique number of observation by certain group then you can’t just use Continue Reading