Hello: I'm not sure this is going to be picked up on an old thread that had no replies, so I would like to re-address if able?
https://www.statalist.org/forums/for...oc#post1539751
I am hoping someone has this answer perhaps? I too am trying to figure out creating simple tables where the frequency and percentage appear in one row for each category. I cannot find how to do this as the table command seems to only allow the percentages and frequencies to be on different rows?
For example using the example table presented, I would like to create a table in similar formatting that says:
Instead of the original:
Please advise and thanks!
https://www.statalist.org/forums/for...oc#post1539751
I am hoping someone has this answer perhaps? I too am trying to figure out creating simple tables where the frequency and percentage appear in one row for each category. I cannot find how to do this as the table command seems to only allow the percentages and frequencies to be on different rows?
For example using the example table presented, I would like to create a table in similar formatting that says:
single | married | total | |
white | 487 (60.57%) | 1150 (79.75%) | 1637 |
Instead of the original:
singe | married | total | |
white (frequency) | 487 | 1150 | 1637 |
white (percent) | 60.57 | 79.75 |
Please advise and thanks!
Comment