start values for the parameters in the linear
predictor (except the intercept).
cluster
Factor indicating which items are correlated.
offset
this can be used to specify an a priori known component to be
included in the linear predictor during fitting.
family
Currently, the only valid values are binomial and
poisson. The binomial family allows for the logit and
cloglog links.
control
A list. Controls the convergence criteria. See
glm.control for details.
boot
number of bootstrap replicates. If equal to zero, no test
of significance of the grouping factor is performed. If non-zero, it
should be large, at least, say, 2000.
Value
A list with components
coefficients
Estimated regression coefficients (note: No intercept).
logLik
The maximised log likelihood.
cluster.null.deviance
deviance from a moddel without cluster.
frail
The estimated cluster effects.
bootLog
The maximised bootstrap log likelihood values. A vector
of length boot.
bootP
The bootstrap p value.
variance
The variance-covariance matrix of the fixed effects
(no intercept).
sd
The standard errors of the coefficients.
boot_rep
The number of bootstrap replicates.
Note
A profiling approach is used to estimate the cluster effects.
Author(s)
Göran Broström
See Also
glmmboot
Examples
## Not run
x <- matrix(rnorm(1000), ncol = 1)
id <- rep(1:100, rep(10, 100))
y <- rbinom(1000, size = 1, prob = 0.4)
fit <- glmmbootFit(x, y, cluster = id, boot = 200)
summary(fit)
## End(Not run)
## Should show no effects. And boot too small.