Quantcast
Channel: The Stata Blog - Latest Comments
Viewing all articles
Browse latest Browse all 1128

Re: Customizable tables in Stata 17, part 1: The new table command

$
0
0

The new tables command is wonderful. I'm stuck on one thing, the grand total.

This command below produces a table with a row total and column total, but the grand total is missing.

table ( sex race ) ( highbp diabetes ) (), totals(highbp#diabetes sex#race)

https://uploads.disquscdn.c...

I tried a four way interaction, but that didn't work. I don't want all totals, because that would give subtotals for each variable and increase the size of the table too much.


Viewing all articles
Browse latest Browse all 1128

Trending Articles