RPMM (version 1.20)

glcSplitCriterionLRT: Gaussian RPMM Split Criterion: Use likelihood ratio test p value

Description

Split criterion function: use likelihood ratio test p value to determine split.

Usage

glcSplitCriterionLRT(llike1, llike2, weight, ww, J, level)

Arguments

llike1
one-class likelihood.
llike2
two-class likelihood.
weight
weights from RPMM node.
ww
“ww” from RPMM node.
J
Number of items.
level
Node level.

Value

llike1
Just returns llike1
llike2
Just returns llike2
J
Just returns J
weight
Just returns weight
degFreedom
Degrees-of-freedom for LRT
chiSquareStat
Chi-square statistic
split
TRUE=split the node, FALSE=do not split the node.

Details

This is a function of the form “glcSplitCriterion...”, which is required to return a list with at least a boolean value split, along with supporting information. See glcTree for example of using “glcSplitCriterion...” to control split.

See Also

glcSplitCriterionBIC, glcSplitCriterionBICICL, glcSplitCriterionJustRecordEverything, glcSplitCriterionLevelWtdBIC