Click or drag to resize

PearsonsChiSquareTest(Int32, Double, Boolean) Constructor

Test of independence. Asseses whether paired observations on two variables provided in the form of a contingency table are independent.

Namespace: CenterSpace.NMath.Core
Assembly: NMath (in NMath.dll) Version: 7.4
Syntax
public PearsonsChiSquareTest(
	int[,] contingencyTable,
	double alpha,
	bool isYatesCorrected
)

Parameters

contingencyTable  Int32
Contingency table is the matrix used for a test of independence of variable i and j. Example: Variables i is sex (M, F) and variable j handedness (left, right). 100 people are sampled randomly to yield the table: handedness R L row 0: M 43 9 row 1: F 44 4
alpha  Double
Criteria for statistical significance
isYatesCorrected  Boolean
Use Yates correction for a 2 × 2 contingency tables.
See Also