Statalist


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

Re: st: Multi-way contingency tables in Stata


From   Kristian Karlson <kristian.karlson@gmail.com>
To   statalist@hsphsun2.harvard.edu
Subject   Re: st: Multi-way contingency tables in Stata
Date   Tue, 21 Apr 2009 15:10:14 +0200

I will have a look at the egen-command. Want I want is a 8-way
contingency table with cell-frequencies. This is a large table,
containing around 90,000 cells.

Thanks,
Kristian

2009/4/21 Richard Goldstein <richgold@ix.netcom.com>:
> The format you need is not clear, but it sounds like something you can do
> with the "group" function to the -egen- command
>
> Rich
>
> Kristian Karlson wrote:
>>
>> Dear expert users,
>>
>> I want to create a large, multiway contingency table in Stata. I need
>> to reduce the table for a latent class analysis in another program.
>> However, with the table and tabulate commands in Stata I only have the
>> opportunity to cross two variables. With the userwritten command
>> tab3way, I can cross three variables. However, I need to cross around
>> eight polytomous variables and get the output into a data file / text
>> file.
>>
>> Can anyone help me with this one?
>>
>> All the best,
>> Kristian
>
> *
> *   For searches and help try:
> *   http://www.stata.com/help.cgi?search
> *   http://www.stata.com/support/statalist/faq
> *   http://www.ats.ucla.edu/stat/stata/
>

*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/



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