[Monolix] Sampling from the conditional distribution
Estimate the conditional distribution which can be sampled from (i.e. for diagnostic plots) or used to estimate individual parameters (i.e. the conditional mean). Note that the population parameters must be already estimated (i.e. by calling runPopulationParameterEstimation).
Usage
runConditionalDistributionSampling()
Details
The associated method keyword is "conditionalMean" when calling getEstimatedIndividualParameters, getEtaShrinkage, or getEstimatedRandomEffects.
See also
getEstimatedIndividualParameters to get the mean of the conditional distribution
runPopulationParameterEstimation to estimate population parameters
runConditionalModeEstimation to estimate EBEs
runStandardErrorEstimation to estimate standard errors of the population parameters
runLogLikelihoodEstimation to estimate the log-likelihood of the model
runScenario to run multiple estimation tasks
Examples
initializeLixoftConnectors("monolix")
loadProject(file.path(getDemoPath(), "1.creating_and_using_models", "1.1.libraries_of_models", "theophylline_project.mlxtran"))
runPopulationParameterEstimation()
runConditionalDistributionSampling()
indivParams_condMean = getEstimatedIndividualParameters(method = "conditionalMean")