getPHIrexpec: Mathematical expectancy of the PHIr statistic -PHIrexpec-

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

Description

Function to obtain mathematical expectancy of the PHIr statistic under a specified null hypothesis regarding social reciprocity and by means of the observed sociomatrix.

Usage

1

Arguments

X

Original sociomatrix.

pi

Matrix of probabilities Pij that specifies the null hypothesis regarding social reciprocity.

Details

getPHIrexpec computes the mathematical expectancy of the PHIr statistic under any null hypothesis. The null hypothesis of complete reciprocation could be of interest to social researchers. This hypothesis can be represented as Pij = .5 for all i and j.

Value

PHIrexpec

Mathematical expectancy of the PHIr statistic under the specified null hypothesis.

Author(s)

David Leiva dleivaur@ub.edu & Antonio Solanas antonio.solanas@ub.edu.

References

Solanas, A., Leiva, D., Sierra, V., & Salafranca, Ll. (2009). Measuring and making decisions for social reciprocity. Behavior Research Methods. 41, 742-754.

See Also

getPHIr.

Examples

1
2
  X=matrix(c(0, 1, 2, 1, 0, 1, 3, 1, 0),nrow=3,ncol=3)
  pi=matrix(c(0, 0.5, 0.5, 0.5, 0, 0.5, 0.5, 0.5, 0),nrow=3,ncol=3)

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