Titanic Survival Dashboardinteractive EDA

📊Headline Numbers

Of 1,309 people aboard the Titanic, only 38.2% made it out alive. But that average hides everything that matters — survival was wildly uneven across sex, passenger class, and to a lesser extent age. This dashboard breaks down exactly who survived and quantifies how much each factor mattered.
Total Passengers
1,309
14 features, 51 missing ages
Survived
500
38.2% of passengers
Perished
809
61.8% of passengers
Women Survival
72.8%
vs men 19.1% · +53.6pp
1st Class Survival
62.0%
vs 3rd class 25.5% · +36.5pp
Strongest Odds Ratio
11.3×
Female vs Male

Survival by Sex

Female (n=466)72.8%
Male (n=843)19.1%
Difference: 53.6 percentage points

Survival by Class

Class 1 (n=324)62.0%
Class 2 (n=276)42.8%
Class 3 (n=709)25.5%
1st vs 3rd: 36.5pp gap

Survival by Port

Belfast (n=10)0.0%
Cherbourg (n=272)56.6%
Queenstown (n=123)35.8%
Southampton (n=904)33.4%
Cherbourg edge: +23.2pp vs Southampton

📖How to read this dashboard

You'll see a few statistical terms repeat throughout. Here's what they mean in plain English:

Survival rate
The percentage of a group that survived. "62.0%" means 62 of every 100 people in that group survived.
95% Confidence Interval (CI)
The range the true rate is very likely to fall in. A tight CI = certain estimate; a wide CI = small sample, less certain.
Odds Ratio (OR)
How many times more likely one group is to survive vs another. OR = 11.3x means 11 times the odds; OR < 1 means lower odds.
Effect size (Cramer's V / r)
How strongly a feature predicts survival on a 0–1 scale. Rule of thumb: 0.1 = small, 0.3 = medium, 0.5 = large.
p-value
The probability the pattern is just coincidence. p < 0.05 = unlikely a fluke; p < 0.001 = essentially impossible.
pp (percentage points)
The arithmetic gap between two percentages. Going from 19% to 73% is a 54pp jump, not "54%".

🎯Which factors mattered most?

If you had to bet someone's chance of surviving knowing only one thing about them, what should that one thing be? This chart ranks every feature by how strongly it predicts survival on a 0–1 scale (small / medium / large).

Predictive power, ranked

Bigger bar = stronger predictor. The dashed lines mark the conventional thresholds (small / medium / large).
Takeaway: Sex is in a league of its own (large effect, ~0.53). Class is a clear medium-strength predictor. Everything else — age, family size, port — is small or negligible on its own (though they matter in combination).

⚖️How much did each factor change your odds?

An odds ratio answers a simple question: if you compare two groups, how many times more (or less) likely was one to survive? OR = 2.0 means twice the odds. OR = 0.5 means half. The dashed line at 1.0 is "no effect at all". Error bars show the 95% range we're confident the true value lies in.

How much each factor boosted (or shrank) the odds of survival

Log scale — each gridline is 10×. Green bars are above 1 (helped survival), red bars below 1 (hurt survival). Bars to the right of 1 = better odds; to the left = worse odds.
Takeaway: Being a woman gave you roughly 11× the survival odds of a man. Being in 3rd class cut your odds to about 0.30× — roughly a third of the rest. These are the two biggest levers; everything else is much smaller.
ContrastOdds Ratio95% CIExposedUnexposedLiftp
Female vs Male11.31×[8.66, 14.76]72.8% (n=466)19.1% (n=843)+53.6pp<2e-16
1st Class vs 2nd/3rd3.75×[2.88, 4.87]62.0% (n=324)30.4% (n=985)+31.7pp<2e-16
3rd Class vs 1st/2nd0.30×[0.24, 0.38]25.5% (n=709)53.2% (n=600)-27.6pp<2e-16
Child (<=16) vs Adult1.65×[1.18, 2.32]49.0% (n=151)36.8% (n=1158)+12.2pp4.32e-03
Cherbourg vs Other Ports2.61×[1.99, 3.42]56.6% (n=272)33.4% (n=1037)+23.2pp<2e-16
Top Fare Quartile vs Rest2.93×[2.27, 3.79]57.6% (n=330)31.7% (n=979)+25.9pp<2e-16
Bottom Fare Quartile vs Rest0.38×[0.28, 0.50]22.6% (n=340)43.6% (n=969)-21.0pp<2e-16
Has Family Aboard vs Alone2.33×[1.85, 2.93]50.3% (n=519)30.2% (n=790)+20.0pp<2e-16

💚Survival rate by group

The percentage of each group that made it out alive. The little vertical lines on each bar are 95% confidence intervals — they show how certain we are about the number. When two bars' intervals don't overlap, the difference between them is almost certainly real, not a fluke.

Overall Survival

500 of 1,309 passengers survived. Roughly 1 in 3.

By Sex

Hover for sample size and 95% CI.
Women survived at 73%, men at 19%. That's the single biggest gap in the entire dataset.

By Passenger Class

A 1st-class ticket gave you over 2× the survival rate of a 3rd-class one (62% vs 25%) — cabins on upper decks, closer to the lifeboats.

By Embarkation Port

Cherbourg looks better at a glance, but most of that is just because more 1st-class passengers boarded there. Port itself isn't really doing the work.

🧩Class × Sex: what happens when you combine them

Sex and class don't add up — they multiply. Knowing just one of them gives you a guess; knowing both gives you a near-certain prediction. Each cell shows the survival rate for that exact combination and how many people were in it (n).
The most extreme contrast in the dataset: a 1st-class woman had a 96.5% chance of survival. A 3rd-class man had a 15.2% chance. Same ship, same iceberg — an 81-percentage-point gap based purely on what ticket you held and what sex you were.

👥Demographics: who else was favored?

Beyond sex and class, four more attributes shifted the odds a little: age (children first), fare paid (mostly a proxy for class), title (encodes sex + age + status), and family size (a sweet spot at 2–4).

By Age Group

Youngest passengers fared best — clear evidence the "children first" protocol was real. Survival drops steadily with age.

By Fare Range

Higher fares paid = higher survival. But this is largely just class repackaged: a 1st-class ticket cost more and got you onto a higher deck.

By Title

"Master" (young boys) and "Mrs" (married women) had the best odds. "Mr" (adult men) had by far the worst at 16% — the same story sex+age tells, just labeled differently.

By Family Size

Sweet spot at 2–4 family members. Solo travelers and very large families (5+) both did worse — possibly because mid-size families coordinated boarding lifeboats together.

📈Distributions: what did the passengers actually look like?

Background on the population itself — without context for who was on the ship, the survival numbers above are hard to interpret. Most passengers were in their 20s–30s, and the fare distribution is heavily skewed: most paid a little, a few paid a lot. We clip the top 1% of fares for readability.

Age Distribution

Fare Distribution (≤0.99 quantile)

🛶Lifeboat reality check — the proximate cause

Everything above is about who was likely to survive. This is about the mechanism: did you get onto a lifeboat? The dataset records lifeboat numbers for confirmed boat occupants. The numbers below explain why sex and class mattered: they determined who got onto a boat.

Recorded on a Lifeboat

Passengers486
Survived479 (98.6%)
95% CI: [97.1%, 99.3%]

No Lifeboat Record

Passengers823
Survived21 (2.6%)
95% CI: [1.7%, 3.9%]

Lift

Δ Survival+96.0pp
Coverage37.1%
Lifeboat record is near-deterministic of survival, as expected.

🧪Could these patterns just be random luck?

Statistical tests answer one question: how likely is it that these patterns appeared by chance? The "p-value" is the probability of seeing the observed difference if there were really no underlying effect. p < 0.05 is the standard threshold for "probably not coincidence". p < 2e-16 means it's effectively impossible to be a fluke.
RelationshipTestStatisticp-valueEffect
Sex → SurvivedChi-square363.6<2e-16Very Strong
Pclass → SurvivedChi-square128.6<2e-16Very Strong
Embarked → SurvivedChi-square54.49.36e-12Very Strong
Fare (survived vs perished)Welch t-test7.986.67e-15d=0.48 (Small)
Age (survived vs perished)Welch t-test-1.100.270d=-0.06 (Negligible)

🔗Which numerical features move together?

Correlation values run from -1 (move in opposite directions) to +1 (move together perfectly). 0 = no relationship. Hover any cell to see the exact value. Reds = positive, blues = negative. Most cells here are pale — only a few of the numerical features are strongly related.

⚠️How much of the data is actually missing?

Before drawing conclusions, you need to know what's missing. Two columns have gaps: Occupation (47% missing — too sparse to use directly) and Age (only 3.9% missing, far better than the popular Kaggle subset's 19.9%, so age-based analysis here is reliable).
ColumnMissingPercentSeverity
Occupation62147.4%High
Age513.9%Low

💡Key insights, in plain English

The story the numbers tell, summarized.
  • Sex was by far the biggest factor. Women survived at 73%, men at 19% — a 54-percentage-point gap. In odds terms, women were about 11× more likely to survive than men.
  • Class made things worse if you were already disadvantaged. Combine 3rd class with male, and survival drops to 15%. Combine 1st class with female and it jumps to 96%. The two factors don't add — they multiply.
  • The "children first" rule was real but small. Kids under 16 had about 1.7× the survival odds of adults. A genuine effect, but nothing like sex or class.
  • Higher fares helped — but mostly because they bought a 1st-class ticket. Top fare quartile survived at 58% vs 32% for everyone else. Fare isn't doing independent work; it's class in disguise.
  • "Where you boarded" is a red herring. Cherbourg embarkees had a higher survival rate, but that's because lots of 1st-class passengers happened to board there. Once you control for class, port effects mostly disappear.
  • Family size has a sweet spot at 2–4. Solo travelers and 5+ families both did worse. Mid-sized families may have coordinated boarding together; solo passengers may have lacked someone advocating for them.
  • Lifeboat access is the actual mechanism. 98.6% of passengers with a recorded boat survived; 2.6% without one did. Everything else — sex, class, age — was really just predicting who got onto a boat.
  • The data is unusually complete. Only 51 ages (3.9%) are missing here vs ~20% in the well-known Kaggle subset, so age-based analyses are reliable.
📖 Full Analyst Report
The same narrative that ships as DOCX + PDF, rendered inline. Sections below are scroll-spy targets and link to the dashboard sub-sections above when they cover the same ground.

Executive Summary

On the morning of April 15, 1912, 1,309 people had boarded the RMS Titanic in Southampton, Cherbourg, Queenstown and Belfast. By the next morning, 809 of them were dead. The headline 38.2% survival rate is misleading on its own — the disaster did not pick its victims at random. It selected them along three sharp axes: sex, passenger class, and (to a lesser extent) age.

This report quantifies how unequal the outcomes were, and separates the factors that genuinely mattered from those that only appeared to.

Headline findings

  • Sex was the single largest determinant of survival. Women survived at 72.8%; men at 19.1%. In odds terms, women were roughly 11× more likely to survive than men.
  • Class strongly compounded the effect of sex. A 1st-class woman had a 96.5% chance of surviving; a 3rd-class man had a 15.2% chance. Same ship, same iceberg — an 81-percentage-point gap.
  • The "children first" protocol was real, but modest in size. Children under 16 had about 1.7× the survival odds of adults. A genuine effect, but nowhere near the magnitude of sex or class.
  • Lifeboat access was the proximate cause of survival. Of 486 passengers with a recorded lifeboat number, 98.6% survived. Of 823 without one, only 2.6% did. Every demographic factor above was, in effect, predicting who would get a seat on a boat.
  • Some apparently important factors are confounded with class. Fare and embarkation port both appear correlated with survival in raw numbers, but most of that signal disappears once class is controlled for. They are proxies, not independent causes.

Bottom line: if you could ask only one question to guess whether a Titanic passenger survived, ask their sex. If you could ask two, ask their class as well. After those, every other factor is in the noise.


1. Background & Question

1.1 What happened

The RMS Titanic struck an iceberg at 23:40 ship's time on April 14, 1912, in the North Atlantic. The collision opened the hull along five forward compartments — one more than the ship was designed to survive flooding. She sank in 2 hours and 40 minutes, with roughly 1,500 people still on board. The number of lifeboat seats was approximately half the number of people aboard. Survival therefore depended almost entirely on who was given a seat in a lifeboat in those 160 minutes.

1.2 What this analysis is trying to answer

The historical narrative around the Titanic is dominated by the phrase "women and children first." This report tests that narrative quantitatively. Four concrete questions:

  • Q1. How unequal were the survival outcomes across demographic groups?
  • Q2. Which factors were truly driving survival, and which were just confounded with deeper causes?
  • Q3. How large were the effects, and how confident can we be in those estimates given the sample sizes?
  • Q4. If we were to build a survival prediction model, which features should we prioritise and why?

2. Data & Method

2.1 Dataset

Source: titanic5, curated by Encyclopedia Titanica and hosted by Vanderbilt Biostatistics. The dataset contains 1,309 passengers and 14 columns. It is materially more complete than the well-known Kaggle training subset (891 rows). In particular, only 51 ages are missing (3.9%) versus Kaggle's ~20%, which makes age-stratified analysis reliable.

Column Type Used for
Survived 0/1 Target outcome
Pclass 1/2/3 Socioeconomic class proxy (cabin location, boarding priority)
Sex female / male The single strongest predictor
Age years Children-first effect; age stratification
SibSp + Parch int Combined into FamilySize and IsAlone
Fare USD Class proxy with finer resolution
Embarked C/Q/S/B Port of embarkation — confounded with class
Name str Title (Mr/Mrs/Miss/Master) extracted as derived feature
BoatBody str Parsed into Lifeboat number and BodyRecovered flag

For the full column dictionary and engineering rules, see docs/DATA.md.

2.2 Method

The analytical approach moves from descriptive to inferential:

  • Descriptive comparisons. Survival rates by group with 95% Wilson confidence intervals so precision is visible.
  • Effect-size ranking. Every feature placed on a single 0–1 comparable scale. Cramer's V for categorical features; the absolute point-biserial correlation for numeric ones.
  • Odds ratios with 95% CIs. For each headline contrast (women vs men, 1st class vs the rest, etc.) — log-odds standard error + Fisher's exact test.
  • Hypothesis tests. Chi-square for categorical relationships; Welch's t-tests with Cohen's d for numeric comparisons; one-way ANOVA across multiple age groups.
  • Stratified analysis. Joint Class × Sex tables to surface compounding effects.

For the full statistical machinery and why each test was chosen, see docs/METHODOLOGY.md.

What this report does NOT do: fit a predictive model. Effect-size ranking and odds ratios are descriptive — they say which features individually carry survival information but do not adjust for one another. A logistic regression with interaction terms would refine these estimates and is the natural next step (see ROADMAP.md).


3. The Big Picture

3.1 Overall survival rate

Of the 1,309 passengers, 500 survived — a rate of 38.2%. About one in three. That is the figure most people remember, and it is the figure that hides the entire story of this disaster.

Survival overview: overall, by sex, by class Figure 1. Overall outcome, survival by sex, and survival by class. The marginal averages already hint that "overall" is a misleading number.

3.2 Why the average is misleading

Consider three slices of the 38.2% headline:

  • By sex: 72.8% of women survived vs 19.1% of men.
  • By class: 62.0% of 1st class vs 25.5% of 3rd class.
  • By the two combined: 96.5% of 1st-class women vs 15.2% of 3rd-class men. The arithmetic average between these is meaningless; nobody had a "typical" Titanic experience.

If you remember nothing else from this section: the 38.2% overall rate is an artefact of averaging together two populations that the evacuation treated almost entirely differently.


4. The Three Biggest Drivers

We can rank the factors by predictive strength on a common scale. The chart below uses Cramer's V for categorical features and the absolute value of the point-biserial correlation for numeric ones. Both range from 0 to 1; thresholds for "small", "medium", and "large" are 0.1, 0.3, and 0.5 by convention.

Feature predictive power ranked Figure 2. Feature predictive power, ranked. Three things matter at all — sex, class, and fare/embarked. Everything else is small or negligible on its own.

Feature Type Metric Effect Size Strength
Sex Categorical Cramer's V +0.527 Large
Pclass Categorical Cramer's V +0.313 Medium
Fare Numerical Point-biserial r +0.247 Small
Embarked Categorical Cramer's V +0.204 Small
Parch Numerical Point-biserial r +0.083 Negligible
Age Numerical Point-biserial r −0.031 Negligible
SibSp Numerical Point-biserial r −0.028 Negligible

4.1 Sex — by far the strongest signal

With Cramer's V ≈ 0.53, sex is the only feature in "large effect" territory. The contrast is stark: of 466 women, 339 survived; of 843 men, only 161 did. The two confidence intervals do not come close to overlapping, so we can be essentially certain this is not noise.

What this means in plain English: A woman on the Titanic had roughly 11× the odds of surviving that a man had (95% CI: 8.7× to 14.8×). Sex is not just the most useful single variable — it is the only variable that on its own gives you a near-reliable prediction.

4.2 Class — the second-strongest, and an enabler of the first

Class came in at Cramer's V ≈ 0.31 — solidly in "medium" territory. The survival rate falls steadily: 1st class 62.0%, 2nd class 42.8%, 3rd class 25.5%. The mechanism is not abstract: 1st-class cabins were on upper decks, much closer to the boat deck where lifeboats were loaded; 1st-class passengers had priority boarding and better access to information about what was happening as the ship took on water.

4.3 Class × Sex — the real story is in the interaction

Sex and class do not simply add to each other — they compound.

Joint Class × Sex heatmap Figure 3. Class × Sex joint survival. The diagonal is staggering: 1st-class women (top-left, deep green) survived almost universally; 3rd-class men (bottom-right, deep red) almost universally died.

Group Total Survived Rate 95% CI
1st — Female 144 139 96.5% [92.1, 98.5]
1st — Male 180 62 34.4% [27.9, 41.6]
2nd — Female 106 94 88.7% [81.2, 93.4]
2nd — Male 170 24 14.1% [9.7, 20.1]
3rd — Female 216 106 49.1% [42.5, 55.7]
3rd — Male 493 75 15.2% [12.3, 18.7]

What this means in plain English: The two extreme cells — 1st-class women at 96.5% and 3rd-class men at 15.2% — are roughly 80 percentage points apart. That gap is larger than the marginal effect of either sex or class alone. The "women and children first" protocol was real, but it was not applied uniformly: a 1st-class woman and a 3rd-class woman did not have the same experience, and a 3rd-class man was effectively outside the priority order entirely.


5. Secondary Factors

Beyond sex and class, four further attributes shifted the survival odds — some genuinely, some only because they were entangled with the bigger drivers.

5.1 Age — the "children first" effect was real, but small

Survivors were about a year younger than non-survivors on average (28.9 vs 29.9 years; Welch's t = −1.10, p = 0.270). That difference is statistically marginal and practically tiny. The real age effect lives at the extremes, not the mean — very young children fared significantly better; the elderly fared significantly worse.

Age group Total Survived Rate 95% CI
Child (0–16) 151 74 49.0% [41.1, 56.9]
Young Adult (17–32) 704 247 35.1% [31.6, 38.6]
Adult (33–48) 332 134 40.4% [35.2, 45.8]
Older Adult (49–64) 111 45 40.5% [31.8, 49.9]
Senior (65+) 11 0 0.0% [0.0, 25.9]

5.2 Family size — a sweet spot at 2–4

Family size (siblings + spouse + parents + children + self) shows a clearly non-monotonic pattern.

Family size Total Rate
1 (solo) 790 30.3%
2 235 53.6%
3 159 56.6%
4 43 69.8%
5 22 27.3%
6 25 20.0%
7 16 25.0%
8 8 0.0%
11 11 0.0%

The plausible mechanism: mid-sized families were small enough to stay together during evacuation but large enough to advocate for one another (and for women and children within the group). Solo passengers lacked that advocacy. Very large families struggled to keep everyone together in the chaos.

5.3 Fare — a strong proxy for class, not an independent cause

Fare is the strongest numeric signal (r = +0.247). Survivors paid an average of $49.63 vs $23.19 for non-survivors — less than half. The t-test confirms the difference is overwhelmingly real (t = 7.98, p < 0.001). However, almost all of fare's signal can be explained by the fact that expensive tickets bought 1st-class accommodation. Fare is class repackaged at higher resolution; treating it as an independent cause would be a mistake.

5.4 Embarkation port — a textbook confound

At first glance port looks meaningful: Cherbourg passengers survived at 56.6% vs Southampton's 33.4%. But Cherbourg was where most 1st-class passengers boarded; Southampton's mix was predominantly 3rd-class. The chi-square test does flag a significant association, but it is almost entirely driven by this class-composition difference. Adjusting for class makes the port effect largely vanish — it should not be treated as a survival factor in its own right.

5.5 Title — a compact summary of sex and age

Titles in 1912 carried real information. "Master" was used specifically for boys; "Mrs" for married women; "Miss" for unmarried women; "Mr" for all adult men. The survival rates by title essentially restate the sex + age story in a single feature:

Title Count Survival rate
Mr 757 16.2%
Miss 260 67.7%
Mrs 197 78.2%
Master 61 50.8%
Officer 21 28.6%
Royalty 3 100.0%

For modelling, this matters: Title can substitute for Sex and Age simultaneously while remaining a single, clean categorical feature.


6. The Mechanism: Lifeboats

Everything above is about who was likely to survive. This section is about how survival actually happened: by getting onto a lifeboat. The titanic5 dataset records the lifeboat number where it is known, which gives us a direct view of the proximate cause.

Lifeboat record vs survival Figure 4. Lifeboat record vs survival, and proportion of each sex with a lifeboat record. The right-hand chart is the "women and children first" protocol made operational.

Group Total Survived Rate 95% CI
On a lifeboat (recorded) 486 479 98.6% [97.1, 99.3]
No lifeboat record 823 21 2.6% [1.7, 3.9]

The numbers are stark. Getting onto a lifeboat was effectively a guarantee of survival; not getting on one was almost a guarantee of death. The two confidence intervals don't even come close to overlapping.

Why every demographic effect in this report ultimately reduces to this: The "women and children first" protocol was the rule that determined boat-seat allocation. Class shaped how strictly the rule was enforced (1st-class women were prioritised over 3rd-class women in practice) and how easily passengers could physically reach the boat deck (1st-class cabins were close; 3rd-class cabins were locked away deep in the ship for hours after the collision). All of the demographic patterns we've measured are the upstream consequences of a single allocation decision: which body got into a lifeboat.


7. Statistical Robustness

Every comparison in this report could in principle be a coincidence of sampling. The tests below check whether each is real.

Relationship Test Statistic p-value Effect / Strength
Sex → Survived Chi-square χ² = 363.6 < 2e-16 Very Strong
Pclass → Survived Chi-square χ² = 128.6 < 2e-16 Very Strong
Embarked → Survived Chi-square χ² = 54.4 9.36e-12 Very Strong
Fare (Survived vs Perished) Welch t-test t = 7.98 6.67e-15 d = 0.48 (Small)
Age (Survived vs Perished) Welch t-test t = −1.10 0.270 d = −0.06 (Negligible)
Age groups → Survived ANOVA F = 4.34 0.0017 Significant

Most patterns clear the conventional thresholds by many orders of magnitude — sex and class would still be statistically significant if we had 1/1000th as many passengers.

Odds ratios with 95% CIs

Odds ratios translate the statistical significance into something more interpretable: how much each factor multiplies your odds of surviving. OR > 1 = better odds; OR < 1 = worse odds; OR = 1 = no effect at all.

Odds ratios with 95% CIs Figure 5. Survival odds ratios with 95% CIs. Bars to the right of 1.0 (green) helped survival; bars to the left (red) hurt it. The log scale matters: each gridline is a 10×.

Contrast OR 95% CI Exposed rate Unexposed rate Lift
Female vs Male 11.31× [8.66, 14.76] 72.8% (n=466) 19.1% (n=843) +53.6pp
1st Class vs 2nd/3rd 3.75× [2.88, 4.87] 62.0% (n=324) 30.4% (n=985) +31.7pp
Top Fare Quartile vs Rest 2.93× [2.27, 3.79] 57.6% (n=330) 31.7% (n=979) +25.9pp
Cherbourg vs Other Ports 2.61× [1.99, 3.42] 56.6% (n=272) 33.4% (n=1037) +23.2pp
Has Family Aboard vs Alone 2.33× [1.85, 2.93] 50.3% (n=519) 30.2% (n=790) +20.0pp
Child (≤16) vs Adult 1.65× [1.18, 2.32] 49.0% (n=151) 36.8% (n=1158) +12.2pp
Bottom Fare Quartile vs Rest 0.38× [0.28, 0.50] 22.6% (n=340) 43.6% (n=969) −21.0pp
3rd Class vs 1st/2nd 0.30× [0.24, 0.38] 25.5% (n=709) 53.2% (n=600) −27.6pp

8. Conclusions & Recommendations

8.1 What the numbers actually say

Survival on the Titanic was governed by who got onto a lifeboat, and lifeboat allocation was governed by a clear if uneven application of "women and children first." That core rule was modulated heavily by class. The result is a four-tier hierarchy:

  1. 1st- and 2nd-class women: near-universal survival (~89–97%).
  2. 1st- and 2nd-class men, plus 3rd-class women: middling odds (~14–49%).
  3. 3rd-class men: near-universal death (~15%).
  4. Within each of these, age and family size further modulated the odds, but only at the margins.

8.2 Recommendations for further analysis

  • Fit a logistic regression with Class × Sex interaction. A joint model would let us separate the independent effects of sex and class from their interaction, and adjust for fare, age, and family size simultaneously.
  • Engineer Title as a primary feature. It captures sex and (loosely) age in a single categorical column.
  • Drop Fare or treat it as an alternative encoding of Class. Including both creates collinearity without adding much information.
  • Drop Embarked as a survival predictor. Confounded with class.
  • Treat Lifeboat / BodyRecovered as outcomes, not inputs. Using them as features in a survival model would leak the target.
  • Consider extracting Cabin / Deck letters from Occupation. Non-null entries may encode cabin information that could shed light on physical proximity to the boat deck.

8.3 Limitations

  • Occupation is 47% missing, limiting cabin-level analysis. We've used HasCabin (a 1/0 indicator of non-null Occupation) as a low-resolution proxy.
  • Survival is recorded, but the timing of evacuation decisions is not. We cannot directly test hypotheses about the order in which lifeboats were lowered.
  • Class is a coarse proxy for socioeconomic status. Within each class there was considerable variation in cabin location, age, and family situation.

Appendix — Glossary

Term Plain-English definition
Survival rate Percent of a group that survived. 62% means 62 of every 100 lived.
95% CI (Wilson) The range we are 95% confident contains the true rate. Narrow = certain estimate; wide = small sample.
Odds Ratio (OR) How many times higher the odds of survival were for one group versus another. OR = 2 means twice the odds.
Effect size How strongly a single feature predicts survival on a 0–1 scale. 0.1 = small, 0.3 = medium, 0.5 = large.
Cramer's V Effect-size metric for categorical features.
Point-biserial r Effect-size metric for a numeric feature predicting a 0/1 outcome.
Cohen's d Size of the difference between two group means, in standard deviations.
p-value Probability the pattern arose by chance. < 0.05 = probably real; < 0.001 = essentially certain.
pp (percentage points) Arithmetic gap between two percentages. 19% → 73% is a 54pp jump, not 54%.
Confounding When a third factor (e.g., class) drives the apparent relationship between two others.
Target leakage Using a feature that is actually a consequence of the outcome you're predicting.

Prepared by Aneek Hait · Data: titanic5 (hbiostat.org) · See methodology · interactive dashboard · DOCX report