HCPM: Heterogeneous correlation and p-value matrices
Description
Extends the traditional correlation matrix (between numerical data) to also
include binary and ordinal categorical data and computes the p-values for the tests of uncorrelation.
Usage
HCPM(data = NULL)
Value
A list with with elements:
cor_mat
An \(p\) by \(p\) heterogeneous correlation matrix
p_value
An \(p\) by \(p\) heterogeneous p-values matrix
Arguments
data
A data frame. Values of type 'numeric' or 'integer' are treated as numerical.
References
Tortora C., Madhvani S., Punzo A. (2025). Designing unsupervised mixed-type
feature selection techniques using the
heterogeneous correlation matrix. International Statistical Review.
https://doi.org/10.1111/insr.70016