Mosaic displays: Sample data sets

Each table shows the residuals from a null model (mutual independence) by color and shading.
Datasets: [ abortion | bartlett | berkeley | cesarean | divorce | employ | haireye3 | haireye2 | heartdisease| suicide | titanic ]
Abortion opinion data
Status
Lo Hi
Sex
Support Abortion Female Male Female Male Total
Yes 171 152 138 167 628
No 79 148 112 133 472
Total 250 300 250 300 1100

Model: MUTUAL:[Sex][Status][Support] Chisq (4): 18.72
Color coding: < -8 < -4 < -2 < -1 0 >1.0 >2.0 >4.0 >8.0
n in each cell: n < expected n > expected


Bartlett data
Time
Now Spring
Alive?
Length Alive Dead Alive Dead Total
Long 156 84 84 156 480
Short 107 133 31 209 480
Total 263 217 115 365 960

Model: MUTUAL:[Alive?][Time][Length] Chisq (4): 141.05
Color coding: < -8 < -4 < -2 < -1 0 >1.0 >2.0 >4.0 >8.0
n in each cell: n < expected n > expected


Berkeley Admissions Data
Admission Status
Admitted Rejected
Gender
Dept Male Female Male Female Total
A 512 89 313 19 933
B 353 17 207 8 585
C 120 202 205 391 918
D 138 131 279 244 792
E 53 94 138 299 584
F 22 24 351 317 714
Total 1198 557 1493 1278 4526

Model: MUTUAL:[Gender][Admissio][Dept] Chisq (16): 2000.33
Color coding: < -8 < -4 < -2 < -1 0 >1.0 >2.0 >4.0 >8.0
n in each cell: n < expected n > expected


Risk factors for infection in cesarean births
Infection
Risk? Antibiotics Planned Type 1 Type 2 None Total
YesYesYes 0 1 17 18
No 0 1 1 2
YesNo 11 17 30 58
No 4 4 32 40
YesYesNo 4 7 87 98
No 0 0 0 0
YesNo 10 13 3 26
No 0 0 9 9
Total 29 43 179 251

Model: MUTUAL:[Infectio][Risk?][Antibiot][Planned] Chisq (18): 233.12
Color coding: < -8 < -4 < -2 < -1 0 >1.0 >2.0 >4.0 >8.0
n in each cell: n < expected n > expected


Pre/Extramarital Sex and Marital Status
Marital
Extramarital Premarital Gender Divorced Married Total
YesYesWomen 17 4 21
No 54 25 79
YesNo 36 4 40
No 214 322 536
YesYesMen 28 11 39
No 60 42 102
YesNo 17 4 21
No 68 130 198
Total 494 542 1036

Model: MUTUAL:[Marital][Extramar][Premarit][Gender] Chisq (11): 270.14
Color coding: < -8 < -4 < -2 < -1 0 >1.0 >2.0 >4.0 >8.0
n in each cell: n < expected n > expected


Employment Status Data
LengthEmploy
EmployStatus Layoff <1 Mo 1-3 Mo 3-12 Mo 1-2 Yr 2-5 Yr >5 Yr Total
NewJobClosure 8 35 70 62 56 38 269
Unemployed 10 42 86 80 67 35 320
NewJobReplaced 40 85 181 85 118 56 565
Unemployed 24 42 41 16 27 10 160
Total 82 204 378 243 268 139 1314

Model: MUTUAL:[LengthEm][EmploySt][Layoff] Chisq (16): 209.50
Color coding: < -8 < -4 < -2 < -1 0 >1.0 >2.0 >4.0 >8.0
n in each cell: n < expected n > expected


Hair color - Eye color data
Hair
Eye Sex Black Brown Red Blond Total
BrownMale 32 53 10 3 98
Blue 11 50 10 30 101
Hazel 10 25 7 5 47
Green 3 15 7 8 33
BrownFemale 36 66 16 4 122
Blue 9 34 7 64 114
Hazel 5 29 7 5 46
Green 2 14 7 8 31
Total 108 286 71 127 592

Model: MUTUAL:[Hair][Eye][Sex] Chisq (24): 164.92
Color coding: < -8 < -4 < -2 < -1 0 >1.0 >2.0 >4.0 >8.0
n in each cell: n < expected n > expected


Hair color - Eye color data
Hair
Eye Black Brown Red Blond Total
Brown 68 119 26 7 220
Blue 20 84 17 94 215
Hazel 15 54 14 10 93
Green 5 29 14 16 64
Total 108 286 71 127 592

Model: MUTUAL:[Hair][Eye] Chisq (9): 138.29
Color coding: < -8 < -4 < -2 < -1 0 >1.0 >2.0 >4.0 >8.0
n in each cell: n < expected n > expected


Sex, occupation and heart disease
Gender
Male Female
Disease
Occup Disease None Disease None Total
Unempl 254 759 431 10283 11727
WhiteCol 158 3155 52 3082 6447
BlueCol 87 2829 16 416 3348
Total 499 6743 499 13781 21522

Model: MUTUAL:[Disease][Gender][Occup] Chisq (7): 8829.35
Color coding: < -8 < -4 < -2 < -1 0 >1.0 >2.0 >4.0 >8.0
n in each cell: n < expected n > expected


Suicide data
Age
Sex Method 10-20 25-35 40-50 55-65 >65 Total
MaleGun 512 852 875 477 229 2945
Female 25 64 52 29 3 173
MaleGas 335 883 625 201 45 2089
Female 40 113 91 45 29 318
MaleHang 1524 2751 3936 3581 2948 14740
Female 212 575 1481 2014 1355 5637
MalePoison 1160 2823 2465 1531 938 8917
Female 921 1672 2224 2283 1548 8648
MaleJump 189 366 244 273 268 1340
Female 131 276 327 388 383 1505
MaleDrown 67 213 247 207 212 946
Female 30 139 354 679 501 1703
Total 5146 10727 12921 11708 8459 48961

Model: MUTUAL:[Age][Sex][Method] Chisq (49): 9908.24
Color coding: < -8 < -4 < -2 < -1 0 >1.0 >2.0 >4.0 >8.0
n in each cell: n < expected n > expected


Survival on the Titanic
Class
Sex Age Survived 1st 2nd 3rd Crew Total
MaleAdultDied 118 154 387 670 1329
Female 4 13 89 3 109
MaleChild 0 0 35 0 35
Female 0 0 17 0 17
MaleAdultSurvived 57 14 75 192 338
Female 140 80 76 20 316
MaleChild 5 11 13 0 29
Female 1 13 14 0 28
Total 325 285 706 885 2201

Model: MUTUAL:[Class][Sex][Age][Survived] Chisq (25): 1637.45
Color coding: < -8 < -4 < -2 < -1 0 >1.0 >2.0 >4.0 >8.0
n in each cell: n < expected n > expected


Datasets: [ abortion | bartlett | berkeley | cesarean | divorce | employ | haireye3 | haireye2 | heartdisease| suicide | titanic ]