Learn R Programming

saemix (version 3.3)

dataGen.case: Bootstrap datasets

Description

These functions create bootstrapped datasets using the bootstrap methods described in saemix.bootstrap

Usage

dataGen.case(saemixObject)

dataGen.NP(saemixObject, nsamp = 0, eta.sampc = NULL, conditional = FALSE)

dataGen.Par(saemixObject)

Arguments

saemixObject

an object returned by the saemix function

nsamp

number of samples from the conditional distribution (for method="conditional")

eta.sampc

if available, samples from the conditional distribution (otherwise, they are obtained within the function)

conditional

if TRUE, sample from the conditional distribution, if FALSE, sample within the empirical Bayes estimates (EBE) as in the traditional non-parametric residual bootstrap