# Bioavailability and Lag

[Generated automatically as a Tutorial summary]

## Inputs

### Description

Name: | biolag_abs_lag
Title: | Bioavailability and Lag
Author: | Wright Dose Ltd
Abstract: |

One compartment model absorption dosing with bioavailability and lag parameters.

Keywords: | identifiability; bioavailability; lag; dep_one_cmp_cl
Input Script: | `biolag_abs_lag_tut.pyml`
Diagram: |

Failed to create compartment diagram

### True f[X] values

    f[KA] = 0.3
    f[CL] = 3
    f[V] = 20
    f[ANOISE_STD] = 1
    f[BIO] = 1
    f[LAG] = 5

### Starting f[X] values

    f[KA] = 0.5
    f[CL] = 1
    f[V] = 15
    f[ANOISE_STD] = 5
    f[BIO] = 1
    f[LAG] = 1

## Outputs

### Generating and Fitting Summaries

- Gen: Bioavailability and Lag (gen)
- Fit: Bioavailability and Lag (fit)

### Fitted f[X] values

    f[KA] = 1
    f[CL] = 3.226
    f[V] = 22.521
    f[ANOISE_STD] = 0.89139
    f[BIO] = 1
    f[LAG] = 8.6656

## Plots

### Dense comp plots

Alternatively see All dense_comp graph plots

## Comparison

### True objective value

    44.2049919534

### Final fitted objective value

    38.5225344639

### Compare Main f[X]

Name | Initial | Fitted | True | Prop. Error | Abs. Error
--- | --- | --- | --- | --- | ---
f[KA] | 0.5 | 1 | 0.3 | 233.33% | 7.00e-01
f[CL] | 1 | 3.23 | 3 | 7.53% | 2.26e-01
f[V] | 15 | 22.5 | 20 | 12.60% | 2.52e+00
f[BIO] | 1 | 1 | 1 | 0.00% | 0.00e+00
f[LAG] | 1 | 8.67 | 5 | 73.31% | 3.67e+00

### Compare Noise f[X]

Name | Initial | Fitted | True | Prop. Error | Abs. Error
--- | --- | --- | --- | --- | ---
f[ANOISE_STD] | 5 | 0.891 | 1 | 10.86% | 1.09e-01

### Compare Variance f[X]

No Variance f[X] values to compare.