Binary logistic regression
Model a binary outcome in relation to explanatory variables and estimate odds ratios.
Data requirements
Use an outcome with exactly two observed values and one or more predictors. Specify the event value explicitly.
Upload UTF-8 CSV or TSV with unique column names in the first row. Blank, NA, N/A, NaN and NULL entries are treated as missing. Files support up to 2 MiB, 10,000 rows, 60 columns and 200,000 cells; module-specific limits also apply.
Parameters
Names match the analysis form. Starting values describe a newly loaded form; column selections depend on your uploaded data. Matching example column names may be preselected. Review every selection before running.
“Optional / conditional” fields may be required by a particular mode or method. The explanation states when each field takes effect. Hold Ctrl / Command to select multiple columns.
Confidence level
NumberEnter a proportion strictly between 0 and 1, such as 0.95 for a 95% confidence interval.
Binary outcome
ColumnBinary response column, excluded from the predictors.
Event value
TextExact response value modeled as the event, such as 1. The other level is the non-event. The initial value can come from your data; confirm it before running.
Predictors
Multiple columnsSelect up to 15 explanatory variables. Exclude the outcome; Cox models also exclude survival time. Unmarked predictors must be numeric.
Categorical variables
Multiple columnsSelect the categorical subset of the predictors, including numeric category codes. The first alphabetical level is the reference, with at most 12 levels per predictor.
Example settings
Load the bundled example in the analysis workspace, or upload the example CSV linked above, then use these settings. These are illustrative choices for the synthetic data.
| Parameter | Setting |
|---|---|
| Confidence level | 0.95 |
| Binary outcome | event |
| Event value | 1 |
| Predictors | age, sex |
| Categorical variables | sex |
Results
Results include log-odds coefficients, odds ratios and confidence intervals, fit information and an odds-ratio plot. Model diagnostics report convergence, event proportion, mean fitted probability and the apparent Brier score. Event coding and categorical reference levels are recorded. Additional downloadable analysis-summary and diagnostics tables describe the analysis scope and method checks. Selected-variable missingness is reported where applicable. Diagnostics do not establish external validity or verify untested assumptions.
Review the reported method, observation count and notes alongside the estimates. Result tables can be downloaded as CSV and the figure as PNG.
Notes & limitations
- Complete-case analysis excludes missing selected values. Sparse categories, separation, dependent predictors and nonconvergence can prevent estimation.