# Sine circadian model

[Generated automatically as a Tutorial summary]

## Inputs

### Description

Name: | circ_sin
Title: | Sine circadian model
Author: | Wright Dose Ltd
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: |

### True f[X] values

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

### Starting f[X] values

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

## Outputs

### Generating and Fitting Summaries

- Gen: Sine circadian model (gen)
- Fit: Sine circadian model (fit)

### Fitted f[X] values

    f[AMP] = 2.0017
    f[INT] = 19.8701
    f[KOUT] = 0.0500
    f[ANOISE] = 10.0000

## Plots

### Dense comp plots

Alternatively see All dense_comp graph plots

## Comparison

### True objective value

    815.0562

### Final fitted objective value

    1174.9538

### Compare Main f[X]

Name | Initial | Fitted | True | Prop. Error | Abs. Error
--- | --- | --- | --- | --- | ---
f[AMP] | 3 | 2… | 2 | 0.08% | 1.70e-03
f[INT] | 16 | 19.9 | 8 | 148.38% | 1.19e+01
f[KOUT] | 0.1 | 0.05… | 0.05 | 0.03% | 1.28e-05

### Compare Noise f[X]

Name | Initial | Fitted | True | Prop. Error | Abs. Error
--- | --- | --- | --- | --- | ---
f[ANOISE] | 5 | 10 | 3 | 233.33% | 7.00e+00

### Compare Variance f[X]

No Variance f[X] values to compare.