getmaxcirc: Maximum number of circular triads

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

Description

Function to obtain the maximum number of circular triads of an observed matrix.

Usage

1

Arguments

X

Original sociomatrix.

Details

getmaxcirc computes the maximum number of circular triads in a sociomatrix following original formulae proposed by Kendall and Babington Smith (1940):

maxd = {{1 \over 24} ≤ft( N^3 - N \right)} for N odd,
maxd = {{1 \over 24} ≤ft( N^3 - 4N \right)} for N even.

This function is used in getkendall in order to compute the K index for quantifying the degree of linearity in social dominance hierarchies.

Value

maxcirc

Maximum number of circular triads.

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, getkendall, 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
  getmaxcirc(X)

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