# Depot + One compartment PK with BLQ

[Generated automatically as a Fitting summary]

## Inputs

### Description

Name: | blq_pk
Title: | Depot + One compartment PK with BLQ
Author: | J.R. Hartley
Abstract: |

Depot One Comp PK model, with BLQ (below level of quantification) observations.

Keywords: | tutorial; pk; advan4; dep_two_cmp; blq
Input Script: | `blq_pk_fit.pyml`
Input Data: | `synthetic_data.csv`
Diagram: |

### Initial fixed effect estimates

    f[KA] = 1.0000
    f[CL] = 1.0000
    f[V1] = 20.0000
    f[KA_isv,CL_isv,V1_isv] = [
        [ 0.0500, 0.0100, 0.0100 ],
        [ 0.0100, 0.0500, 0.0100 ],
        [ 0.0100, 0.0100, 0.0500 ],
    ]
    f[PNOISE] = 0.1000
    f[ANOISE] = 0.0100

## Outputs

### Final objective value

    -763.9922

which required 1.29 iterations and took 1221.65 seconds

### Final fitted fixed effects

    f[KA] = 0.1954
    f[CL] = 2.0254
    f[V1] = 46.9680
    f[KA_isv,CL_isv,V1_isv] = [
        [ 0.1374, 0.0157, 0.0621 ],
        [ 0.0157, 0.0392, 0.0200 ],
        [ 0.0621, 0.0200, 0.1254 ],
    ]
    f[PNOISE] = 0.1389
    f[ANOISE] = 0.0100

### Fitted parameter .csv files

Fixed Effects: | `fx_params.csv (fit)`
Random Effects: | `rx_params.csv (fit)`
Model params: | `mx_params.csv (fit)`
State values: | `sx_params.csv (fit)`
Predictions: | `px_params.csv (fit)`

## Plots

### Dense sim plots

Alternatively see All dense_sim graph plots

## Comparison

### Compare Main f[X]

Variable Name | Starting Value | Fitted Value | Prop Change | Abs Change
--- | --- | --- | --- | ---
f[KA] | 1.0000 | 0.1954 | 0.8046 | 0.8046
f[CL] | 1.0000 | 2.0254 | 1.0254 | 1.0254
f[V1] | 20.0000 | 46.9680 | 1.3484 | 26.9680

### Compare Noise f[X]

Variable Name | Starting Value | Fitted Value | Prop Change | Abs Change
--- | --- | --- | --- | ---
f[PNOISE] | 0.1000 | 0.1389 | 0.3889 | 0.0389

### Compare Variance f[X]

Variable Name | Starting Value | Fitted Value | Prop Change | Abs Change
--- | --- | --- | --- | ---
f[KA_isv] | 0.0500 | 0.1374 | 1.7485 | 0.0874
f[KA_isv;CL_isv] | 0.0100 | 0.0157 | 0.5742 | 0.0057
f[KA_isv;V1_isv] | 0.0100 | 0.0621 | 5.2148 | 0.0521
f[CL_isv;KA_isv] | 0.0100 | 0.0157 | 0.5742 | 0.0057
f[CL_isv] | 0.0500 | 0.0392 | 0.2170 | 0.0108
f[CL_isv;V1_isv] | 0.0100 | 0.0200 | 0.9958 | 0.0100
f[V1_isv;KA_isv] | 0.0100 | 0.0621 | 5.2148 | 0.0521
f[V1_isv;CL_isv] | 0.0100 | 0.0200 | 0.9958 | 0.0100
f[V1_isv] | 0.0500 | 0.1254 | 1.5077 | 0.0754