:orphan: 





.. _direct_pd_fit:



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

[Generated automatically as a Fitting summary]

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


:Name: direct_pd

:Title: Direct PD Model

:Author: PoPy for PK/PD

:Abstract: 

| A simple direct PD Model, 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_fit.pyml <direct_pd_fit.pyml>`

:Diagram: 


.. thumbnail:: direct_pd_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        800.0499      300.0499         0.6001
f[KOUT]                    0.1000          0.0300        0.0700         0.6999
===============  ================  ==============  ============  =============

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


===============  ================  ==============  ============  =============
Variable Name      Starting Value    Fitted Value    Abs Change    Prop Change
===============  ================  ==============  ============  =============
f[ANOISE]                  5.0000          9.9922        4.9922         0.9984
===============  ================  ==============  ============  =============

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




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


.. list-table:: 
    :width: 90%

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

Outputs
*******



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

.. code-block:: pyml

    460.5766


which required 1.30 iterations and took 11.67 seconds

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


.. code-block:: pyml

    f[BASE] = 800.0499
    f[KOUT] = 0.0300
    f[ANOISE] = 9.9922



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


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

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

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

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

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

:Likelihoods: :download:`lx_params.csv (fit) <direct_pd_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[ANOISE] = 5.0000

