Learn R Programming

ldamatch (version 1.0.3)

wilks_halt: A multivariate halting test appropriate for more than two condition levels.

Description

A multivariate halting test appropriate for more than two condition levels.

Usage

wilks_halt(condition, covariates, thresh)

Value

The ratio of the p-value and the threshold, or 0 if the p-value is less than the threshold.

Arguments

condition

A factor vector containing condition labels.

covariates

A columnwise matrix containing covariates to match the conditions on.

thresh

The return value of halting_test has to be greater than or equal to thresh for the matched groups.