Hi,
I am new to state so i apologies if this is a amateur question.
I am trying to sort my data into quintiles by of one of the variables (KDPI) but i want to set the parameters of the the quintiles.
It doesn't matter how many of the variables are actually within each quintile parameter.
so far i have got
xtile KDPIquintile = KDPI nq (5)
tabstat age, stat(n mean sd), by (KDPIquintile)
But this doesn't let me choose which values of KDPI i want to use to split the data into 5 groups
any help would be great
thanks
I am new to state so i apologies if this is a amateur question.
I am trying to sort my data into quintiles by of one of the variables (KDPI) but i want to set the parameters of the the quintiles.
It doesn't matter how many of the variables are actually within each quintile parameter.
so far i have got
xtile KDPIquintile = KDPI nq (5)
tabstat age, stat(n mean sd), by (KDPIquintile)
But this doesn't let me choose which values of KDPI i want to use to split the data into 5 groups
any help would be great
thanks
Comment