mantelZtest: Statistical test for Mantel's Z statistic

Description Usage Arguments Details Value Author(s) References See Also

Description

Function to estimate statistical significance for Mantel's Z statistic.

Usage

1
   mantelZtest(X,Y,perm=9999)

Arguments

X

Original matrix X.

Y

Original matrix Y.

perm

Number of permutations. Between 1 and 1000000

Details

mantelZtest estimates statistical significance of Mantel's Z statistic by means of a permutation test.

Value

mantel_Z

Mantel's statistic.

right_pvalue

Right-tailed p-value.

left_pvalue

Left-tailed p-value

Author(s)

David Leiva <dleivaur@ub.edu>, Antonio Solanas <antonio.solanas@ub.edu>, Han de Vries <J.deVries1@uu.nl>, & David A. Kenny <david.kenny@uconn.edu>.

References

Mantel, N. (1967). The detection of disease clustering and a generalized regression approach. Cancer Research, 27, 209-220.

See Also

getexpecZ, getSEZ, getZ.


DLEIVA/DyaDA documentation built on May 6, 2019, 1:17 p.m.