Bookmark and Share

Notice: On March 31, it was announced that Statalist is moving from an email list to a forum. The old list will shut down at the end of May, and its replacement, statalist.org is already up and running.


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: st: summary statistics


From   Nick Cox <njcoxstata@gmail.com>
To   statalist@hsphsun2.harvard.edu
Subject   Re: st: summary statistics
Date   Mon, 1 Oct 2012 01:43:24 +0100

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.html
http://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/


© Copyright 1996–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   Site index