Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

confint.gllvm

Confidence intervals for model parameters


Description

Computes confidence intervals for parameters in a fitted gllvm model.

Usage

## S3 method for class 'gllvm'
confint(object, parm = NULL, level = 0.95, ...)

Arguments

object

an object of class 'gllvm'.

parm

a specification of which parameters are to be given confidence intervals, a vector of names. Examples of options are "beta0", "Xcoef",theta", "phi". If missing, all parameters are considered.

level

the confidence level. Scalar between 0 and 1.

...

not used.

Author(s)

Jenni Niku <jenni.m.e.niku@jyu.fi>

Examples

## Not run: 
## Load a dataset from the mvabund package
data(antTraits)
y <- as.matrix(antTraits$abund)
X <- as.matrix(antTraits$env[,1:2])
# Fit gllvm model
fit <- gllvm(y = y, X = X, family = poisson())
# 95 % confidence intervals for coefficients of X variables
confint(fit, level = 0.95, parm = "Xcoef")

## End(Not run)

gllvm

Generalized Linear Latent Variable Models

v1.3.0
GPL-2
Authors
Jenni Niku [aut, cre], Wesley Brooks [aut], Riki Herliansyah [aut], Francis K.C. Hui [aut], Sara Taskinen [aut], David I. Warton [aut], Bert van der Veen [aut]
Initial release
2021-4-26

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.