Contingency table as data

3 replies [Last post]
wuhao_osu's picture
Offline
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

Ryne's picture
Offline
Joined: 07/31/2009
Not yet, no. The default

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.

wuhao_osu's picture
Offline
Joined: 09/07/2010
omxMnor usable in mxAlgebra?

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

mspiegel's picture
Offline
Joined: 07/31/2009
Yes, omxMnor and omxAllInt

Yes, omxMnor and omxAllInt are available.