Skip to content

Scripts

Ready-made scripts for Experimenter: an R or Python file placed at a point in a run order. Each one works against any model. All but the template need no edit. Each script lists the packages it needs.

10 scripts. 8 come in R and in Python, and 2 in one language. The app bundles them. A bare file name in a Script’s File runs the bundled copy, unless a file of that name sits beside the Experiment file. See Run your own R or Python.

The Scripts

ScriptWhat It Does
Calibration Fit (Python)Goodness-of-fit statistics for a calibrated model, computed from the long table that Wide_To_Long writes from the output of an Experimenter Run or Optimization.
Calibration Fit (R)Goodness-of-fit statistics for a calibrated model, computed from the long table that Wide_To_Long writes from the output of an Experimenter Run or Optimization.
Collect DatasetsStacks the per-dataset files one script wrote into a single file.
Import Data PrepReshapes an external data file into a CSV that the Import Links dialog reads.
Scenario ComparisonA report of each job in an Experimenter Output.csv against one base job.
Script TemplateA starting point for a new Experimenter Script, in R and in Python.
Sensitivity IndicesPRCC is the partial rank correlation coefficient.
Theil Fit DiagnosticsThe script reports R squared, MAPE, and the split of the mean square error1 (Sterman) into bias, variance and covariance.
Uncertainty Fan ChartPercentile bands (P5-P95, P25-P75, median) over time, for each output variable that a Sensitivity batch carries.
Wide To LongRewrites a wide Output.csv in the long layout.

Each row goes to that script’s own page. See Scripts for how one enters a run order.