I am working on the distribution of one variable by quintile.
sysuse auto, clear
xtile quin= weight, nq(5)
pctile a= weight,nq(5)
tab a
graph bar price, over(quin)
I do not know whether is possible to use quintile cutoffs values (as labels instead of 1,2,..,5
sysuse auto, clear
xtile quin= weight, nq(5)
pctile a= weight,nq(5)
tab a
graph bar price, over(quin)
I do not know whether is possible to use quintile cutoffs values (as labels instead of 1,2,..,5
Comment