phi.stat: Standardized Phi statistic

Description Usage Arguments Value Author(s)

View source: R/nettest.R

Description

A test statistic of Φ is to test network dependence in categorical observations.

Usage

1
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 Φ statistic.

Author(s)

Youjin Lee


netdep documentation built on May 2, 2019, 5:52 a.m.