Evelyn·Sep 28Individual causal effects, and the counterfactual you can’t observeYou’ve been asking causal questions since you were a toddler. Every clinical decision you make asks one. If I hadn’t started this patient…
Evelyn·Aug 5Partial likelihood, in one sentenceThe picture so far: Cox writes a patient’s hazard as a baseline shape times a multiplier, and it never names the shape. Last post showed…
Evelyn·Aug 4Why we square the error — the small choice that decides what the model actually learnsI’ve been sitting with a small decision that gets skipped in every intro ML lesson: why do we square the error in the loss function…
Evelyn·Aug 3Why the baseline hazard doesn’t matter, until it doesFor two posts the log-rank test kept pointing somewhere else. It could tell me whether two survival curves differ, but not by how much —…
Evelyn·Jul 31A case where log-rank misses a real differenceLast week I ran log-rank on a reconstructed trial’s curves for a meta-analysis. The two curves obviously differed. One arm ran higher for…
Evelyn·Jul 30Linear regression: two knobs, infinite linesI opened a COPD clinic spreadsheet last week with two columns I hadn’t paid close attention to before — patient age, and FEV1 at last…
Evelyn·Jul 29When log-rank lies: crossing curves and non-proportional hazardsTwo survival curves. One treatment clearly wins the first year; the other clearly wins after that. The curves cross in the middle, and the…
Evelyn·Jul 28Regression or classification? The shape of the answer decides the methodI got asked a prediction question last week that felt simple until I tried to specify it. Could we predict how our COPD clinic patients do…
Evelyn·Jul 27Log-rank isn’t testing what you think it’s testingPut two treatment arms of the RCC cohort on the same axes and you get two Kaplan–Meier curves. One sits above the other. The obvious…
Evelyn·Jul 25KM curves in R: plotting, and pulling median with a CIIn previous posts I wrote about what the confidence interval on a median survival actually is. A range of times, not median ± error, and…