ComponentCountTest

constructor(hypothesisedNumComponents: Int, alternativeNumComponents: Int, numObservations: Int, improvementStatistic: Double?, nullStatistics: DoubleArray, numReplicates: Int, level: Double = defaultLevel)(source)

Parameters

hypothesisedNumComponents

the count under test

alternativeNumComponents

the count it is tested against, one greater

numObservations

the size of the sample tested

improvementStatistic

twice the observed gain in log-likelihood, or null when either fit was unusable

nullStatistics

the same quantity on each usable replicate drawn from the fitted hypothesised model

numReplicates

how many replicates were attempted, usable or not

level

the level at which the verdict is read