A topic in the Open Knowledge Graph — a free, open map of 15,290 topics and the order to learn them in.

Cox Proportional Hazards Model

Research Depth 229 in the knowledge graph I know this Set as goal
8topics build on this
1,325prerequisites beneath it
See this on the map →
Linear Regression and Least Squares EstimationLog-Rank Test for Survival Comparison+2 moreCausal Inference Methods in BiostatisticsCompeting Risks Analysis+2 more
Cox proportional-hazards hazard-ratio partial-likelihood semi-parametric

Core Idea

The Cox proportional hazards model relates the hazard (instantaneous event rate) to covariates without specifying the baseline hazard function: h(t|X) = h_0(t) × exp(beta_1*x_1 + ... + beta_k*x_k). This semi-parametric structure separates the time dependence (absorbed into the unspecified h_0(t)) from the covariate effects (the exponential term). Exponentiated coefficients exp(beta_j) are hazard ratios — the multiplicative change in the instantaneous event rate per unit increase in x_j. The proportional hazards assumption requires that these hazard ratios remain constant over time: the curves for different covariate values can never cross on the hazard scale. Estimation uses partial likelihood, which depends only on the ordering of event times and eliminates h_0(t), making the model remarkably flexible yet powerful.

Explainer

The Kaplan-Meier estimator and log-rank test compare survival between groups but cannot adjust for multiple covariates simultaneously. If Treatment A enrolls older, sicker patients, the unadjusted KM comparison is confounded. The Cox proportional hazards model solves this by relating the hazard to multiple covariates through a multiplicative model: h(t|X) = h_0(t) × exp(Xβ). This is to survival analysis what multiple regression is to continuous outcomes — it allows you to estimate the independent effect of each variable while controlling for others.

The model's defining feature is its semi-parametric structure. The baseline hazard h_0(t) — which captures how the overall event rate changes with time — is left completely unspecified. All the parametric assumptions are in the covariate effects: the exponential term exp(Xβ) multiplies the baseline hazard by a constant factor that depends on the patient's characteristics but not on time. This means the model assumes that the ratio of hazards for any two patients remains constant throughout follow-up. If Patient A has twice the hazard of Patient B at 1 year, the model requires this ratio to hold at 5 years and 10 years as well. This is the proportional hazards assumption.

Estimation uses partial likelihood, a concept introduced by Cox in his landmark 1972 paper. The key insight is that the covariate effects can be estimated from the event ordering alone. At each event time, consider all subjects still at risk. The probability that the specific subject who experienced the event is the one who did depends on the relative hazards exp(Xβ) across all subjects at risk — and the baseline hazard cancels out of this conditional probability because it multiplies both numerator and denominator. The partial likelihood is the product of these conditional probabilities across all event times. Maximizing it yields β estimates without ever estimating h_0(t). If h_0(t) is needed (for predicted survival curves), it can be recovered afterward using the Breslow estimator.

Checking the proportional hazards assumption is essential. If the assumption fails — say, a new drug reduces early mortality but its effect wanes with time — the hazard ratio is not constant, and the Cox model produces a single hazard ratio that averages over time in a potentially misleading way. Diagnostics include plotting Schoenfeld residuals against time (a trend indicates violation), testing the significance of a time-covariate interaction, and visually inspecting log-log survival plots (parallel curves support proportional hazards). When the assumption fails, remedies include stratifying on the offending variable, including a time-covariate interaction, or using models that explicitly allow time-varying effects.

Practice Questions 4 questions

Prerequisite Chain

Understanding ZeroThe Number ZeroCounting to FiveCounting to 10One-to-One CorrespondenceCounting a Set of Objects Up to 20Cardinality: The Last Number CountedMatching Numerals to QuantitiesSubitizing Small QuantitiesAddition Within 10Making 10 as an Addition StrategyAddition Within 20Doubles and Near DoublesDoubles Facts Within 10Near Doubles Facts Within 20Mental Math Strategies for AdditionMental Math: Adding and Subtracting TensAddition Within 100Repeated Addition as MultiplicationMultiplication as Equal GroupsMultiplication: ArraysBasic Multiplication Facts (0s, 1s, 2s, 5s, 10s)Multiplication Facts Within 100Division as Equal SharingDivision as Grouping (Measurement Division)Division: Grouping (Repeated Subtraction) ModelDivision: Fair Sharing ModelDivision as Equal SharingDivision as GroupingBasic Division FactsDivision Facts Within 100Multiplication and Division Fact FamiliesRelationship Between Multiplication and DivisionDivision Facts as Inverse of MultiplicationRemainders and Quotients in DivisionDivision Word ProblemsMulti-Step Word ProblemsSolving Multi-Step Word ProblemsMultiplication Word ProblemsDivision Word ProblemsIntroduction to Long DivisionFactors and MultiplesPrime and Composite NumbersEquivalent FractionsRelating Fractions and DecimalsDecimal Place ValueIntegers and the Number LineComparing and Ordering IntegersAbsolute ValueAdding IntegersSubtracting IntegersMultiplying IntegersDividing IntegersUnit RatesProportionsPercent ConceptConverting Between Fractions, Decimals, and PercentsOperations with Rational NumbersTwo-Step EquationsSolving Multi-Step EquationsEquations with Variables on Both SidesAngle Pairs: Complementary, Supplementary, and VerticalParallel Lines and TransversalsCorresponding AnglesAlternate Interior AnglesTriangle Angle Sum TheoremExterior Angle TheoremTriangle Inequality TheoremSimilar Triangles: AA SimilaritySimilar Triangles: SSS and SAS SimilarityProportions in Similar TrianglesRight Triangle Trigonometry IntroductionSine, Cosine, and Tangent RatiosTrigonometric Ratios ReviewRadian MeasureConverting Between Degrees and RadiansThe Unit CircleGraphing Sine and CosineGraphing Tangent and Reciprocal Trigonometric FunctionsDerivatives of Trigonometric FunctionsAntiderivativesIterated Integrals and Fubini's TheoremDouble Integrals in Cartesian CoordinatesDouble Integrals in Polar CoordinatesDouble Integrals in Polar CoordinatesDouble Integrals: Definition and SetupIterated Integrals and Fubini's TheoremDouble Integrals over Rectangular RegionsDouble Integrals over General RegionsApplications of Double Integrals: Area, Mass, and MomentsTriple Integrals in Cartesian CoordinatesTriple Integrals in Cylindrical and Spherical CoordinatesChange of Variables and the Jacobian DeterminantApplications of Triple Integrals: Volume and MassVector Fields and Their RepresentationsLine Integrals of Vector FieldsWork and CirculationLine Integrals of Scalar and Vector FunctionsFundamental Theorem for Line IntegralsConservative Vector FieldsConservative Vector Fields and Potential FunctionsCurl and Divergence of Vector FieldsCurl and DivergenceDivergence TheoremElectric Flux and Divergence TheoremGauss's Law: Integral Form and MeaningSolving Problems with Gauss's LawConductors in Electrostatic EquilibriumCapacitance and CapacitorsDielectricsDielectric Constant and Relative PermittivityElectric Field Inside Dielectric MaterialsDielectric Materials and PolarizationDielectric Susceptibility and PermittivityEnergy Density in Electric FieldsElectric Current and Current DensityElectrical Resistance and ResistivityOhm's Law and Circuit ElementsElectromotive Force (EMF) and BatteriesKirchhoff's Circuit Laws: Voltage and CurrentDC Circuit Network Analysis MethodsTransient Response in RC CircuitsRC CircuitsLC and RLC CircuitsAC Circuits: FundamentalsImpedance and ReactanceAC Power and ResonanceElectromagnetic WavesPostulates of Special RelativityTime DilationLength ContractionLorentz TransformationRelativistic Velocity AdditionRelativistic Momentum and EnergyMass-Energy Equivalence and E=mc²Photons as Particles with Energy and MomentumPlanck-Einstein Relation: Energy and FrequencyPhotoelectric EffectThe Photon: Light as QuantaCompton ScatteringWave-Particle Dualityde Broglie WavelengthThe Schrödinger EquationState Vectors and WavefunctionsQuantum SuperpositionThe Measurement ProblemInterpretations of Quantum MechanicsPostulates of Quantum MechanicsObservables and Quantum OperatorsCommutators and Commutation RelationsQuantum Angular MomentumQuantum Mechanical Treatment of HydrogenSolving the Schrödinger Equation for Hydrogen AtomQuantum NumbersElectron ConfigurationPeriodic TrendsCovalent BondingElectronegativity and Bond PolarityIonic BondingLewis StructuresVSEPR Theory and Molecular GeometryMolecular Geometry and Electron Pair GeometryMolecular Polarity and Dipole MomentsIntermolecular ForcesStates of Matter and Phase Changes: Melting, Boiling, and SublimationGas Laws and the Ideal Gas EquationGas Stoichiometry and Volume-Volume CalculationsThermochemistry and EnthalpyHeat Capacity and CalorimetryEntropy and Molecular DisorderSpontaneity and ΔGEntropy and Gibbs Free EnergyChemical EquilibriumAcid-Base ChemistryWeak Acid IonizationWeak Base IonizationAcid and Base Strength: Ka, Kb, and IonizationLeaving Groups and NucleofugalitySN2 Substitution ReactionsSN1 Substitution ReactionsE1 Elimination ReactionsAlcohols and Ethers: Structure, Properties, and NomenclatureReactions of AlcoholsAldehydes and Ketones: Structure and ReactivityOxidation Reactions in Organic ChemistryOxidation of Alcohols to Aldehydes and KetonesAldehyde and Ketone Structure and NomenclatureNucleophilic Addition to Aldehydes and KetonesCarboxylic Acids and Their DerivativesIUPAC Nomenclature of Carbonyls and Carboxylic AcidsIUPAC Nomenclature of AlkenesElectrophilic Addition to AlkenesAromaticity and BenzeneElectrophilic Aromatic Substitution (EAS)Nucleophilic Aromatic Substitution (SNAr)Nucleophilic Acyl SubstitutionAmines: Structure, Basicity, and ReactionsAmine Reactivity: Nucleophilicity and BasicityAmino Acid Structure and PropertiesPeptide Bonds and Polypeptide FormationProtein Primary StructureProtein Secondary StructureProtein Tertiary StructureEnzyme Structure and FunctionTranscription: DNA to RNARNA Types and StructureRNA Structure and Intramolecular Base PairingRNA Processing and SplicingTranslation: RNA to ProteinRibosomes: Protein Synthesis MachinesTranslation: Initiation and ElongationPost-Translational ModificationsProteasomal Degradation and Ubiquitin-Mediated MarkingCell Cycle Regulation and CheckpointsCell Cycle Checkpoints: Ensuring Genome IntegrityCell Cycle Checkpoints and Cancer PreventionMitotic Spindle Checkpoint and Chromosome SegregationKinetochore Structure and FunctionMitochondria: Structure and FunctionCellular Respiration OverviewBacterial Metabolism OverviewAntibiotic Resistance MechanismsInfectious Disease EpidemiologyFoundations of EpidemiologyMeasuring Disease Frequency: Incidence and PrevalenceEpidemiologic Study DesignsStudy Design in BiostatisticsSurvival Analysis: Kaplan-Meier EstimationLog-Rank Test for Survival ComparisonCox Proportional Hazards Model

Longest path: 230 steps · 1325 total prerequisite topics

Prerequisites (4)

Leads To (4)