bootcurve {jmcm}R Documentation

Plot Fitted Curves and Corresponding Confidence Interval using bootstrapping method

Description

Plot fitted curves and corresponding 95% confidence interval using bootstrapping method.

Usage

bootcurve(object, nboot)

Arguments

object

a fitted joint mean covariance model of class "jmcmMod", i.e., typically the result of jmcm().

nboot

number of the bootstrap replications.

Examples

## Not run: 
# It may take hours for large bootstrap replications
fit.mcd <- jmcm(I(sqrt(cd4)) | id | time ~ 1 | 1, data=aids,
  triple = c(8, 1, 3), cov.method = 'mcd', control = jmcmControl(trace=T))
bootcurve(fit.mcd, nboot = 1000)

## End(Not run)


[Package jmcm version 0.2.4 Index]