## Summary

Clinical Scenario Evaluation (CSE) is performed based on the data, analysis and evaluation models as well as simulation parameters specified by the user. The simulation parameters are defined using the SimParameters object.

## Clinical Scenario Evaluation

### SimParameters object

#### Description

The SimParameters object is a required argument of the CSE function and has the following arguments:

• n.sims defines the number of simulations.
• seed defines the seed to be used in the simulations.
• proc.load defines the processor load in parallel computations.

The proc.load argument is used to define the number of processor cores dedicated to the simulations. A numeric value can be defined as well as character value which automatically detects the number of cores:

• low: 1 processor core.

• med: Number of available processor cores / 2.

• high: Number of available processor cores 1.

• full: All available processor cores.

#### Examples

Examples of SimParameters object specification:

Perform 10000 simulations using all available processor cores:

Perform 10000 simulations using 2 processor cores:

### CSE function

#### Description

The CSE function is invoked to runs simulations under the Clinical Scenario Evaluation approach. This function uses four arguments:

• data defines a DataModel object.

• analysis defines an AnalysisModel object.

• evaluation defines an EvaluationModel object.

• simulation defines a SimParameters object.

#### Examples

The following example illustrates the use of the CSE function:

### Summary of results

Once Clinical Scenario Evaluation-based simulations have been run, the CSE object returned by the CSE function contains a list with the following components:

• simulation.results: a data frame containing the results of the simulations for each scenario.

• analysis.scenario.grid: a data frame containing the grid of the combination of data and analysis scenarios.

• data.structure: a list containing the data structure according to the DataModel object.

• analysis.structure: a list containing the analysis structure according to the AnalysisModel object.

• evaluation.structure: a list containing the evaluation structure according to the EvaluationModel object.

• sim.parameters: a list containing the simulation parameters according to SimParameters object.

• timestamp: a list containing information about the start time, end time and duration of the simulation runs.

The simulation results can be summarized in the R console using the summary function:

A Microsoft Word-based simulation report can be generated from the simulation results produced by the CSE function using the GenerateReport function, see Simulation report.