I'm currently using Stata for a research I'm doing and I have the following issue:
I have a column is the numbers 0 till 2103839 each row the following number (0, 1, 2, 3 etc). I would like to make a 2nd column that shows the hourID (0-60: 1, 61-120: 2, etc) how do I do this?
Thanks in advance
I have a column is the numbers 0 till 2103839 each row the following number (0, 1, 2, 3 etc). I would like to make a 2nd column that shows the hourID (0-60: 1, 61-120: 2, etc) how do I do this?
Thanks in advance
Comment