Cross Tabulation Stata. Crosstabulation tables show us a wealth of information on the relationship between the included variables. A crosstabulation is a two variable frequency distribution showing the number of times each pair of values occurs together.
The answer is to use the table command with the contents freq option. We have seen descriptive statistics and in this post i am going to highlight how to do a cross tabulation using more than two variables. That is if you resize the results window before running tabulate the resulting two way tabulation will take advantage of the available horizontal space.
One way tables two way tables.
Stata for unix console users can instead use the set linesize command to take advantage of this feature. When combined with the by prefix it can produce n way tables as well. Remarks are presented under the following headings. This is achievable by using the tabstat command one can specify the statistics to show and with the help of bysort command you can show cross tabulations involving more than one variable.