Skip to main content
QUICK REVIEW

[Paper Review] XPCA: Extending PCA for a Combination of Discrete and Continuous Variables

Clifford Anderson-Bergman, Tamara G. Kolda|arXiv (Cornell University)|Aug 22, 2018
Statistical Methods and InferenceMathematics1 references8 citations
TL;DR

This paper proposes XPCA, a novel extension of principal component analysis (PCA) that handles mixed data types—continuous, discrete, and ordinal—by combining a Gaussian copula with nonparametric marginals. Unlike traditional PCA or COCA, XPCA integrates over interval bounds for discrete variables in the likelihood function, enabling principled dimensionality reduction and imputation while preserving data range constraints. The key contribution is a statistically grounded, likelihood-based method that outperforms PCA and COCA on heterogeneous datasets with discrete or semi-continuous variables.

ABSTRACT

Principal component analysis (PCA) is arguably the most popular tool in multivariate exploratory data analysis. In this paper, we consider the question of how to handle heterogeneous variables that include continuous, binary, and ordinal. In the probabilistic interpretation of low-rank PCA, the data has a normal multivariate distribution and, therefore, normal marginal distributions for each column. If some marginals are continuous but not normal, the semiparametric copula-based principal component analysis (COCA) method is an alternative to PCA that combines a Gaussian copula with nonparametric marginals. If some marginals are discrete or semi-continuous, we propose a new extended PCA (XPCA) method that also uses a Gaussian copula and nonparametric marginals and accounts for discrete variables in the likelihood calculation by integrating over appropriate intervals. Like PCA, the factors produced by XPCA can be used to find latent structure in data, build predictive models, and perform dimensionality reduction. We present the new model, its induced likelihood function, and a fitting algorithm which can be applied in the presence of missing data. We demonstrate how to use XPCA to produce an estimated full conditional distribution for each data point, and use this to produce to provide estimates for missing data that are automatically range respecting. We compare the methods as applied to simulated and real-world data sets that have a mixture of discrete and continuous variables.

Motivation & Objective

  • To address the limitation of PCA in handling non-normal, discrete, or ordinal variables in multivariate data analysis.
  • To extend the probabilistic PCA framework to accommodate heterogeneous data types without assuming parametric marginal distributions.
  • To develop a likelihood-based method that integrates over intervals for discrete variables, improving model fit and imputation accuracy.
  • To enable matrix completion with range-respecting estimates for missing data in mixed-type datasets.

Proposed method

  • XPCA uses a Gaussian copula to model dependence structure between variables, decoupling marginal distributions from dependence.
  • Nonparametric marginals are estimated using empirical distribution functions, allowing flexibility for any continuous or discrete marginal.
  • For discrete variables, the likelihood is computed by integrating over interval bounds corresponding to each discrete value, rather than point masses.
  • The method employs a negative log-likelihood (NLL) loss function that accounts for interval probabilities via the cumulative distribution function (CDF) of the standard normal.
  • A majorization-minimization algorithm is used to optimize the NLL, enabling convergence and handling of missing data via iterative updates of U and V matrices.
  • Imputation is performed by estimating the full conditional distribution per data point using the fitted model, ensuring values remain within valid ranges.

Experimental results

Research questions

  • RQ1Can a likelihood-based PCA framework be extended to handle mixed discrete and continuous variables while preserving statistical rigor?
  • RQ2How does XPCA compare to PCA and COCA in terms of dimensionality reduction and imputation accuracy on heterogeneous datasets?
  • RQ3Can interval-based likelihood integration for discrete variables improve model fit and prediction performance compared to point-mass approximations?
  • RQ4To what extent does XPCA outperform existing methods in matrix completion with missing data, especially when data includes discrete or zero-inflated variables?
  • RQ5Does the use of midpoint ranking in COCA improve performance on discrete data, and how does it compare to XPCA’s interval integration?

Key findings

  • XPCA significantly outperforms PCA and COCA on datasets with discrete or semi-continuous variables, particularly in imputation accuracy and model fit.
  • On simulated zero-inflated and discrete data, XPCA achieved substantially lower mean squared error (MSE) than COCA when ties were handled via midpoint ranking.
  • The use of midpoint ranking in COCA reduced MSE by 38% compared to maximum rank, demonstrating its importance in handling ties for discrete data.
  • XPCA enables range-respecting imputation by estimating the full conditional distribution for each data point, avoiding out-of-bounds predictions.
  • The proposed fitting algorithm converges reliably and supports matrix completion with missing data, maintaining statistical consistency across mixed variable types.
  • Empirical results on real NBA and U.S. Senator voting data confirmed XPCA’s ability to uncover latent structure and support predictive modeling in heterogeneous data.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.