rinottConstant

fun rinottConstant(numTreatments: Int, pStar: Double, dof: Int): Double

Calculates Rinott constants as per Table 2.13 of Bechhofer et al.

Derived from Fortran code in

Design and Analysis of Experiments for Statistical Selection, Screening, and Multiple Comparisons

Robert E. Bechhofer, Thomas J. Santner, David M. Goldsman

Return

the computed Rinott constant

Parameters

numTreatments

the number of treatments in the comparison, must be at least 2

pStar

the lower bound on probably of correct selection

dof

the number of degrees of freedom. If the first stage samples size is n_0, then the dof = n_0 - 1, must be 4 or more