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
Related Posts with xtile
Uncertainty Indexi am trying to construct an uncertainty index using STATA and would like help with commands …
extract the year from an inconsistent string date variableHi everyone, I am having troubles extracting the year from my dateset. Some observations have the f…
Transforming datatableHi! I have a question about transforming my data table. I have a table with 3 variables: postal co…
Dummy variable omitted due to collinearityHello, I am doing a 3sls regression on int remittance and poverty among developing countries. So, fo…
Two-step system GMM estimationsHi all, I am trying to do a simulation of Canh, Binh, Thanh, &Schinckus (2020): https://www…
Subscribe to:
Post Comments (Atom)
0 Response to xtile
Post a Comment