Learn R Programming

saemix (version 3.3)

stepwise.procedure: Stepwise procedure for joint selection of covariates and random effects

Description

Joint selection of covariates and random effects in a nonlinear mixed effects model by a stepwise-type algorithm based on two different versions of BIC for covariate selection and random effects selection respectively. Selection is made among the covariates as such specified in the SaemixData object. Only uncorrelated random effects structures are considered.

Usage

stepwise.procedure(saemixObject, covariate.init = NULL, trace = TRUE)

Value

An object of the SaemixObject class storing the covariate model and the covariance structure of random effects of the final model.

Arguments

saemixObject

An object returned by the saemix function

covariate.init

A matrix specifying the initial covariate structure to be considered in the algorithm.

trace

If TRUE, a table summarizing the steps of the algorithm is printed. Default "TRUE"

Author

Maud Delattre

References

M Delattre, M Lavielle, MA Poursat (2014) A note on BIC in mixed effects models. Electronic Journal of Statistics 8(1) p. 456-475 M Delattre, MA Poursat (2017) BIC strategies for model choice in a population approach. (arXiv:1612.02405)