Learn R Programming

netdep (version 0.1.0)

phi.stat: Standardized \(\Phi\) statistic

Description

A test statistic of \(\Phi\) is to test network dependence in categorical observations.

Usage

phi.stat(A, Y)

Arguments

A

[n x n] adjacency matrix or general relational weight matrix of which \(A_ij\) indicates relationship from \(i\) to \(j\).

Y

a vector of \(n\) nominal or binary, one-dimensional observations.

Value

phi

a standardized \(\Phi\) statistic.