lrpCI {longRPart}R Documentation

Calculate confidence intervals for longitudinal regression trees

Description

Using bootstrapping to calculate confidence intervals for the first split of a longitudinal regression tree, as outlined in the referenced paper. The details are outlined in the linked pdf.

Usage

lrpCI(model,B,alpha)

Arguments

model model produced by longRPart
B Number of bootstrap samples to run
alpha The desired confidence level

Details

To calculate the confidence interval, B bootstrap samples of the patients are taken from the model data set, and a longitudinal regression tree is built, resulting B initial splitting values (one from each tree). The 100(1-a)% confidence interval is calculated using the quantiles of the B splitting values.

Value

a vector of split values is returned, from which the confidence intervals can be obtained

Author(s)

Mohamed Abdolell <mo@dal.ca> and Sam Stewart

References

Abdolell et al. Binary partitioning for continuous longitudinal data: categorizing a prognostic variable. Statistics in Medicine (2002) vol. 21 pp. 3395-3409

See Also

../doc/bootstrap.pdf


[Package longRPart version 1.0 Index]