• Language: en

Full matrix generation diagonal matrix fit

[Generated automatically as a Tutorial summary]

Inputs

Description

Name:gen_full_fit_diag
Title:Full matrix generation diagonal matrix fit
Author:Wright Dose Ltd
Abstract:
One compartment model with absorption compartment and CL/V parametrisation.
This script uses a full covariance matrix to generate the data, but a diagonal matrix to fit.
Keywords:dep_one_cmp_cl; one compartment model; diagonal matrix; full matrix
Input Script:gen_full_fit_diag_tut.pyml
Diagram:

Failed to create compartment diagram

True f[X] values

f[KA] = 0.3000
f[CL] = 3.0000
f[V] = 20.0000
f[PNOISE_STD] = 0.1000
f[ANOISE_STD] = 0.0500
f[CL_isv,V_isv] = [
    [ 0.1500, 0.0500 ],
    [ 0.0500, 0.1500 ],
]

Starting f[X] values

f[KA] = 0.3000
f[CL] = 3.0000
f[V] = 20.0000
f[PNOISE_STD] = 0.1000
f[ANOISE_STD] = 0.0500
f[CL_isv,V_isv] = [
    [ 0.0100, 0.0000 ],
    [ 0.0000, 0.0100 ],
]

Outputs

Generating and Fitting Summaries

Fitted f[X] values

f[KA] = 0.3000
f[CL] = 3.0000
f[V] = 20.0000
f[PNOISE_STD] = 0.1000
f[ANOISE_STD] = 0.0500
f[CL_isv,V_isv] = [
    [ 0.1280, 0.0000 ],
    [ 0.0000, 0.1581 ],
]

Plots

Dense comp plots

Alternatively see All dense_comp graph plots

Comparison

True objective value

-2088.4987

Final fitted objective value

-2090.7015

Compare Main f[X]

No Main f[X] values to compare.

Compare Noise f[X]

No Noise f[X] values to compare.

Compare Variance f[X]

Name Initial Fitted True Prop. Error Abs. Error
f[CL_isv] 0.01 0.128 0.15 14.66% 2.20e-02
f[CL_isv;V_isv] 0 0 0.05 100.00% 5.00e-02
f[V_isv;CL_isv] 0 0 0.05 100.00% 5.00e-02
f[V_isv] 0.01 0.158 0.15 5.40% 8.10e-03
Back to Top