Hello everyone,
I have a number of patents that are sorted by patent number. For some patents there are several observations in which the pnumber is the same.
I would now like to generate a variable that counts the number of observation per patentnumber. So lets say there are 3 observations for a unique patent number the value would be 3.
Can anyone help me with this? I am new to Stata. Thank you in advance
Best Regards
tumseb
I have a number of patents that are sorted by patent number. For some patents there are several observations in which the pnumber is the same.
I would now like to generate a variable that counts the number of observation per patentnumber. So lets say there are 3 observations for a unique patent number the value would be 3.
Can anyone help me with this? I am new to Stata. Thank you in advance
Best Regards
tumseb
Comment