I want to generate group-wise IDs for panel data set using STATA. If it is not possible than any other manner through which i can generate IDs for my panel data set in robust manner?
I am very new on Stata, I divide my panel data into groups regarding to firm size (small ,medium and large). Based on the total asset. So how we can run the GMM model for small medium and large size firm separately