:orphan: 





.. _biolag_abs_both_fit:



Bioavailability and Lag
#######################

[Generated automatically as a Fitting 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: :download:`biolag_abs_both_fit.pyml <biolag_abs_both_fit.pyml>`

:Input Data: :download:`synthetic_data.csv <synthetic_data.csv>`

:Diagram: 


.. thumbnail:: biolag_abs_both_fit.pyml_output/fit/compartment_diagram.svg
    :width: 200px


Initial fixed effect estimates
==============================

.. code-block:: pyml

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



Outputs
*******



Final objective value
=====================

.. code-block:: pyml

    39.6942478039


which required 7 iterations and took 0.55 seconds

Final fitted fixed effects
==========================

.. code-block:: pyml

    f[KA] = 0.97089
    f[CL] = 1.6898
    f[V] = 13.526
    f[ANOISE_STD] = 0.90185
    f[BIO] = 1
    f[LAG] = 0.00049507



Fitted parameter .csv files
===========================


:Fixed Effects: :download:`fx_params.csv (fit) <biolag_abs_both_fit.pyml_output/fit/solN/fx_params.csv>`

:Random Effects: :download:`rx_params.csv (fit) <biolag_abs_both_fit.pyml_output/fit/solN/rx_params.csv>`

:Model params: :download:`mx_params.csv (fit) <biolag_abs_both_fit.pyml_output/fit/solN/mx_params.csv>`

:State values: :download:`sx_params.csv (fit) <biolag_abs_both_fit.pyml_output/fit/solN/sx_params.csv>`

:Predictions: :download:`px_params.csv (fit) <biolag_abs_both_fit.pyml_output/fit/solN/px_params.csv>`



Plots
*****



Dense sim plots
===============



.. thumbnail:: images/fit_dense/000000.svg
    :width: 200px


Alternatively see :ref:`biolag_abs_both_dense_sim_plots`

Comparison
**********



Compare Main f[X]
=================


===============  ==============  ================  =============  ============
Variable Name      Fitted Value    Starting Value    Prop Change    Abs Change
===============  ==============  ================  =============  ============
f[KA]               0.970889                  0.5      0.941777       0.470889
f[CL]               1.68982                   1        0.68982        0.68982
f[V]               13.5257                   15        0.0982881      1.47432
f[BIO]              1                         1        0              0
f[LAG]              0.000495075               1        0.999505       0.999505
===============  ==============  ================  =============  ============

Compare Noise f[X]
==================


===============  ==============  ================  =============  ============
Variable Name      Fitted Value    Starting Value    Prop Change    Abs Change
===============  ==============  ================  =============  ============
f[ANOISE_STD]          0.901855                 5       0.819629       4.09815
===============  ==============  ================  =============  ============

Compare Variance f[X]
=====================


