Usage
resid_boot(formula, data, gfix = NULL, eps = NULL, xi = NULL, null.resids = TRUE, theta = NULL, ssq = NULL, tsq = NULL, cov.theta = NULL, seed = NULL, nsim = 1000, mySolver = "LS", ncon = 1, ...)
Arguments
formula
a formula expression. The constrained effect(s) must come before any unconstrained covariates on the right-hand side of the expression. The first ncon
terms will be assumed to be constrained.
data
data frame containing the variables in the model.
gfix
optional vector of group levels for residual variances. Data should be sorted by this value.
eps
estimates of residuals.
xi
estimates of random effects.
null.resids
logical indicating if residuals should be computed under the null hypothesis.
theta
estimates of fixed effects coefficients. Estimated if not submitted.
ssq
estimates of residual variance components. Estimated if not submitted.
tsq
estimates of random effects variance components. Estimated if not submitted.
cov.theta
covariance matrix of fixed effects coefficients. Estimated if not submitted.
seed
set the seed for the RNG.
nsim
number of bootstrap samples to use for significance testing.
mySolver
solver to use, passed to activeSet
.
ncon
the number of variables in formula
that are constrained.
...
space for additional arguments.