Tool in Mylly: Simple statistics / Contingency tables as rows | fi

Contingency tables as rows

TODO how often some values where observed together and how often with something else

TODO four counts determine the other five

Input and output relations are represented as TSV files.

Parameters

  • attribute names for first combination
  • attribute names for second combination

Result

With X = x for the assertion that the first attributes X in the input relation have the particular values x, with X ≠ x for the assertion that they do not, and similarly with Y = y and Y ≠ y for the second attributes, the output relation has (for each observed combination x, y) the four schematically named counts cM12, cM1s, cMo2, cMos.

Y = y Y ≠ y Y = y Y ≠ y
X = x cM12 cM1s X = x cM12 cM1o cM1s
X ≠ x cMo2 cMos X ≠ x cMo2 cMoo cMos
cMs2 cMso cMss

The four numbers on the left determine the full table on the right.

The output attributes that correspond to the selected input attributes are named by appending to each input name a suffix (of1 or of2) to indicate whether the attribute belongs to X (the first selection) or to Y (the second selection).

Example

TODO add here a concrete example from Mylly. Say, word and deprel against head word in dependency triple. TODO!

Show a couple of records from an actual relation.

deptof1 relnof1 headof2 cM12 cM1o cMo2 cMoo
TODO TODO TODO TODO TODO TODO TODO
TODO TODO TODO TODO TODO TODO TODO

The first record represents the following table.

headof2 = TODO headof2 ≠ TODO
(deptof1, relnof1) = (TO, DO) TODO TODO
(deptof1, relnof1) ≠ (TO, DO) TODO TODO

The filled part of the table determines the remaining part.

Related tools

There should be tools to compute cooccurrence statistics from the contingency tables. TODO!

See also

  • Some link
  • Dunning?
Search the Language Bank Portal:
Harri Uusitalo
Researcher of the Month: Harri Uusitalo

 

Upcoming events


Contact

The Language Bank's technical support:
kielipankki (at) csc.fi
tel. +358 9 4572001

Requests related to language resources:
fin-clarin (at) helsinki.fi
tel. +358 29 4129317

More contact information