glm.test.control(maxit, epsilon, R2Max)
maxit
parameter sets
the maximum number of iterations to be carried out, while the
epsilon
parameter sets the criterion for determining
convergence. After fitting the base model, the new terms are added, but
terms judged to be "aliased" are omitted. The method for determining
aliasing is as follows (denoting the "design" matrix for the additional
terms by Z
):
Z
on the base model matrix,
using the final GLM weights from the base model fit, and replace
Z
with the residuals from these regressions.
Z
matrix in turn,
regressing it on the previous columns (again using the weights
from the base model fit). If the proportion of the weighted sum of
squares "explained" by this regression exceeds R2Max
, the term
is dropped and not included in the test,
The aim of this procedure to avoid wasting degrees of freedom on columns so strongly aliased that there is little power to detect their effect.
snp.lhs.tests
, snp.rhs.tests