| PearsonsChiSquareTest(Int32) Constructor |
Test of independence. Asseses whether paired observations on two variables provided in the form of
a contingency table are independent. Use the default alpha to determine accept/reject.
Namespace: CenterSpace.NMath.CoreAssembly: NMath (in NMath.dll) Version: 7.4
Syntax public PearsonsChiSquareTest(
int[,] contingencyTable
)
Public Sub New (
contingencyTable As Integer(,)
)
public:
PearsonsChiSquareTest(
array<int,2>^ contingencyTable
)
new :
contingencyTable : int[,] -> PearsonsChiSquareTest
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
See Also