confint: Confidence intervals for mixed models

Description Usage Arguments Value Author(s)

Description

Compute confidence intervals for mixed models from packages nlme and lme4

Usage

1
2
3
4
5
6
## S3 method for class 'lme'
confint(object, parm, level = 0.95, ...)
## S3 method for class 'mer'
confint(object, parm, level = 0.95,
            simulate = c("ifneeded", TRUE, FALSE),
            B = 1000,...)

Arguments

object

Model of class lme or mer.

parm

Parameters to be included in the confidence interval. See confint.default for details.

level

the confidence level.

simulate

If “"ifneeded"” is specified (default), simulated confidence intervals are returned if (and only if) no z-value exists in the corresponding summary and asymptotic confidence intervals will be returned elsewhise. If TRUE (or “"TRUE"”) confidence intervals will be estimated using ci from package gmodels which uses mcmcsamp internally. If FALSE (or “"FALSE"”), asymptotic confidence intervals will be returned and an error is given if not possible.

B

number of samples to take in mcmcsamp. Per default 1000 samples are used.

...

Additional arguments. Currently not used.

Value

Matrix with confidence intervalls.

Author(s)

Benjamin Hofner, partially based on code from package stats. See source code for documentation.


papeR documentation built on May 2, 2019, 4:55 p.m.