:orphan: 





.. _biolag_abs_bio_fit:



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

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

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

:Diagram: 


.. thumbnail:: biolag_abs_bio_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.6302526255


which required N. iterations and took 345.70 seconds

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

.. code-block:: pyml

    f[KA] = 0.4038
    f[CL] = 2.624
    f[V] = 16.15
    f[ANOISE_STD] = 0.90055
    f[BIO] = 1
    f[LAG] = 0.0016455



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


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

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

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

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

:Predictions: :download:`px_params.csv (fit) <biolag_abs_bio_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_bio_dense_sim_plots`

Comparison
**********



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


===============  ==============  ================  =============  ============
Variable Name      Fitted Value    Starting Value    Prop Change    Abs Change
===============  ==============  ================  =============  ============
f[KA]                0.403799                 0.5      0.192401      0.0962005
f[CL]                2.62398                  1        1.62398       1.62398
f[V]                16.1504                  15        0.0766966     1.15045
f[BIO]               1                        1        0             0
f[LAG]               0.00164553               1        0.998354      0.998354
===============  ==============  ================  =============  ============

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


===============  ==============  ================  =============  ============
Variable Name      Fitted Value    Starting Value    Prop Change    Abs Change
===============  ==============  ================  =============  ============
f[ANOISE_STD]          0.900547                 5       0.819891       4.09945
===============  ==============  ================  =============  ============

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


