Contingency table as data

Posted on
Picture of user. wuhao_osu Joined: 09/07/2010
Hi,

Is there an efficient way to input contingency tables as data? mxData does not seem to allow such a structure. If the raw data must be input, is there a way to assign multiple counts to an individual case? Thanks.

Hao

Replied on Wed, 08/17/2011 - 11:53
Picture of user. Ryne Joined: 07/31/2009

Not yet, no.

The default ordinal optimization doesn't reintegrate when rows are identical (which is why we sort the data). Tim can talk more about that, but it does mean that we do as many operations "once per data pattern" as possible.

If you're working on something in AlgebraObjective or RowObjective, you could always use the frequency of a particular row as a definition variable.

Replied on Wed, 08/17/2011 - 16:25
Picture of user. wuhao_osu Joined: 09/07/2010

In reply to by Ryne

Thanks, Ryne, for your quick reply.

One related question, is omxMnor and omxAllnt valid functions to appear in mxAlgebra? It is not listed in help document of mxAlgebra, but Mike seems to have used it in a talk given March 2010.

Thanks.

Hao