Usage
glmmML.fit(X, Y, weights = rep(1, NROW(Y)), cluster.weights = rep(1, NROW(Y)),
start.coef = NULL, start.sigma = NULL,
fix.sigma = FALSE,
cluster = NULL, offset = rep(0, nobs), family = binomial(),
method = 1, n.points = 1,
control = list(epsilon = 1.e-8, maxit = 200, trace = FALSE),
intercept = TRUE, boot = 0, prior = 0)
Arguments
X
Design matrix of covariates.
Y
Response vector. Or two-column matrix.
weights
Case weights. Defaults to one.
cluster.weights
Cluster weights. Defaults to one.
start.coef
Starting values for the coefficients.
start.sigma
Starting value for the mixing standard deviation.
fix.sigma
Should sigma be fixed at start.sigma?
cluster
The clustering variable.
offset
The offset in the model.
family
Family of distributions. Defaults to binomial with logit
link. Other possibilities are binomial with cloglog link and poisson
with log link.
method
Laplace (1) or Gauss-hermite (0)?
n.points
Number of points in the Gauss-Hermite
quadrature. Default is n.points = 1
, which is equivalent to
Laplace approximation.
intercept
Logical. If TRUE, an intercept is fitted.
boot
Integer. If > 0, bootstrapping with boot
replicates.
prior
Which prior distribution? 0 for "gaussian", 1 for
"logistic", 2 for "cauchy".