When to use it
Use when modeling a binary categorical outcome (0/1, Success/Failure).
Required Inputs
- Binary outcome vector Y (0/1)
- Predictor matrix X
- Confidence level
Fit binary logistic regression models with Odds Ratios (OR), log-odds coefficients β, Wald z-tests, McFadden Pseudo-R², and likelihood ratio tests.
Run this test live in StatLab npm i @statlab/coreUse when modeling a binary categorical outcome (0/1, Success/Failure).
P(Y=1) = 1 / (1 + exp(-(β₀ + β₁X₁ + ...))), OR = exp(β_i)
import statsmodels.api as sm
X = sm.add_constant(x_matrix)
model = sm.Logit(y_vals, X).fit()
print(model.summary())
model <- glm(y ~ x1 + x2, data = df, family = "binomial")
summary(model)
import { logisticRegression } from '@statlab/core';
const res = logisticRegression(yVals, xMatrix);
Continuous A/B testing, statistical telemetry analysis, and automated feedback loops for live backend services.
Explore VoxelPulse →Fixed-price AI release-readiness sprints, automated regression testing, and reliability statistical benchmarks.
Explore VoxelAssurance →Explore static calculators across the StatLab inference engine suite.