QAP test

This is a matrix correlation test called Quadratic Assignment Procedure.
470 téléchargements
Mise à jour 24 mars 2011

Afficher la licence

This test was described in Mantel (1967) and Hubert/Schultz (1976), see links below. It's a non-parametric, permutation-based test that preserves the integrity of the structures and the mutual dependence of the observations.

The function takes three parameters X, Y and u. X and Y are matrices you wish to compare, and u is the size of the sample of possible permutations of X. If X and Y are adjacency matrices for a network, then permutations used for this test shuffle the order of the nodes only, and hence do not change the network represented by the matrix (entries on the diagonal stay on the diagonal). The total number of possible permutations is n!, which is computationally too large in most cases, and therefore X is randomly permuted u times. The assumption is that the value of D (the sum over X(i,j)*Y(i,j) for all i~=j) is normally distributed.

The output of the function is z, a two-sided normal CDF score for the correlation between X and Y.

Mantel: http://cancerres.aacrjournals.org/content/27/2_Part_1/209.short

Hubert, Schultz: http://psycnet.apa.org/?fa=main.doiLanding&uid=1978-00142-001

Citation pour cette source

Puck Rombach (2024). QAP test (https://www.mathworks.com/matlabcentral/fileexchange/30847-qap-test), MATLAB Central File Exchange. Récupéré le .

Compatibilité avec les versions de MATLAB
Créé avec R2009b
Compatible avec toutes les versions
Plateformes compatibles
Windows macOS Linux
Catégories
En savoir plus sur Construction dans Help Center et MATLAB Answers

Community Treasure Hunt

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

Start Hunting!

Version Publié le Notes de version
1.0.0.0