## Introduction

The *Binary Logit* is a form of regression analysis that models a binary dependent variable (eg, yes/no, pass/fail, win/lose).

This article describes how to create a Binary Logit Regression output as shown below. The example below is a model that predicts a survey respondent’s likelihood of having consumed a fast-food product based on characteristics like age, gender, and work status.

## Requirements

- A binary
**Outcome**variable to be predicted. Ideally, a*Nominal: Mutually exclusive categories*, variable with values of “0” and “1”. When using stacked data the**Outcome**variable should be a single question in a Multi type structure (eg. Binary-Multi). - Continuous, categorical, or binary
**Predictors**variables will be considered as predictors of the outcome variable. When using stacked data the*Predictor(s)*need to be a single question in a Grid type structure (Binary - Grid).

## Method

- Go to
**Anything > Advanced Analysis >****Regression > Binary Logit.** - In the
**object inspector**go to the**Inputs**tab. - In the
**Output**menu select the binary variable to be predicted by the*predictor variables.* - Select the predictor variable(s) from the
**Predictor(s)**list. - OPTIONAL: Select the desired
**Output**type:**Summary**: The default; as shown in the example above.**Detail**: Typical R output, some additional information compared to**Summary**, but without the pretty formatting.**ANOVA**: Analysis of variance table containing the results of Chi-squared likelihood ratio tests for each predictor.**Relative Importance Analysis**: The results of a relative importance analysis.**Effects Plot**Plots the relationship between each of the*Predictors*and the*Outcome*.

- OPTIONAL: Select the desired
**Missing Data**treatment. (See Missing Data Options). - OPTIONAL: Select
**Variable names**to display variable names in the output instead of labels. - OPTIONAL: Select
**Correction**. Choose between**None**(the default),**False Discovery Rate**,**Bonferroni**. - OPTIONAL: Specify the
**Automated outlier removal**percentage to remove possible outliers. - OPTIONAL: Select
**Stack data**to stack the input data prior to analysis. Stacking can be desirable when each individual in the data set has multiple cases and an aggregate model is desired.

## See Also

How to Run a Generalized Linear Model

How to Run a Multinomial Logit Regression

How to Run NBD Regression in Displayr

How to Run Ordered Logit Regression

How to Run Quasi-Poisson Regression

How to Run a Stepwise Regression

How to Create Regression Multicollinearity Table (VIF)

How to Create a Prediction-Accuracy Table

How to Create a Goodness-of-Fit Plot

How to Test Residual Heteroscedasticity of Regression Models

How to Save Predicted Values of Regression Models

How to Save Fitted Values of Regression Models

How to Save Probabilities of Each Response of Regression Models

How to Test Residual Normality (Shapiro-Wilk) of Regression Models

How to Test Residual Serial Correlation (Durbin-Watson) of Regression Models

## Comments

0 comments

Article is closed for comments.