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"
Logistic regression with an interaction term of two predictor variables. It's correct to interpret non-significant coefficients?Hello, I am a bit curious about the interpretation of results given from: https://stats.idre.ucla.e…
How to test if the difference between two groups are significantly different from the difference between two other groups.Dear all, I am doing an interaction analysis with two factorial variables (informationtype and gend…
Importing fixed with data using infix - dictionary invalidHello, I am importing fixed with data from a .txt file. Here is my code: Code: cd "...\1973-09-t…
Logistic regression with an interaction term of two predictor variables? Do we can interpret non-significant coefficient?Hello, I am a bit curious about the interpretation of results given from: https://stats.idre.ucla.e…
Bonferroni Correction / False Discovery RateHi Statalisters, I have some questions about the bonferroni correction and False Discovery Rates. …
Subscribe to:
Post Comments (Atom)
0 Response to Ordering table by percent "yes"
Post a Comment