Re: st: summary statistics

This has often been asked on Statalist, except as usual finding the
posts is easier with the right keywords.
e.g.
http://www.stata.com/statalist/archive/2012-01/msg00669.htmlhttp://www.stata.com/statalist/archive/2011-02/msg00445.html
etc. etc.
See -tabm- from -tab_chi- (SSC)
Also
SJ-5-1 st0082 . . . . . . . . . . . . . . . Tabulation of multiple responses
(help _mrsvmat, mrgraph, mrtab if installed) . . . . . . . . B. Jann
Q1/05 SJ 5(1):92--122
introduces new commands for the computation of one- and
two-way tables of multiple responses
Nick
On Sun, Sep 30, 2012 at 11:46 PM, Donald Spady <dspady@ualberta.ca> wrote:
> I need some help creating summary statistics.
> I have 18 variables HSS1- HSS18, all containing a maximum of 5 discrete responses (1 to 5)
> Is there a command that would create a table that looks like the following
> Col 1 Col2 Col 3 Col 4 Col5
> HSS1 n1 n2 n3 n4 n5
> HSS2 n1 n2 n3 n4 n5
> HSS3
> and so on
>
> Where n1 is the number of responses where the variable HSS(n) took the value 1 and n2 is the number of responses where the variable HSS(n) took the value 2, and so on for n3, n4, n5.
>
> I have looked in the manuals but have not come up with anything, nor have I seen this on Statalist.
*
* For searches and help try:
* http://www.stata.com/help.cgi?search
* http://www.stata.com/support/faqs/resources/statalist-faq/
* http://www.ats.ucla.edu/stat/stata/