:orphan: 





.. _d1cmp_ka_v_stderr_tut:



One Compartment Model with Absorption estimating KA and V
#########################################################

[Generated automatically as a Tutorial summary]

Model Description
*****************


:Name: d1cmp_ka_v_stderr

:Title: One Compartment Model with Absorption estimating KA and V

:Author: PoPy for PK/PD

:Abstract: 

| One Compartment Model with Absorption compartment with rate (KA).
| Elimination rate parametrised by clearance (CL)
| and volume of distribution (V).
| Model specification uses incremental flows

:Keywords: dep_one_cmp_cl; one compartment model

:Input Script: :download:`d1cmp_ka_v_stderr.pyml <d1cmp_ka_v_stderr.pyml>`

:Diagram: 


.. thumbnail:: compartment_diagram.svg
    :width: 200px


Comparison
**********



True objective value
====================


.. code-block:: pyml

    -44.5041



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


.. code-block:: pyml

    -44.7678



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



.. csv-table:: 
    :file: fx_comp_main.csv
    :header-rows: 1


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


No Noise f[X] values to compare.

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


No Variance f[X] values to compare.

Outputs
*******



Fitted f[X] values (after fitting)
==================================


.. code-block:: pyml

    f[KA] = 0.2738
    f[V] = 17.9968
    f[CL] = 3.2389



Generated data .csv file
========================


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


Gen and Fit Summaries
=====================


* Gen: :ref:`d1cmp_ka_v_stderr_gen` (gen)
* Fit: :ref:`d1cmp_ka_v_stderr_fit` (fit)

Inputs
******



True f[X] values (for simulation)
=================================

.. code-block:: pyml

    f[KA] = 0.3000
    f[V] = 20.0000
    f[CL] = 3.0000



Starting f[X] values (before fitting)
=====================================

.. code-block:: pyml

    f[KA] = 0.3000
    f[V] = 20.0000
    f[CL] = 3.2389

