# 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: |

Failed to create compartment diagram

### True f[X] values

    f[AMP] = 2
    f[INT] = 8
    f[KOUT] = 0.05
    f[ANOISE] = 3

### Starting f[X] values

    f[AMP] = 3
    f[INT] = 16
    f[KOUT] = 0.1
    f[ANOISE] = 5

## Outputs

### Generating and Fitting Summaries

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

### Fitted f[X] values

    f[AMP] = 1.9959
    f[INT] = 19.845
    f[KOUT] = 0.049823
    f[ANOISE] = 2.9042

## Plots

### Dense comp plots

Alternatively see All dense_comp graph plots

## Comparison

### True objective value

    815.056221082

### Final fitted objective value

    812.580774546

### Compare Main f[X]

Name | Initial | Fitted | True | Prop. Error | Abs. Error
--- | --- | --- | --- | --- | ---
f[AMP] | 3 | 2… | 2 | 0.21% | 4.15e-03
f[INT] | 16 | 19.8 | 8 | 148.06% | 1.18e+01
f[KOUT] | 0.1 | 0.0498 | 0.05 | 0.35% | 1.77e-04

### Compare Noise f[X]

Name | Initial | Fitted | True | Prop. Error | Abs. Error
--- | --- | --- | --- | --- | ---
f[ANOISE] | 5 | 2.9 | 3 | 3.19% | 9.58e-02

### Compare Variance f[X]

No Variance f[X] values to compare.