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
Latent Class Model on a Mixture-Amount Discrete Choice ExperimentHello I performed a discrete choice experiment which included 8 mixtures terms (the proportions of …
Summary table (specifically standard deviation) for ANOVA commandI am trying to get a summary table for my anova command (like the subcommand tabulate does when you …
Estimating incidence rates from Poisson and marginsHi Stata users I've asked beforre, but realize that my post may have been unclear, so hopefully I c…
If-Else IssueHello All, I have a rather interesting issue. I am attempting to use some if-else statements for so…
generating new variableHello members, Please i want to generate a new variable "marital status" to have categories "1. Mari…
Subscribe to:
Post Comments (Atom)
0 Response to xtile
Post a Comment