cnPearsonTest-method {catnet}R Documentation

Goodness of Fit Test

Description

The function calculates the Pearson's chi-square statistics for all nodes of a network.

Usage

cnPearsonTest(object, data)

Arguments

object

a catNetwork

data

a data matrix or data.frame

Details

For given data and network object, the function reports both the chi-square statistics and the degree of freedom for each node in the network for the purpose of performing goodness of fit tests.

Value

A list

Author(s)

N. Balov


[Package catnet version 1.15.7 Index]