predict.lqmm: Predictions from an 'lqmm' Object

Description Usage Arguments Value Author(s) References See Also

View source: R/lqmm.R

Description

The predictions at level 0 correspond to population predictions (based only on the fixed effects estimates). The predictions at level 1 are obtained by adding the best linear predictions of the random effects to the predictions at level 0. The function predint will produce 1-alpha confidence intervals based on bootstrap centiles.

Usage

1
2
3
4
5
## S3 method for class 'lqmm'
predict(object, level = 0, ...)
## S3 method for class 'lqmm'
predint(object, level = 0, alpha = 0.05, R = 50,
	seed = round(runif(1, 1, 10000)))

Arguments

object

an lqmm object.

level

an optional integer vector giving the level of grouping to be used in obtaining the predictions. Level zero corresponds to the population predictions.

alpha

1-alpha is the confidence level.

R

number of bootstrap replications.

seed

optional random number generator seed.

...

not used.

Value

a vector or a matrix of predictions for predict.lqmm. A data frame or a list of data frames for predint.lqmm containing predictions, lower and upper bounds of prediction intervals, and standard errors.

Author(s)

Marco Geraci

References

Geraci M and Bottai M (2014). Linear quantile mixed models. Statistics and Computing, 24(3), 461–479. doi: 10.1007/s11222-013-9381-9.

See Also

lqmm, ranef.lqmm, coef.lqmm


lqmm documentation built on May 2, 2019, 4:46 p.m.