Hi there
I want to group a continuous variable (var). My code syntax is as follows:
egen vargrp = cut(var), at(10,20,30)
However, I want to cut into groups of 10 way beyond 30 (up to about a thousand). Is there any quick way I can do this without having to list 10,20,30,40,50,60.... etc?
Thanks
I want to group a continuous variable (var). My code syntax is as follows:
egen vargrp = cut(var), at(10,20,30)
However, I want to cut into groups of 10 way beyond 30 (up to about a thousand). Is there any quick way I can do this without having to list 10,20,30,40,50,60.... etc?
Thanks
Comment