Thomas wrote:
I am looking for an elegant way of producing an indexed frequency table.
In particular, I have observations on three variables:
ID var1 var2 var3
1 1 2 1
2 2 3 1
3 5 4 5
4 6 6 6
...
And I would like to produce a table showing only different patterns and
there observed frequencies, ie.
var1 var2 var3 frequency
First pattern 1 1 1 54
Second pattern 1 1 2 43
-------------------------------
Nick Cox did it:
. findit groups
Svend
________________________________________________________
Svend Juul
Institut for Folkesundhed, Afdeling for Epidemiologi
(Institute of Public Health, Department of Epidemiology)
Vennelyst Boulevard 6
DK-8000 Aarhus C, Denmark
Phone, work: +45 8942 6090
Phone, home: +45 8693 7796
Fax: +45 8613 1580
E-mail: [email protected]
_________________________________________________________
*
* For searches and help try:
* http://www.stata.com/support/faqs/res/findit.html
* http://www.stata.com/support/statalist/faq
* http://www.ats.ucla.edu/stat/stata/