:orphan: 





.. _direct_pd_pop_fit:



Direct PD Model
###############

[Generated automatically as a Fitting summary]

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


:Name: direct_pd_pop

:Title: Direct PD Model

:Author: PoPy for PK/PD

:Abstract: 

| A simple direct PD Model, i.e, no delay compartments, based on the amount of drug in the body.
| The amount in the central compartment is determined by K, which has been previously estimated for each individual.
| The amount in the central compartment influences the rate of removal of a biomarker (KOUT).

:Keywords: pd; one compartment model; direct

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

:Diagram: 


.. thumbnail:: direct_pd_pop_fit.pyml_output/compartment_diagram.svg
    :width: 200px


Comparison
**********



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


===============  ================  ==============  ============  =============
Variable Name      Starting Value    Fitted Value    Abs Change    Prop Change
===============  ================  ==============  ============  =============
f[BASE]                  500.0000        781.2044      281.2044         0.5624
f[KOUT]                    0.1000          0.0315        0.0685         0.6853
===============  ================  ==============  ============  =============

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


===============  ================  ==============  ============  =============
Variable Name      Starting Value    Fitted Value    Abs Change    Prop Change
===============  ================  ==============  ============  =============
f[PNOISE]                  0.0500          0.0983        0.0483         0.9656
f[ANOISE]                  0.2000          0.8209        0.6209         3.1045
===============  ================  ==============  ============  =============

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


====================  ================  ==============  ============  =============
Variable Name           Starting Value    Fitted Value    Abs Change    Prop Change
====================  ================  ==============  ============  =============
f[BASE_isv]                     0.0200          0.0339        0.0139         0.6940
f[BASE_isv;KOUT_isv]            0.0000         -0.0050        0.0050       INF
f[KOUT_isv;BASE_isv]            0.0000         -0.0050        0.0050       INF
f[KOUT_isv]                     0.0200          0.0024        0.0176         0.8799
====================  ================  ==============  ============  =============

Individual simulated (sim) plots
================================



.. thumbnail:: images/fit_sim_grph_outputs/indOBS_vs_TIME/000001.svg
    :width: 200px


.. thumbnail:: images/fit_sim_grph_outputs/indOBS_vs_TIME/000002.svg
    :width: 200px


.. thumbnail:: images/fit_sim_grph_outputs/indOBS_vs_TIME/000003.svg
    :width: 200px


Alternatively see :ref:`direct_pd_pop_simulated_sim_plots`

Population simulated (sim) plots
================================


(No population graphs were requested.)

Outputs
*******



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

.. code-block:: pyml

    3917.4035


which required 1.29 iterations and took 193.26 seconds

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


.. code-block:: pyml

    f[BASE] = 781.2044
    f[KOUT] = 0.0315
    f[PNOISE] = 0.0983
    f[ANOISE] = 0.8209
    f[BASE_isv,KOUT_isv] = [
        [ 0.0339, -0.0050 ],
        [ -0.0050, 0.0024 ],
    ]



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


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

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

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

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

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

:Likelihoods: :download:`lx_params.csv (fit) <direct_pd_pop_fit.pyml_output/solN/lx_params.csv>`



Inputs
******


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


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


.. code-block:: pyml

    f[BASE] = 500.0000
    f[KOUT] = 0.1000
    f[PNOISE] = 0.0500
    f[ANOISE] = 0.2000
    f[BASE_isv,KOUT_isv] = [
        [ 0.0200, 0.0000 ],
        [ 0.0000, 0.0200 ],
    ]

