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