# MTut Script

Generates multiple synthetic populations sets from a PK/PD model, then fits the same model to each population. A multi population version of Tut Script.

Generates a MGen Script and a MFit Script. Also creates a MComp Script to compare the true parameters from the synthetic populations with the fitted parameters.

See Generate multiple data sets and Fit using Simple PopPK Model and Generate multiple data sets and Fit using a Two Compartment Model for walk through examples.

## Main Sections of a MTut Script

- METHOD_OPTIONS

- PARALLEL

- DESCRIPTION

- FILE_PATHS

- DATA_FIELDS

- GEN_EFFECTS

- FIT_EFFECTS

- PREPROCESS

- MODEL_PARAMS

- STATES

- DERIVATIVES

- PREDICTIONS

- ODE_SOLVER

- FIT_METHODS

- COVARIANCE

- OUTPUT_OPTIONS

- OUTPUT_SCRIPTS