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"
FE with large T and small NI have a panel data of 17 countries over 37 years. I am planning to estimate it using a fixed effect…
Table1 errorHey everyone I am very new to STATA so bear with me. I am trying to create a table1 for my dataset …
Very easy question but troubleing me...Hi guys, I am a new STATA user and I want to ask a very amateur question about date and formatting. …
sample sizeDear all, I would like to calculate the sample size using the ROC AUC. my aim is to get and AUC of a…
How to locate the observations with string IDs sharing some substrings?For example, I want to change the values of observations for the variable "execution_location" inclu…
Subscribe to:
Post Comments (Atom)
0 Response to Ordering table by percent "yes"
Post a Comment