Skip to main content

首页 / Posts

【SPSS】Regression Analysis — Logistic Regression: Ordered Logistic Regression

This article introduces the steps of ordered logistic regression analysis, including how to set variables, run the test of parallel lines, derive the regression equation, and interpret results, helping readers understand model fit and the effects of independent variables on the dependent variable.

Rosetears·
··673 words·4 mins

Data Requirements:
#

  1. Dependent variable: it should be an ordinal multi-category variable, meaning the categories have a clear order relationship, but the intervals between categories do not have to be equal. Examples include education level (primary school, junior high school, senior high school, university) or satisfaction ratings (very dissatisfied, dissatisfied, average, satisfied, very satisfied).
  2. Independent variables: independent variables can be continuous variables, such as age and income, or categorical variables, such as gender and region. For categorical variables, numeric codes are recommended to ensure the correctness of the order relationship.

Operation Steps:
#

  1. In the menu bar, choose “Analyze” > “Regression” > “Ordinal…” to open the ordered logistic regression analysis dialog box.

  2. Set variables:

    • Dependent variable (Dependent): drag the ordered multi-category dependent variable into this box.
    • Factors: drag categorical independent variables into this box.
    • Covariates: drag continuous independent variables into this box.
  3. Click the “Statistics” button and select “Test of parallel lines” to test the model’s parallel-lines assumption.

  4. Click “Continue,” then click “OK” to run the analysis.


Result Interpretation:
#

  1. Test of parallel lines: Check the result in the parallel-lines assumption test section. If the p-value is greater than 0.05, the parallel-lines assumption holds and you can continue with subsequent analysis. If the p-value is less than 0.05, the parallel-lines assumption does not hold, and other types of logistic regression, such as multinomial logistic regression or binary logistic regression, are recommended.

  2. Model fitting information: Check model goodness-of-fit indicators, such as the -2 log likelihood value and the p-value of the likelihood-ratio test. If the p-value is less than 0.05, the model fits well and the fitted result is statistically significant.

  3. Parameter estimates: Check each independent variable’s regression coefficient, standard error, Wald statistic, and p-value. Independent variables with p-values below 0.05 are statistically significant and can be considered to have a strong effect on the dependent variable.

  4. Pseudo R-squared: Pseudo R-squared is used to evaluate model fit and measures the match between model predictions and actual observed data. Three common pseudo R-squared methods are:

    • McFadden’s pseudo R-squared: designed for discrete-choice models and widely used in economics and social-science research. This item is recommended as the first one to analyze.
    • Nagelkerke pseudo R-squared: an adjustment of McFadden’s pseudo R-squared that provides a more intuitive evaluation of goodness of fit.
    • Cox-Snell pseudo R-squared: another commonly used pseudo R-squared method.

    In general, a higher pseudo R-squared value indicates better model fit.


Regression Equation
#

The regression equation for ordered logistic regression is as follows:

$$ P_k = \frac{e^{(\alpha_k + \beta_1 X_1 + \beta_2 X_2 + \cdots + \beta_k X_k)}}{\sum_{i=1}^K e^{(\alpha_i + \beta_1 X_1 + \beta_2 X_2 + \cdots + \beta_k X_k)}} $$

$$ \begin{array} This equation calculates the probability of each category, where P_k is the probability that the dependent variable belongs to category k, \ \alpha_k is the constant term, \ \beta_1, \beta_2, \dots, \beta_k are the regression coefficients of the independent variables,\ X_1, X_2, \dots, X_k are the independent variables. \end{array} $$

f86a41fb10f0598dd831c44e1f2ff364.png


Result Explanation:
#

  1. Model fitting information: By checking the model’s significance value (p-value), if the significance value is less than 0.05, the model fit is significant and can effectively explain the relationship between the dependent variable and independent variables.
  2. Pseudo R-squared: Pseudo R-squared is used to measure model fit. A higher value indicates a better fit. It is recommended to first analyze McFadden’s pseudo R-squared, followed by Nagelkerke and Cox-Snell pseudo R-squared.
  3. Test of parallel lines: If the p-value of the test of parallel lines is greater than 0.05, the parallel-lines assumption holds and ordered logistic regression analysis can continue. If the p-value is less than 0.05, the parallel-lines assumption does not hold, and other regression analyses, such as multinomial or binary logistic regression, should be considered.

Interpreting these analysis results can help you better understand the application of the ordered logistic regression model, identify which independent variables have significant effects on the dependent variable, and evaluate model fit. If you have more questions or need further explanation, feel free to ask!

Click this text to watch the video version of this article

Related

Regression Analysis — Differences Among Three Types of Logistic Regression

··453 words·3 mins
This article introduces three common logistic regression models: binary logistic regression, multinomial logistic regression, and ordered logistic regression. It explains their applications and differences for different dependent-variable types, helping readers understand when to use these statistical models in real analysis.

【SPSS】Regression Analysis — Linear Regression

··757 words·4 mins
This article introduces the main differences between linear regression and logistic regression, and explains the steps, result interpretation, and common statistics in regression analysis, such as R-squared, the Durbin-Watson value, and regression coefficients, helping readers understand how to use regression models for data analysis.

【SPSS】Correlation Analysis

··499 words·3 mins
This article introduces how to use SPSS for correlation analysis and how to interpret correlation matrices and heatmaps, helping readers quickly master correlation-analysis methods and result interpretation among scale dimensions.

【SPSS】Difference Analysis

··1475 words·7 mins
This article explains independent-samples t tests and one-way analysis of variance (ANOVA) in difference analysis, including SPSS operation steps, homogeneity-of-variance testing, t-value analysis, and result interpretation, helping readers understand how to compare mean differences between groups in data analysis.

【SPSS】Normality Test

··268 words·2 mins
This article introduces how to use SPSS for descriptive statistical analysis, focusing on how to test normal distribution with histograms and Q-Q plots, helping users better understand data distributions and the analysis process.

【SPSS】Validity Analysis

··1081 words·6 mins
This article introduces common SPSS validity-analysis methods, including exploratory factor analysis, principal component analysis, and confirmatory factor analysis. It explains how to interpret the KMO test and factor loadings to help readers understand validity assessment in data analysis.