|-
!table
|'''table factorA sex'''[[file:table_factorA_sex.jpg]]
|rowspan="2"|Both creates the same table<br> but '''tabulate''' is better visualized
|-
!tabulate
|'''tabulate sex, by(factorA)'''[[file:tabulate_factorA_sex.jpg]]
|-
!tabstat
|'''tabstat sex, by(factorA)'''[[file:tabstat_sex_by(factorA).jpg]]
|rowspan="2"|Both reports mean<br> but '''summarize''' is more detailed;<br>needs '''bysort''' option before the command
|-
!summarize
|'''bysort factorA: summarize(sex)'''[[file:summarize_sex_bysort_factorA.jpg]]
|}