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
How to use 'local' for grouping control variables in multiple regressionsDear all, I'm running multiple regression with the same set of controls. I use "local" command so t…
space, global variable and combine graphsDear Statalists, I tried to use Stata command grc1leg2 in Stata 15 to combine several graphs. I have…
Latent variable scoreDear Stata users, could someone tell me how to estimate the latent variable score for a first-order…
Stata16.0 the code of spmapDear all, I am using the code of spmap by Stata SE 16.0,but here some problems. The example data are…
Dummy interaction term is endogenousHi, I have unbalanced panel data I have a model in which the main independent variable and the inte…
Subscribe to:
Post Comments (Atom)
0 Response to xtile
Post a Comment