STAT 638 (Fall 2026), Lecture 40
Overview
Samiran Sinha’s STAT 638 class features three student projects comparing Bayesian models with predictive goals: survival among 521 kidney cancer patients, aggregate losses for 678,000 French motor insurance policies, and appendicitis classification for 760 children. The teams use Bayesian survival models, Poisson and severity regressions, a Pareto-tail model, and Bayesian logistic regression to quantify uncertainty, test modeling assumptions, and show where Bayesian inference adds interpretability or decision support without necessarily improving predictive accuracy.
Key takeaways
- In the kidney cancer analysis, stage is the strongest prognostic factor: standardized five-year survival falls from 79% for stage 1 to 35% for stage 4, while each additional decade of age corresponds to about 30% shorter survival.
- The kidney team’s lognormal model has the best predictive scores, but differences among lognormal, Weibull, and piecewise exponential models are small; conclusions about stage, age, and grade 4 remain broadly stable across distributions.
- For French motor insurance, a two-part Poisson-frequency and Gamma-severity model captures the roughly 96% zero-loss rate but substantially underestimates extreme claims; a Pareto tail better represents the far tail while implying a 21.5% posterior probability of an undefined mean.
- Bayesian and frequentist estimates are close in both the insurance and appendicitis projects, so the clearest Bayesian contributions are prior incorporation, uncertainty quantification, and direct probability-based decisions rather than large predictive gains.
- In pediatric appendicitis classification, increasing the relative cost of a missed case lowers the decision threshold to 1/(1+R), trading fewer missed cases for more false alarms and making the final classification threshold a clinical choice.
- Appendicitis model performance may be overstated because some recorded diagnoses partly depend on clinical rules, including appendix diameter; the team therefore excludes diameter from its main model and flags label construction as a limitation.
Chapters
- Tazwar Bakhtiyar Zahid introduces a TCGA kidney cancer cohort reduced from 606 records to 521 after filtering for stage, follow-up, and grade information.
- Overall survival runs from diagnosis to last follow-up; patients alive at last contact are treated as right-censored.
- The team compares Weibull, lognormal, and piecewise exponential Bayesian survival models using stage, age, sex, and tumor grade.
- The team calibrates Weibull baseline priors with prior-predictive survival curves for a reference patient, then translates literature-based effects across model scales.
- Four NUTS chains ran 4,000 iterations each with 2,000 warm-up iterations, yielding 8,000 retained draws; reported R-hat values were close to 1.
- The analysis uses Pareto-k diagnostics for leave-one-out prediction and compares predictive performance with expected log predictive density and the integrated Brier score.
- The lognormal accelerated failure time model performed best by predictive criteria, although its advantage over the Weibull and piecewise exponential models was not decisive.
- Stage 3 and 4 correspond to about 58% and 86% shorter median survival than stage 1; standardized five-year survival falls from 79% to 35%.
- Each additional decade of age is associated with about 30% shorter survival, while grade 4 is associated with about 59% shorter survival; the grade 3 estimate is sensitive to prior choice.
- The team finds no evidence of a sex difference, and notes that only 13 patients had follow-up extending to 10 years.
- Chris Coker describes the data as observational and cautions that the results do not support causal conclusions.
- The model combines pathologic stage and tumor grade as distinct predictors, groups grades 1 and 2 because grade 1 had only 13 patients and no deaths, and omits correlated T, N, and M components.
- The group reports that Bayesian and frequentist lognormal estimates are similar; informative priors mainly reduce uncertainty, especially for the prior-sensitive grade 3 effect.
- In response to Samiran Sinha, Zahid says the lognormal model regresses on its location parameter while estimating a common scale parameter.
- John Meeks, Andrew Chen, and Sophia Dronova analyze about 678,000 policies, 12 risk factors, and 26,000 claims, combining policy and claim records by policy identifier.
- About 96% of policies have no claims, while claim severity is strongly right-skewed, averaging about €2,000 with a maximum above €4 million.
- A Poisson regression with a log link and exposure offset models claim counts; a Gamma regression models positive claim amounts per claim.
- The team combines posterior simulations from both models to generate aggregate-loss predictions and uses weakly informative coefficient priors plus externally guided intercept priors.
- A one-standard-deviation increase in bonus-malus is associated with about 50% higher expected claim frequency and 13% higher expected severity.
- Age and vehicle characteristics can affect frequency and severity in different directions, supporting separate models for the two components of aggregate loss.
- Across 5,000 policies and 1,000 posterior simulations, the predicted mean loss is about €87 per policy versus an observed €97, with roughly 96% zero-loss policies.
- The observed 99.9th-percentile claim is about €152,000; Gamma and lognormal models predict about €22,000 and €31,000, respectively, showing that both understate extreme claims.
- The team adds a Pareto tail above the 99th-percentile threshold to address extreme claims that Gamma and lognormal severity models miss.
- The Pareto shape estimate is about 1.05, with a 95% credible interval from 0.93 to 1.18; the posterior probability that the tail implies an undefined mean is 21.5%.
- The splice improves fit to the extreme tail, while typical-loss estimates from Bayesian and frequentist models remain very similar.
- Proposed next steps include testing alternative frequency models and tail thresholds, adding validation data, incorporating policy-level predictors in the tail, and accounting for insurance coverage limits.
- Andrew Chen identifies the mass of zero claims, the €4 million maximum loss, and the large sample size as defining dataset features.
- Samiran Sinha asks about spikes in the observed nonzero loss distribution; the team acknowledges that its models focused on zero frequency and heavy tails rather than explaining those spikes.
- Meeks explains that the frequency model generates zeros and severity is applied only when a claim occurs; the team reports using linear effects for standardized predictors.
- The group discusses possible nonlinear age effects and notes that its Pareto tail treats policies alike rather than using individual risk factors.
- Milan Grewal, Josh Boehm, and Sinead Macfhionnlaoich analyze 760 children after exclusions, with 59% recorded as having appendicitis; 607 cases train the model and 153 form the test set.
- Bayesian logistic regression uses eight predictors, including age, white blood cell count, CRP, and right lower quadrant pain; continuous predictors are standardized.
- The team excludes appendix diameter from its main model because it partly informed the diagnostic labels, and uses coefficient priors centered at zero with standard deviation 1.
- Four MCMC chains produce 8,000 posterior draws; the team reports strong chain overlap, large effective sample sizes, and no divergent transitions.
- Higher white blood cell count and CRP are associated with roughly doubled odds of appendicitis per standard-deviation increase; right lower quadrant pain has a larger but less certain estimated effect.
- On the 153-patient test set, 45 children are classified as confidently negative, 74 as confidently positive, and 34 remain uncertain; the model reports accuracy of 0.774 and Brier score of 0.190.
- Performance is weaker for conservatively managed patients, with AUC 0.58; adding ultrasound findings raises AUC from 0.768 to 0.872, though diagnostic-label rules may explain some of that gain.
- Bayesian and frequentist logistic regressions have similar coefficients and predictive performance, with a paired bootstrap interval for the Brier-score difference including zero.
- With missed appendicitis assigned cost R and false alarms cost 1, the team classifies a child as positive when posterior mean risk exceeds 1/(1+R).
- As R increases, misses fall from 19 to zero while false alarms rise from 23 to 63; at R = 5, results resemble the doctors’ decisions, with one miss and 62 false alarms.
- The team concludes that Bayesian inference adds individual risk uncertainty and supports cost-sensitive decisions, even though it does not outperform frequentist prediction.
- In the closing discussion, Sinead explains AUC as ranking sick versus healthy children; the group identifies label construction and uncertain performance among conservatively managed patients as key limitations.
Transcript excerpt
0:00 Tazwar Bakhtiyar Zahid: So… Coker, Chris: Can you see the presentation? Tazwar Bakhtiyar Zahid: Good morning, everyone. We are Group 6, and today we'll be presenting on the Biogen Survival Analysis of TCGA KRC dataset, and I'm Tazwar, who will be beginning the presentation. Next slide, please. Tazwar Bakhtiyar Zahid: So, for our study, we used the KRC dataset, which originally contained 606 records, and after filtering for the unusual stage and follow-up, and the grade information, we were reduced to 521 patients, and our outcome was the overall survival, defined as the time from diagnosis. Tazwar Bakhtiyar Zahid: to the date of the last available follow-up. And the patients who were alive at the last follow-up were treated as right-censored, so their available survival information was retained rather than discarded. And our main scientific question was whether the oral survival is associated with the important clinical characteristics Tazwar Bakhtiyar Zahid: Particularly the… which included the pathological stage, age, sex, and the historical grade of the tumor. We also wanted to determine whether our conclusions were sensitive to the assumed survival distribution.
1:01 Tazwar Bakhtiyar Zahid: So we compared three Bayesian survival models. And here's a Kaplan mirror, which shows the overall at the initial model-free summary of the overall survival in the data, and it also shows the number of risks over time, patients in risk over time. Tazwar Bakhtiyar Zahid: Next slide, please. Tazwar Bakhtiyar Zahid: Now, for the Bayesian survival analysis, we considered three different parametric models, which are the variable lognormal and piecewise exponential. And for each patient, which is represented as TI, represents the overall survival or censoring time, and delta I is the event indicator. A value of 1 meant the patient is dead, and while 0 indicated the right censoring scenario. And likelihood is written so that the patients who survived… who experienced the event contribute through the density function FI,
This is the start of the transcript. Save this video free for the whole transcript, searchable and time-coded.
In this course
Related notes
Summary, takeaways, and chapters were generated by AI from the video's transcript and may contain errors. The video belongs to its creator, Samiran Sinha.