Computes the test statistic for a single permutation of weights.
.perm_eval_one(idx, X, y, w_use, fit_null_beta, fit_null_XtX, stat)Numeric scalar statistic.
Integer index vector for permuted weights.
Numeric design matrix.
Numeric response vector.
Normalized weight vector.
Baseline coefficient vector.
Baseline precision matrix.
Character string, statistic type.