yule {bigergm} | R Documentation |
Compute Yule's Phi-coefficient
Description
This function computes Yule's Phi-coefficient between the true and estimated block membership (its definition can be found here https://en.wikipedia.org/wiki/Phi_coefficient). In this context, the Phi Coefficient is a measure of association between two group membership vectors.
Usage
yule(z_star, z)
Arguments
z_star |
a true block membership |
z |
an estimated block membership |
Value
Real value of Yule's Phi-coefficient between the true and estimated block membership is returned.
Examples
data(toyNet)
yule(z_star = toyNet%v% "block",
z = sample(c(1:4),size = 200,replace = TRUE))
[Package bigergm version 1.2.1 Index]