# Bioavailability and Lag

[Generated automatically as a Tutorial summary]

## Inputs

### Description

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

One compartment model absorption dosing with bioavailability and lag parameters.

Keywords: | identifiability; bioavailability; lag
Input Script: | `biolag_abs_both_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] = 0.583
    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] = 0.97089
    f[CL] = 1.6898
    f[V] = 13.526
    f[ANOISE_STD] = 0.90185
    f[BIO] = 1
    f[LAG] = 0.00049507

## Plots

### Dense comp plots

Alternatively see All dense_comp graph plots

## Comparison

### True objective value

    44.2049919535

### Final fitted objective value

    39.6942478038

### Compare Main f[X]

Name | Initial | Fitted | True | Prop. Error | Abs. Error
--- | --- | --- | --- | --- | ---
f[KA] | 0.5 | 0.971 | 0.3 | 223.63% | 6.71e-01
f[CL] | 1 | 1.69 | 3 | 43.67% | 1.31e+00
f[V] | 15 | 13.5 | 20 | 32.37% | 6.47e+00
f[BIO] | 1 | 1 | 0.583 | 71.53% | 4.17e-01
f[LAG] | 1 | 0.000495 | 5 | 99.99% | 5.00e+00

### Compare Noise f[X]

Name | Initial | Fitted | True | Prop. Error | Abs. Error
--- | --- | --- | --- | --- | ---
f[ANOISE_STD] | 5 | 0.902 | 1 | 9.81% | 9.81e-02

### Compare Variance f[X]

No Variance f[X] values to compare.