powered by
A test statistic of \(\Phi\) is to test network dependence in categorical observations.
phi.stat(A, Y)
[n x n] adjacency matrix or general relational weight matrix of which \(A_ij\) indicates relationship from \(i\) to \(j\).
[n x n]
a vector of \(n\) nominal or binary, one-dimensional observations.
phi
a standardized \(\Phi\) statistic.