getkendall: Kendall's Linearity Index

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

Description

Function to obtain Kendall's linearity index for measuring linear hierarchies.

Usage

1

Arguments

X

Original sociomatrix.

Details

getkendall computes Kendall's linearity index as follows:

K = {1 - {d \over maxd}},

where d is the number of circular triads in the original sociomatrix and maxd is the maximum number of circular triads.

Value

K

Kendall's linearity index.

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

Kendall, M. G., & Babington Smith, B. (1940). On the method of paired comparisons. Biometrika, 31, 324-345.

See Also

getcirc, getexpeccirc, getmaxcirc, getpvkendall.

Examples

1
2
3
4
  set.seed(123)
  X <- matrix(floor(runif(20*20,min=0,max=20)),nrow=20,byrow=TRUE)
  diag(X)<-0
  getkendall(X)

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