:orphan: 





.. _pa_gen_po_fit_fit:



Proportional error model fitted to proportional + additive noise synthetic data.
################################################################################

[Generated automatically as a Fitting summary]

Inputs
******



Description
===========

:Name: pa_gen_po_fit

:Title: Proportional error model fitted to proportional + additive noise synthetic data.

:Author: Wright Dose Ltd

:Abstract: 

| One compartment model with a depot leading to a central compartment
| This model contains both proportional error only. Input data contains proportional and additive noise.

:Keywords: one compartment model; dep_one_cmp_cl; proportional error

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

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

:Diagram: 


.. thumbnail:: pa_gen_po_fit.pyml_output/fit/compartment_diagram.svg
    :width: 200px


Initial fixed effect estimates
==============================

.. code-block:: pyml

    f[PNOISE_STD] = 0.5



Outputs
*******



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

.. code-block:: pyml

    -228.088191883


which required 5 iterations and took 0.29 seconds

Final fitted fixed effects
==========================

.. code-block:: pyml

    f[PNOISE_STD] = 0.52244



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


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

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

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

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

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



Plots
*****



Dense sim plots
===============



.. thumbnail:: images/fit_dense/000000.svg
    :width: 200px


Alternatively see :ref:`pa_gen_po_fit_dense_sim_plots`

Comparison
**********



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




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


===============  ==============  ================  =============  ============
Variable Name      Fitted Value    Starting Value    Prop Change    Abs Change
===============  ==============  ================  =============  ============
f[PNOISE_STD]          0.522436               0.5      0.0448717     0.0224359
===============  ==============  ================  =============  ============

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


