SIMRUN

SIMRUN is available in the Statistics Base Edition.

The SIMRUN command runs a simulation based on a simulation plan created from the SIMPLAN command. All settings required to run the simulation are specified in the simulation plan file. The SIMRUN command only provides options for customizing the output.

SIMRUN
/PLAN FILE=file

[/CRITERIA
    [REPRESULTS = {TRUE**}]
                  {FALSE }
    [SEED = {629111597**}]
            {number     }

[/DISTRIBUTION
   [DISPLAY = [CDF] [PDF**] [NONE] ]

   [CDFORDER = [ASCENDING**] [DESCENDING] ]

   [SCALE= [MEAN] [MEDIAN] [PCT[({5** 95**     })]] [SIGMAS(integer)] 
                                 {value [value]}

           [CUSTOM(value [value [...] ] )] [PDFVIEW([CURVE**] [HISTOGRAM])] 

           [OVERLAYTARGETS({NO**})]
                           {YES }

           [REFLINES([LOWER={DEFAULT**}] [UPPER={DEFAULT**}])]
                            {value    }         {value    }
                            {LO       }         {HI       }

   [CATEGORICAL= [PREDVAL**] [PREDPROB] [GROUP([CATS**] [ITERS])] ]


[/SCATTERPLOT
   [DISPLAY = {YES }]
              {NO**}
   [ROWSIZE={DEFAULT**}]
            {integer  }

[/BOXPLOT
   [DISPLAY = {YES }]
              {NO**}
   [OVERLAYTARGETS= {NO**}
                    {YES }[(GROUP=[TARGETS**] [ITERS])]

[/TORNADO
   [DISPLAY = {YES**}]
              {NO   }

   [TYPE= [CORR**] [DELTASTDDEV(number)] [VARIANCE] ]

[/PRINT
   [DESCRIPTIVES = {YES**}[(CILEVEL={95** })] ]
                                    {value}
                   {NO   }

   [PERCENTILES = {YES }([NTILES = integer] [PTILES = valueList]) ]
                  {NO**}

   [ASSOCIATIONS={YES }]
                 {NO**}

[/OPTIONS
   [VIZSTYLESHEET="style sheet name"[LOCATION={LOCAL**                }] ]
                                              {"repository folderspec"}

[/OUTFILE
   FILE={'filespec' | 'dataset'}

** Default if the subcommand or keyword is omitted.

This command does not read the active dataset or execute pending transformations.

Syntax for the SIMRUN command can be generated from the Simulation Builder or the Run Simulation dialog.

Release History

Release 21.0

  • Command introduced.

Release 22.0

  • Added support for saving the simulated data to the active dataset by specifying an asterisk (*) on the FILE keyword of the OUTFILE subcommand.
  • REFLINES keyword added to DISTRIBUTION subcommand.
  • ASSOCIATIONS keyword added to PRINT subcommand.
  • OPTIONS subcommand added.

Example

SIMRUN
/PLAN FILE='/simulations/myplan.splan'.