# Bioavailability and Lag

[Generated automatically as a Tutorial summary]

## Inputs

### Description

Name: | biolag_abs_bio
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_bio_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] = 0

### 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.4038
    f[CL] = 2.624
    f[V] = 16.15
    f[ANOISE_STD] = 0.90055
    f[BIO] = 1
    f[LAG] = 0.0016455

## Plots

### Dense comp plots

Alternatively see All dense_comp graph plots

## Comparison

### True objective value

    40.7746562851

### Final fitted objective value

    39.6302526255

### Compare Main f[X]

Name | Initial | Fitted | True | Prop. Error | Abs. Error
--- | --- | --- | --- | --- | ---
f[KA] | 0.5 | 0.404 | 0.3 | 34.60% | 1.04e-01
f[CL] | 1 | 2.62 | 3 | 12.53% | 3.76e-01
f[V] | 15 | 16.2 | 20 | 19.25% | 3.85e+00
f[BIO] | 1 | 1 | 0.583 | 71.53% | 4.17e-01
f[LAG] | 1 | 0.00165 | 0 | inf | 1.65e-03

### Compare Noise f[X]

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

### Compare Variance f[X]

No Variance f[X] values to compare.