getFixedEffectsByAutoInit
[Monolix] Automatically estimate initial parameter values
Compute initial values for fixed-effect population parameters. The values are returned in the same format
as getPopulationParameterInformation
and can be passed to setPopulationParameterInformation
to
set the inital values.
Usage
getFixedEffectsByAutoInit(ids = NULL)
Arguments
- ids
(integer) [optional] if included, a vector of indices of individuals to use to estimate initial values, otherwise all individuals are included (can be used to speed up estimation in the case of many individuals)
See also
getPopulationParameterInformation
to get the current population parameter information, including initial valuessetPopulationParameterInformation
to set the population parameter information (e.g. with the results of this method)setInitialEstimatesToLastEstimates
to set the population parameter initial values to the last estimated values
Examples
initializeLixoftConnectors("monolix")
loadProject(file.path(getDemoPath(), "1.creating_and_using_models", "1.1.libraries_of_models", "theophylline_project.mlxtran"))
initValues <- getFixedEffectsByAutoInit()
setPopulationParameterInformation(initValues)
# restrict initial value estimation to only certain individuals
# (most useful when there are many similar individuals and estimation takes a long time)
initValues <- getFixedEffectsByAutoInit(ids = 1:10)