Multivariate Hoeffding's Phi-Squared

Nonparametric measure of multivariate association.
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 (2024). Multivariate Hoeffding's Phi-Squared (, MATLAB Central File Exchange. Retrieved .

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

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes