:orphan: 





.. _linear_pd_tut:



Linear PD model
###############

[Generated automatically as a Tutorial summary]

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


:Name: linear_pd

:Title: Linear PD model

:Author: PoPy for PK/PD

:Abstract: 

| A simple Linear PD Model.
| Model consists of a baseline which increases linearly with concentration.

:Keywords: pd; linear; one compartment model

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

:Diagram: 


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


Comparison
**********



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


.. code-block:: pyml

    -52.6006



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


.. code-block:: pyml

    -54.1617



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


No Main f[X] values to compare.

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



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


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


No Variance f[X] values to compare.

Outputs
*******



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


.. code-block:: pyml

    f[BL] = 9.9937
    f[SLOPE] = 1.0412
    f[ANOISE] = 0.4626



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


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


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


* Gen: :ref:`linear_pd_gen` (gen)
* Fit: :ref:`linear_pd_fit` (fit)

Inputs
******



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

.. code-block:: pyml

    f[BL] = 10.0000
    f[SLOPE] = 1.0000
    f[ANOISE] = 0.5000



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

.. code-block:: pyml

    f[BL] = 15.0000
    f[SLOPE] = 0.5000
    f[ANOISE] = 5.0000

