i am trying to see the distribution in my data.. i used the command xtile command and generated my quintile n(5).. what command should i run if i want to see the distribution of the variable x in different sectors or regions..
xtile variable x5=variable x,nq(5)
then i ran a tabstat variable x5 ; or tab variable x5..
will it be fine if i run
tab sector variable x5
tab sector variable x5 if region=1