:orphan: 





.. _tut_example1_gen:



Simple Tut Example
##################

[Generated automatically as a Generation summary]

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


:Name: tut_example1

:Title: Simple Tut Example

:Author: PoPy for PK/PD

:Abstract: 

| One compartment model with elimination rate constant KE.

:Keywords: one compartment model; iv_one_cmp_k

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

:Diagram: 


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


Outputs
*******



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



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


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


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


Alternatively see :ref:`tut_example1_simulated_sim_plots`

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


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

    * - .. thumbnail:: images/gen_sim_grph_outputs/allOBS(DV_CENTRAL)_vs_IPRED(CEN)/pop_scatter.svg
            :width: 200px
      - allOBS(DV_CENTRAL)_vs_IPRED(CEN)
    * - .. thumbnail:: images/gen_sim_grph_outputs/allOBS_vs_TIME/comb_spag.svg
            :width: 200px
      - allOBS_vs_TIME
    * - .. thumbnail:: images/gen_sim_grph_outputs/RES(DV_CENTRAL)_wrt_IPRED(CEN)/pop_scatter.svg
            :width: 200px
      - RES(DV_CENTRAL)_wrt_IPRED(CEN)
    * - .. thumbnail:: images/gen_sim_grph_outputs/WRES(DV_CENTRAL)_wrt_IPRED(CEN)/pop_scatter.svg
            :width: 200px
      - WRES(DV_CENTRAL)_wrt_IPRED(CEN)

Generated parameter .csv files
==============================


:Fixed Effects: :download:`fx_params.csv (gen) <tut_example1_gen.pyml_output/fx_params.csv>`

:Random Effects: :download:`rx_params.csv (gen) <tut_example1_gen.pyml_output/rx_params.csv>`

:Model params: :download:`mx_params.csv (gen) <tut_example1_gen.pyml_output/mx_params.csv>`

:State values: :download:`sx_params.csv (gen) <tut_example1_gen.pyml_output/sx_params.csv>`

:Predictions: :download:`px_params.csv (gen) <tut_example1_gen.pyml_output/px_params.csv>`


:Observations: :download:`synthetic_data.csv (gen) <synthetic_data.csv>`


Inputs
******



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


.. code-block:: pyml

    f[KE] = 0.1000
    f[PNOISE] = 0.0500
    f[KE_isv] = 0.0300

