|<pre>table v1 v2</pre>
create a two-way table<br> of ''v1'' in row† and ''v2'' in column†
|<pre>,statistics( )</pre>
|-
!tabulate
create a one-way table<br> of ''v1'' with '''detailed''' statistics
|<pre>tabulate v1 v2</pre>
create a two-way table<br> with ''v1'' in row† and ''v2'' in column†|<pre>,chi2</pre>Pearson's chi-squared test; <nowiki>*</nowiki>only for two-way<pre>,summarize(v3)</pre>'''detailed''' statistics for ''v3''
|-
!tabstat
create a one-way table of ''v1''<br> with detailed statistics
|<nowiki>*</nowiki>no two- or multiple-way table
|<pre>,statistics( )</pre>
<pre>,by(v3)</pre>
'''detailed''' statistics for each of ''v3''
|-
!summarize
|<pre>summarize v1</pre>
detailed statistics of ''v1''
|<nowiki>*</nowiki>no two- or multiple-way summary
|<pre>,detail</pre>
|}
† row = transverse direction, column = longitudinal direction