File Exchange

image thumbnail

Multivariate Hoeffding's Phi-Squared

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

2 Downloads

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.
Usage:

> multphi2(data)

Where:

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.

References:

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 (2021). Multivariate Hoeffding's Phi-Squared (https://www.mathworks.com/matlabcentral/fileexchange/46773-multivariate-hoeffding-s-phi-squared), MATLAB Central File Exchange. Retrieved .

Comments and Ratings (2)

Dazhen Gu

This is great! Thanks for sharing the code.

Aks

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

Community Treasure Hunt

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

Start Hunting!