2010 March 30 / j d a v i s @ c a r l e t o n . e d u

Day 02 Notes

Class and Survival on the Titanic

Here's a frequency table for passengers on the Titanic, sorted by class.

ClassCount
First325
Second285
Third706
Crew885

Here's the corresponding relative frequency table.

Class%
First14.77
Second12.95
Third32.08
Crew40.21

Here's a contingency table for comparing class to survival.

FirstSecondThirdCrewTotal
Alive203118178212711
Dead1221675286731490
Total3252857068852201

Here's the conditional distribution for class, conditioned on each survival value. (Each cell's value is expressed as a percentage of the row total.)

FirstSecondThirdCrewTotal
Alive28.6%16.6%25.0%29.8%100%
Dead8.2%11.2%35.4%45.2%100%

Here's the conditional distribution for survival, conditioned on each class value. (Each cell's value is expressed as a percentage of the column total.)

FirstSecondThirdCrew
Alive62.5%41.4%25.2%24.0%
Dead37.5%58.6%74.8%76.0%
Total100%100%100%100%

Gender and Facebook Usage

Here are data from our introductory class survey. What questions are raised, and what conclusions do you draw?

YesNoTotal
Female10111
Male16521
Total26632

Tattoos and Hepatitus C

These data come from your book — Chapter 3, Question 42. What do you think?

Tattoo (parlor)Tattoo (elsewhere)No tattoo
Hepatitus C17818
No hepatitus C3553495

Class Histograms

Here are 32 heights (in inches) for our class, ranging from 59 to 76. Draw a histogram. Describe the shape.

59, 61, 64, 64, 65, 65, 66, 67, 67, 67, 67, 67, 68, 69, 69, 70, 70, 70, 70, 71, 72, 72, 72, 72, 72, 72, 72, 73, 73, 73, 74, 76

Here are the heights of the 11 women and the 21 men, separately.

59, 61, 64, 65, 65, 66, 67, 67, 67, 68, 70

64, 67, 67, 69, 69, 70, 70, 70, 71, 72, 72, 72, 72, 72, 72, 72, 73, 73, 73, 74, 76

Here are 32 estimates of Brazil's population, in millions. Draw a histogram. Describe its shape.

0.225, 1, 10, 18, 25, 75, 80, 90, 100, 100, 100, 140, 150, 175, 180, 200, 200, 200, 200, 200, 200, 200, 209, 210, 265, 300, 300, 300, 310, 350, 450, 545

Here are the 32 economic and social views (1 means very conservative, and 5 means very liberal).

3, 4, 4, 3, 3, 2, 2, 4, 2, 2, 3, 4, 4, 3, 3, 2, 2, 2, 4, 3, 2, 4, 4, 4, 3, 4, 4, 4, 3, 4, 4, 4

4, 5, 5, 3, 4, 3, 4, 4, 3, 5, 5, 4, 5, 4, 4, 2, 3, 4, 4, 5, 2, 3, 3, 5, 4, 5, 4, 4, 3, 4, 4, 4

Disposable Household Income (Purchasing Price Parity, 2004)

What can you infer about income distribution in the USA? How about in Canada vs. Switzerland?

RankCountryMean
1United States32,195
2Canada26,601
3Switzerland26,512
4United Kingdom26,193
5Norway25,961
6Austria24,485
7Germany22,585
8Denmark22,524
9Sweden21,193
10Belgium21,173
RankCountryMedian
1United States26,672
2Switzerland23,962
3Norway23,794
4Canada23,144
5Austria21,787
6Denmark21,437
7United Kingdom21,406
8Germany19,853
9Sweden19,791
10Belgium19,284