Basic Examples (2)
Basic Examples
(2)
Here is an array of random integer-word pairs:
In[1]:=
SeedRandom[4];iwPairs=Transpose[{RandomInteger[5,200],RandomChoice[RandomWord[5],200]}];Short[iwPairs]
Out[3]//Short=
{{2,dispose},{3,prosecutor},{3,dramatize},{3,skein},{1,dispose},190,{1,skein},{0,skein},{4,prosecutor},{3,skein},{2,dramatize}}
Compute the contingency table:
In[4]:=
Out[4]=
———
Here is a , the first two columns of which are categorical columns and the third column which is numeric:
In[5]:=
dataset=Dataset[{<|"a"1,"b""x","c"5|>,<|"a"2,"b""y","c"6|>,<|"a"3,"b""z","c"4.5|>,<|"a"1,"b""x","c"10|>,<|"a"2,"b""y","c"100|>,<|"a"3,"b""z","c"Missing[]|>}]
Out[5]=
Compute the contingency table:
In[6]:=
Out[6]=
Scope (5)
Scope
(5)
Options (2)
Options
(2)
Applications (13)
Applications
(13)
Properties and Relations (6)
Properties and Relations
(6)
Possible Issues (4)
Possible Issues
(4)
Neat Examples (1)
Neat Examples
(1)