public class LinearModelUtils
public static double Ftest(double F,
double numeratordf,
double denominatordf)
Calculates the p-value associated with an F statistic. The returned p-value is the probability that a greater F is drawn from the F-distribution.
F - - value of the F statisticnumeratordf - - degreees of freedom in the numerator of Fdenominatordf - - degreees of freedom in the denominator of Fpublic static DoubleMatrix createFixedEffectsArray(java.util.ArrayList<kotlin.Array[]> factorList, java.util.ArrayList<kotlin.Array[]> covariateList, kotlin.Array[] missing)
factorList - an ArrayList of String[], where each String[] contains the names of the levels of a factorcovariateList - missing - public static <T> T[] getNonMissingElements(T[] array,
kotlin.Array[] missing)
array - an array of type Tmissing - an array of booleans equal to true if that element of the array should be deleted, false otherwisepublic static kotlin.Array[] getNonMissingElements(kotlin.Array[] array,
kotlin.Array[] missing)
array - an array of doublesmissing - an array of booleans equal to true if that element of the array should be deleted, false otherwisepublic static void shuffle(kotlin.Array[] source,
java.util.Random randomizer)
public static void shuffle(DoubleMatrix columnMatrix, java.util.Random randomizer)