# Simple Tut Example

[Generated automatically as a Tutorial 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:

  `tut_example1.pyml`

Diagram:

## Comparison

### True objective value

    -44.1427

### Final fitted objective value

    -48.4038

### Compare Main f[X]

Name | Initial | Fitted | True | Abs. Error | Prop. Error
--- | --- | --- | --- | --- | ---
f[KE] | 0.05 | 0.106 | 0.1 | 6.17e-03 | 6.17%

### Compare Noise f[X]

Name | Initial | Fitted | True | Abs. Error | Prop. Error
--- | --- | --- | --- | --- | ---
f[PNOISE] | 0.1 | 0.045 | 0.05 | 5.03e-03 | 10.06%

### Compare Variance f[X]

Name | Initial | Fitted | True | Abs. Error | Prop. Error
--- | --- | --- | --- | --- | ---
f[KE_isv] | 0.1 | 0.026 | 0.03 | 3.98e-03 | 13.28%

## Outputs

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

    f[KE] = 0.1062
    f[PNOISE] = 0.0450
    f[KE_isv] = 0.0260

### Generated data .csv file

Synthetic Data:

  `synthetic_data.csv`

### Gen and Fit Summaries

- Gen: Simple Tut Example (gen)

- Fit: Simple Tut Example (fit)

## Inputs

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

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

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

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