cnPearsonTest: Goodness of Fit Test

cnPearsonTest-methodR 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


catnet documentation built on Nov. 10, 2022, 5:08 p.m.