# 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.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.0055
    f[INT] = 7.8725
    f[KOUT] = 0.0501
    f[ANOISE] = 3.0838

## Plots

### Dense comp plots

Alternatively see All dense_comp graph plots

## Comparison

### True objective value

    815.0562

### Final fitted objective value

    811.9734

### Compare Main f[X]

Name | Initial | Fitted | True | Prop. Error | Abs. Error
--- | --- | --- | --- | --- | ---
f[AMP] | 3 | 2.01 | 2 | 0.28% | 5.55e-03
f[INT] | 16 | 7.87 | 8 | 1.59% | 1.27e-01
f[KOUT] | 0.1 | 0.0501 | 0.05 | 0.22% | 1.08e-04

### Compare Noise f[X]

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

### Compare Variance f[X]

No Variance f[X] values to compare.