File Exchange

image thumbnail

Multivariate Hoeffding's Phi-Squared

version (1.79 KB) by Ivan Medovikov
Nonparametric measure of multivariate association.

1 Download

Updated 28 May 2014

View License

Nonparametric measure of multivariate dependence between several random variables proposed in Gaißer, Ruppert & Schmid (2010). Unlike Pearson's or rank correlation (Kendall's tau, Spearman's rho), it picks up dependence of any form.

> multphi2(data)


data - n x d matrix containing n realizations of d random variables, association between which is to be measures.

Output: phi - 1x1 measure of association (phi = 0 corresponds to mutual independence of variables in columns of data, phi = 1 - increasing deterministic (not necessarily linear) relationship.


Gaißer, S., Ruppert, M., & Schmid, F. (2010). A multivariate version of Hoeffding’s Phi-Square. Journal of Multivariate Analysis, 101(10), 2571-2586.

Cite As

Ivan Medovikov (2020). Multivariate Hoeffding's Phi-Squared (, MATLAB Central File Exchange. Retrieved .

Comments and Ratings (2)

Dazhen Gu

This is great! Thanks for sharing the code.


Hi, Thanks for the code! Could you please also provide a set of data to play with?

MATLAB Release Compatibility
Created with R2013b
Compatible with any release
Platform Compatibility
Windows macOS Linux