MonolixSuite in R
Breadcrumbs

setLogLikelihoodEstimationSettings

[Monolix] Set log-likelihood estimation settings

Set the value of the log-likelihood estimation settings for the current project.
Associated settings are:

nbFixedIterations

(integer > 0)

Monte Carlo size for importance sampling.

samplingMethod

(character)

Should the log-likelihood estimation use a given number of degrees of freedom ("fixed") or test a sequence of degrees of freedom numbers before choosing the best one ("optimized").

nbFreedomDegrees

(integer > 0)

Degree of freedom of the Student's t-distribution. Used only if "samplingMethod" is "fixed".

freedomDegreesSampling

(vector 0>)

Sequence of degrees of freedom of the Student's t-distribution to be tested. Used only if "samplingMethod" is "optimized".

Usage

R
setLogLikelihoodEstimationSettings(...)

Arguments

... A collection of comma-separated pairs (settingName = settingValue).

See also

getLogLikelihoodEstimationSettings

Examples

R
initializeLixoftConnectors("monolix")
loadProject(file.path(getDemoPath(), "1.creating_and_using_models", "1.1.libraries_of_models", "theophylline_project.mlxtran"))

setLogLikelihoodEstimationSettings(nbFixedIterations = 20000)
getLogLikelihoodEstimationSettings()
#> $nbfixediterations
#> [1] 20000
#> 
#> $nbfreedomdegrees
#> [1] 5
#> 
#> $freedomdegreessampling
#> [1]  1  2  5 10 15
#> 
#> $samplingmethod
#> [1] "fixed"
#>