Skip to main content
AI Platform ↗
08. Correlation, Linear & Logistic Regression9 min readAdvanced Lesson

Linear vs Logistic Regression: Continuous Slopes vs Sigmoid Log-Odds

Ordinary Least Squares (OLS) linear models for continuous outcomes versus Maximum Likelihood binary logistic models for event probabilities.

In this lesson you will learn

  • 1Interpret the unstandardized slope (B), standardized beta (β), intercept (β₀), and R² in Ordinary Least Squares (OLS) linear regression.
  • 2Explain why binary outcomes (0/1) require a Logistic Sigmoid model rather than a straight OLS line.
  • 3Convert a logistic regression log-odds coefficient (β) into an Adjusted Odds Ratio via exp(β).
On this page▼
01

Core Regression Parameters & Clinical Interpretation

What this section is about

This section defines Slope (B / β), Intercept (β₀), Coefficient of Determination (R²), Residuals (ε), and Adjusted Odds Ratio (aOR = exp(B)).

Why it matters for your study

Confusing raw log-odds B with the exponentiated Odds Ratio exp(B) in a logistic regression table leads to misreporting risk direction and magnitude.

Regression models extend correlation from describing association to predicting outcomes and adjusting for confounding variables:

Parameter Linear Regression (Continuous Y) Logistic Regression (Binary Y = 0/1)
Unstandardized B Additive change in Y units per 1-unit increase in X. Additive change in log-odds ln(p / [1 − p]) per 1-unit increase in X.
Clinical Effect Metric Slope B (95% CI) and Standardized Beta (β). Adjusted Odds Ratio aOR = exp(B) with 95% CI.
Model Fit R² and Adjusted R² (proportion of variance explained). Log-likelihood χ², Nagelkerke pseudo-R², Hosmer-Lemeshow, ROC-AUC.
Null Value B = 0 (horizontal slope). B = 0 in log-odds, which equals OR = exp(0) = 1.0.
0 (Null Effect)Clinical Threshold (MCID)Trial A (Statistically & Clinically Significant)Trial B (p < .001, but Clinically Trivial)Trial C (Inconclusive — crosses 0)
Figure:Linear regression estimates additive unit changes (null = 0), whereas logistic regression estimates multiplicative odds ratios (null = 1.0).

Interactive Linear & Logistic Regression Lab

Toggle between continuous OLS linear regression line and binary logistic sigmoid probability curve

Regression Slope (β₁):0.65
Coefficient of Determination (R²):0.57 (57% of variance explained)
Ŷ = 18.4 + 0.65·X (R² = 0.57)Predictor Variable (X)
Core Reporting Formula: For each 1-unit increase in the predictor (X), the outcome increases by 0.65 units (β = 0.65, p < .001). The model accounts for 57% of outcome variance (R² = 0.57).

Clinical Example

A multivariable study of 150 Type 2 diabetes patients models HbA1c (%) from Fasting Glucose (mg/dL), BMI (kg/m²), and Age (years).

Intercept = 3.82 | Glucose: B = 0.024 (β = 0.52, p < .001) | BMI: B = 0.065 (β = 0.24, p < .001) | Age: B = 0.008 (p = .185)

Interpretation: Holding BMI and Age constant, each 10 mg/dL increase in fasting glucose raises predicted HbA1c by 0.24% (10 × 0.024). Comparing Standardized Betas shows Fasting Glucose (β = 0.52) has more than twice the relative influence of BMI (β = 0.24).

Common Pitfall

Dismissing a biological regression model because R² is 0.35 (35%), overlooking that complex human outcomes are influenced by many unmeasured genetic and environmental factors.

Advanced Chapter

Included with Any Analysez AI Study Package

This deep interactive chapter (Linear vs Logistic Regression: Continuous Slopes vs Sigmoid Log-Odds) and its clinical simulation labs are unlocked for everyone who has bought any Analysez AI study package.

Full unlock of all 10 advanced handbook modules & interactive labs
Interactive statistical models, sandbox data editors & live curve simulators
Publication-ready APA 7th Word table downloads & results templates
Full access to the Analysez AI automated 55-check data cleaning platform
Linear vs Logistic Regression: Continuous Slopes vs Sigmoid Log-Odds | Biostatistics Handbook | Analysez