getexpeccirc: Expected number of circular triads

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

Description

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

Usage

1

Arguments

X

Original sociomatrix.

Details

getexpeccirc computes the expected number of circular triads in a sociomatrix according the formula {≤ft( N \right) ≤ft( N-1 \right) ≤ft( N-2 \right)} \over 24.

Value

expectedcirc

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

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