# Sine circadian model

[Generated automatically as a Tutorial summary]

## Model Description

Name:

  circ_sin

Title:

  Sine circadian model

Author:

  PoPy for PK/PD

Abstract:

A PD Model based on the amount of drug in the body.
The PD model uses a sine function which simulates a circadian rhythm for the generation of a biomarker.
The amount in the central compartment is determined by CL and V, PK patameters , which have been previosly estimated for each individual.
The amount in the central compartment influences the rate of production of a biomarker.

Keywords:

  PD; Pharmacodynamics; sine function; Circadian rhythm

Input Script:

  `circ_sin_tut.pyml`

Diagram:

## Comparison

### True objective value

    815.0562

### Final fitted objective value

    811.9569

### Compare Main f[X]

Name | Initial | Fitted | True | Abs. Error | Prop. Error
--- | --- | --- | --- | --- | ---
f[AMP] | 3 | 2… | 2 | 1.79e-03 | 0.09%
f[INT] | 16 | 7.87 | 8 | 1.29e-01 | 1.61%
f[KOUT] | 0.1 | 0.05… | 0.05 | 1.56e-05 | 0.03%

### Compare Noise f[X]

Name | Initial | Fitted | True | Abs. Error | Prop. Error
--- | --- | --- | --- | --- | ---
f[ANOISE] | 5 | 3.08 | 3 | 7.59e-02 | 2.53%

### Compare Variance f[X]

No Variance f[X] values to compare.

## Outputs

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

    f[AMP] = 2.0018
    f[INT] = 7.8714
    f[KOUT] = 0.0500
    f[ANOISE] = 3.0759

### Generated data .csv file

Synthetic Data:

  `synthetic_data.csv`

### Gen and Fit Summaries

- Gen: Sine circadian model (gen)

- Fit: Sine circadian model (fit)

## Inputs

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

    f[AMP] = 2.0000
    f[INT] = 8.0000
    f[KOUT] = 0.0500
    f[ANOISE] = 3.0000

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

    f[AMP] = 3.0000
    f[INT] = 16.0000
    f[KOUT] = 0.1000
    f[ANOISE] = 5.0000