I'm pretty new to STATA and this is probably a silly question, but I can't seem to find the answer anywhere and have been playing with it for a while.
I have geographic zones where surveys were completed. I was able to sort my table by zone, but I want to sort it so that the ones with the highest percent of "Yes" responses come first. I essentially want to summarize which zones were the most responsive. You can view my table below.
Further, if you have advice on how to better present the most responsive zones in a succinct table, I would love the input
Thanks
tab zone revsurveycompleted, row
+----------------+
| Key |
|----------------|
| frequency |
| row percentage |
+----------------+
| Survey completed
Zone | Yes Missing | Total
-----------+----------------------+----------
1 | 3 6 | 9
| 33.33 66.67 | 100.00
-----------+----------------------+----------
2 | 4 12 | 16
| 25.00 75.00 | 100.00
-----------+----------------------+----------
3 | 2 21 | 23
| 8.70 91.30 | 100.00
Related Posts with Ordering table by percent "yes"
for loopshello, im trying to split a huge data set into about 400 files so that i can run an analysis on the…
InequalityHello What age should be considered in order to calculate the number of children and the number of a…
Mixed results of datas in normality testI have a data set with datas satisfying normality and for few of the variables, it doesn't. Please s…
Mean of Predictions (Point Estimates)Hey guys, I was hoping you would help me clarify a post-estimation issue I am having in stata. Assum…
Reshaping Long to Wide when the ID is Not UniqueHi Everyone, I have Stacked on how to manipulate my data to make the Reshape Command Works. In my c…
Subscribe to:
Post Comments (Atom)
0 Response to Ordering table by percent "yes"
Post a Comment