Published onApril 20, 2026The Coefficient That Flipped SignRegressionStatisticsModel diagnosticsAlone it reads -0.0054. With seven other predictors, +0.0154. Both significant. Why hunting for the guilty variable is the wrong instinct.
Published onApril 13, 2026Regression Coefficients Are Not CausalRegressionStatisticsModel diagnosticsThe smoker coefficient is $24,330. That does not mean quitting saves anyone $24,330, and no amount of significance will make it mean that.
Published onApril 6, 2026Variable Selection, Ridge, Lasso, Elastic NetRegressionMachine learningStatisticsRRidge, lasso and elastic net returned identical test error, to the last digit. The reason is a mistake hiding in a workflow you have copied.
Published onMarch 30, 2026How to Read Logistic Regression OutputRegressionStatisticsRYour model says 1.60. That cannot be a probability. Four things that go wrong reading logistic output, and none of them throw an error.
Published onMarch 23, 2026The R-Squared Trap: When Cleaning BackfiresRegressionModel diagnosticsStatisticsRI removed 53 outliers. R-squared rose from 0.818 to 0.856 and the model got worse. Every number that improved ignored the rows I deleted.