:orphan: 





.. _cwres_emax_misspecified_model_tut:



Demonstration of CWRES diagnostic
#################################

[Generated automatically as a Tutorial summary]

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


:Name: cwres_emax_misspecified_model

:Title: Demonstration of CWRES diagnostic

:Author: PoPy for PK/PD

:Abstract: 

| Demonstration of CWRES diagnostic on Hooker's Emax model with
| incorrect population parameters

:Keywords: cwres; emax

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

:Diagram: 


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


Comparison
**********



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


.. code-block:: pyml

    28300.1400



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


.. code-block:: pyml

    28300.1400



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]
=====================



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


Outputs
*******



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


.. code-block:: pyml

    f[EMAX] = 100.0000
    f[C50] = 20.0000
    f[Hill] = 1.0000
    f[EMAX_isv] = 0.5000
    f[C50_isv] = 0.5000



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


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


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


* Gen: :ref:`cwres_emax_misspecified_model_gen` (gen)
* Fit: :ref:`cwres_emax_misspecified_model_fit` (fit)

Inputs
******



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

.. code-block:: pyml

    f[EMAX] = 100.0000
    f[C50] = 20.0000
    f[Hill] = 4.5000
    f[EMAX_isv] = 0.5000
    f[C50_isv] = 0.5000



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

.. code-block:: pyml

    f[EMAX] = 100.0000
    f[C50] = 20.0000
    f[Hill] = 1.0000
    f[EMAX_isv] = 0.5000
    f[C50_isv] = 0.5000

