Statistical analysis of Titanic passenger survival using logistic regression, model selection, and predictive evaluation in R.