I want to create variable id containing 1, 2, 3, ... Type . gen id = _n. _n is the Stata way of referring to the observation number. In a 10-observation dataset ...
DOWNLOAD: https://byltly.com/2f8s6r
DOWNLOAD: https://byltly.com/2f8s6r
stata-count-by-group
939c2ea5af
Comments