Learn R Programming

gppm (version 0.3.0)

confint.GPPM: Confidence Intervals

Description

Computes confidence intervals for one or more parameters in a fitted GPPM.

Usage

# S3 method for GPPM
confint(object, parm, level = 0.95, ...)

Value

A matrix (or vector) with columns giving lower and upper confidence limits for each parameter. These will be labeled as (1-level)/2 and 1 - (1-level)/2 in \

Arguments

object

object of class GPPM. Must be fitted, that is, a result from fit.GPPM.

parm

vector of strings. The parameters for which confidence intervals are desired. If missing, confidence intervals for all parameters are returned.

level

scalar from 0 to 1. The confidence level required.

...

additional arguments (currently not used).

See Also

Other functions to extract from a GPPM: SE(), coef.GPPM(), covFun(), fitted.GPPM(), getData(), getIntern(), logLik.GPPM(), maxNObs(), meanFun(), nObs(), nPars(), nPers(), nPreds(), parEsts(), pars(), preds(), vcov.GPPM()

Examples

Run this code
# \donttest{
data("demoLGCM")
lgcm <- gppm(
  "muI+muS*t", "varI+covIS*(t+t#)+varS*t*t#+(t==t#)*sigma",
  demoLGCM, "ID", "y"
)
lgcmFit <- fit(lgcm)
confInts <- confint(lgcmFit)
# }

Run the code above in your browser using DataLab