# Direct PD Model Simultaneous PK/PD Parameter fit

[Generated automatically as a Tutorial summary]

## Inputs

### Description

Name: | direct_pd_simul
Title: | Direct PD Model Simultaneous PK/PD Parameter fit
Author: | Wright Dose Ltd
Abstract: |

A simple direct PD Model, based on the amount of drug in the body. That simultaneously fits PK and PD parameters.
The amount in the central compartment is determined by K, which has been previously estimated for each individual.
The amount in the central compartment influences the rate of removal of a biomarker (KOUT).

Keywords: | pd; one compartment model; direct
Input Script: | `direct_pd_simul_tut.pyml`
Diagram: |

Failed to create compartment diagram

### True f[X] values

    f[CL] = 2.0000
    f[V] = 50.0000
    f[BASE] = 800.0000
    f[KOUT] = 0.0300
    f[PK_ANOISE] = 0.5000
    f[PD_ANOISE] = 0.3000

### Starting f[X] values

    f[CL] = 5.0000
    f[V] = 15.0000
    f[BASE] = 500.0000
    f[KOUT] = 0.1000
    f[PK_ANOISE] = 5.0000
    f[PD_ANOISE] = 5.0000

## Outputs

### Generating and Fitting Summaries

- Gen: Direct PD Model Simultaneous PK/PD Parameter fit (gen)
- Fit: Direct PD Model Simultaneous PK/PD Parameter fit (fit)

### Fitted f[X] values

    f[CL] = 2.0029
    f[V] = 48.1367
    f[BASE] = 799.2158
    f[KOUT] = 0.0288
    f[PK_ANOISE] = 0.5095
    f[PD_ANOISE] = 8.2249

## Plots

### Dense comp plots

Alternatively see All dense_comp graph plots

## Comparison

### True objective value

    -203.7595

### Final fitted objective value

    386.5948

### Compare Main f[X]

Name | Initial | Fitted | True | Prop. Error | Abs. Error
--- | --- | --- | --- | --- | ---
f[CL] | 5 | 2… | 2 | 0.14% | 2.88e-03
f[V] | 15 | 48.1 | 50 | 3.73% | 1.86e+00
f[BASE] | 500 | 799 | 800 | 0.10% | 7.84e-01
f[KOUT] | 0.1 | 0.0288 | 0.03 | 3.98% | 1.19e-03

### Compare Noise f[X]

Name | Initial | Fitted | True | Prop. Error | Abs. Error
--- | --- | --- | --- | --- | ---
f[PK_ANOISE] | 5 | 0.51 | 0.5 | 1.90% | 9.52e-03
f[PD_ANOISE] | 5 | 8.22 | 0.3 | 2641.64% | 7.92e+00

### Compare Variance f[X]

No Variance f[X] values to compare.