Enter your data below as comma-separated x,y pairs (one pair per line) or upload a CSV file. The y values should be binary (0 or 1).
Logistic regression is used to predict binary outcomes and calculate probabilities. It's commonly used for classification problems where the dependent variable is categorical (typically 0 or 1).
Unlike linear regression, logistic regression uses a logistic function to model the probability of a binary outcome. The logistic function (sigmoid) transforms any input to a value between 0 and 1:
p = 1 / (1 + e^(-z))
Where:
Use logistic regression when:
Enter your data below as comma-separated x,y pairs (one pair per line) or upload a CSV file. The y values should be binary (0 or 1). The calculator will find the best model and provide statistics about its performance.