home *** CD-ROM | disk | FTP | other *** search
/ Explore the World of Soft…e: Engineering & Science / Explore_the_World_of_Software_Engineering_and_Science_HRS_Software_1998.iso / programs / statistc / sims35.exe / INSTALL._D2 / COMMAND.DOC < prev    next >
Text File  |  1995-07-18  |  97KB  |  1,866 lines

  1.                     USING THE SIMSTAT COMMAND LANGUAGE
  2.                     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  3.  
  4.      INTRODUCTION
  5.      ~~~~~~~~~~~~
  6.      While  SIMSTAT pulldown  menus and  open panels  allow you  to do
  7.      almost everything  you  need,  it is  also  possible  to  perform
  8.      analysis  using the  SIMSTAT batch  command language.   But,  why
  9.      should you  bother using this  the script language if  you can do
  10.      all you need with  the user interface?   First, using the  script
  11.      language  allows you  to  keep  track of  what  you did  in  your
  12.      analysis.   This may prove very  useful if you want  to come back
  13.      later  and inspect  what you  did or  if you  have to  provide to
  14.      someone else a detailed description of your analyses.  The second
  15.      advantage,  is  that  it   allows  you  to  automate  statistical
  16.      processing of your data  files.  Often, you will  have to perform
  17.      identical series of  analysis on  the same data  file on  several
  18.      occasions  such as  every month  or every  year.   It may  become
  19.      easier  and faster  to  resubmit the  same  script file  than  to
  20.      remember all  what you  did and  do it again  with the  menus and
  21.      dialog boxes.   You may also want to  perform similar analyses on
  22.      different data files.   In that situation, modifying  an existing
  23.      script file  may be more  efficient than  starting from  scratch.
  24.      Another reason to use the script language is that you may want to
  25.      write sets of procedures  that would be executed by  someone else
  26.      less familiar with  statistics or with the  operation of SIMSTAT.
  27.      But SIMSTAT's  script language goes beyond  the simple automation
  28.      of statistical analysis and provides some commands that allows to
  29.      write  interactive  tutorials,  demonstration  programs  or  even
  30.      applications  to be used by someone else.  Those special commands
  31.      let you  to display textual  information, wait  for a  key to  be
  32.      pressed, ask questions, construct bouncing bar menus, play music,
  33.      etc..  This  script language also provides some  new capabilities
  34.      not available through menus and option panels such as the ability
  35.      to  set graphs'  options (title,  axis labels  and scales,  etc.)
  36.      prior to an analysis.
  37.  
  38.      SIMSTAT  script files are plain text files and can be created and
  39.      edited from outside the program  using almost any word processor.
  40.      A script  file must have an  extension of .SCR before  it will be
  41.      recognized  by SIMSTAT.  When  using a word  processor, make sure
  42.      that you  save the script  file as  a plain ASCII  file.   Script
  43.      files  can also be created  and edited from  within SIMSTAT using
  44.      the same external text editor used to edit ASCII data files.
  45.  
  46.      SIMSTAT can  also execute  encrypted and compressed  script files
  47.      with an .SCX extension.   Once you have developed a program,  you
  48.      may  want  to prevent  other from  altering  your source  file or
  49.      simply  hide its content.  One reason  would be to make sure that
  50.      no one else will commercialize your entire program or parts of it
  51.      under  their  own  name.    It may  also  be  useful  to  prevent
  52.      unauthorized  changes to the original  program or, in the context
  53.      of computer  assisted instruction,  it may  be useful  to prevent
  54.      students  to cheat  by looking  at  your code.   A  small utility
  55.      program called  SCR2SCX provided  with the registered  version of
  56.      SIMSTAT allows the  user to  create a special  file (.SCX)  which
  57.      contain  an  encrypted and  compressed  version  of the  original
  58.      program (.SCR).   The resulting  file will be  about 30%  smaller
  59.      than the original file and may be run from within SIMSTAT just as
  60.      any other  script file.  However,  it can no longer  be viewed or
  61.      edited either form within SIMSTAT or from an external editor.
  62.  
  63.      The SIMSTAT script language currently provides more than 60 built
  64.      in  commands.   You  will find  below  the various  commands  and
  65.      keywords and detailed information about the syntax requirement.
  66.  
  67.      OPEN
  68.      ~~~~
  69.      The OPEN command is used to select an existing script file.  This
  70.      command  pulls  down a  window that  lists  all script  files and
  71.      subdirectories.   Using the arrow keys,  position the highlighted
  72.      bar on the file you want to  use, then press the <Enter> to  open
  73.      it.    If the  file  is not  in  the default  directory,  you can
  74.      navigate through directories by  highlighting a subdirectory  and
  75.      pressing  <Enter> to change to that  directory.  To open a script
  76.      file  on a different drive, press <F3> and select the appropriate
  77.      drive letter.
  78.  
  79.      NEW
  80.      ~~~
  81.      The  NEW command allows  you to create  a new script  file.  When
  82.      this  command is chosen, the program asks for a file name without
  83.      extension  (the  .SCR extension  is  automatically  added to  the
  84.      filename).   If a file with that name already exists on the disk,
  85.      SIMSTAT  will ask  if you wish  to replace  it.   By default, the
  86.      script file is created in the default directory.   Enter the full
  87.      path name to store it in another directory.
  88.  
  89.      EDIT
  90.      ~~~~
  91.      The  EDIT option allows you to edit  the current script file.  If
  92.      no script  file is currently  selected, the program  will display
  93.      the  file listing windows allowing you to choose a script file to
  94.      edit.  SIMSTAT  uses the same  text editor than  the one used  to
  95.      edit ASCII data  files.  If your copy of  SIMSTAT is not properly
  96.      configured  to access an external  text editor, you  will need to
  97.      provide  the name  and  location  of  such  a  program  (see  I/O
  98.      Options).   While SIMSTAT does  not provide its  own editor, most
  99.      recent DOS  versions  come with  such  a program  (usually  named
  100.      EDIT.EXE  or EDIT.COM).  There  are also many excellent shareware
  101.      text  editors such  as QEDIT,  BOXER or  VISED that  provide more
  102.      advance  features such  as  macros,  multiple  document  editing,
  103.      speller, etc..
  104.  
  105.      RUN
  106.      ~~~
  107.      The RUN command is used to execute a script file.  If there is no
  108.      script  file  currently  selected,  the program  will  display  a
  109.      directory listing showing  all the script  files available.   Use
  110.      the cursor  keys to move the highlighted bar through the list and
  111.      press the <Enter> key to  run the highlighted file.  If  a script
  112.      file is already  selected, its  name will appear  beside the  RUN
  113.      command.   Selecting  this command  will immediately  execute the
  114.      file.
  115.  
  116.      It is  always possible  to stop the  execution of the  program by
  117.      pressing the  <Esc> key.  A dialog box will appear giving you the
  118.      choice  to stop or resume the execution  of the program.  You can
  119.      also run  a SIMSTAT script  file directly from the  DOS prompt by
  120.      typing  the name  of the  program  as the  first parameter.   For
  121.      example, the following command:
  122.  
  123.           SIMSTAT DEMO.SCR
  124.  
  125.      will automatically  start executing the commands  included in the
  126.      DEMO.SCR script file.
  127.  
  128.      RECORD ON/OFF
  129.      ~~~~~~~~~~~~~
  130.      When activated, this feature  will automatically generate  proper
  131.      commands  corresponding to  the  action you  undertake using  the
  132.      menus  and options panels and save them in the currently selected
  133.      script  file.  To activate this feature, select the RECORD option
  134.      from the COMMAND SCRIPT menu.  The "Rec" keyword should appear on
  135.      the status line.  From  now on, almost everything you do  will be
  136.      recorded  by SIMSTAT in the  active script file.   To desactivate
  137.      this feature, perform the same steps a second time.  You can also
  138.      press  the <Shift-F8> key combination to toggle the RECORD script
  139.      feature on and off.
  140.  
  141.      The  extensive correspondence  between the  commands/keywords and
  142.      the options available through  the panels greatly facilitates the
  143.      learning of the script language syntax.  However, the easiest way
  144.      for a beginner  to write  but also to  become familiar with  this
  145.      syntax  and  the various  keywords is  to  use the  RECORD script
  146.      feature.   You  can  experiment by  performing some  analysis and
  147.      looking  closely at the commands generated.  This feature is also
  148.      an efficient method to write script files rapidly and easily.
  149.  
  150.      GENERAL COMMAND STRUCTURE
  151.      ~~~~~~~~~~~~~~~~~~~~~~~~~
  152.      This  section presents  the elements  used to present  the syntax
  153.      conventions  of  the  various   commands  and  options.    Unless
  154.      specified otherwise, you can type commands  and options in either
  155.      uppercase  or lowercase  letters.  You will  find  below a  short
  156.      description of those elements.
  157.  
  158.        UPPERCASE         Items  in  capital   letters  are   keywords.
  159.                          Keywords are a required part of the statement
  160.                          syntax,  unless they are enclosed in brackets
  161.                          or specified  as optional.   You may  shorten
  162.                          commands to the first four letters.  The only
  163.                          exceptions are the BOOTSTRAP1 and BOOTSTRAP2.
  164.  
  165.        lowercase         Items  in  lowercase  are   placeholders  for
  166.                          information you must supply in the statement.
  167.                          Several types of  information can be required
  168.                          such as:
  169.  
  170.                variable       A single variable name.
  171.  
  172.                varlist        One or several variable names.  A set of
  173.                               consecutive variables  can be designated
  174.                               by  typing the  first and  last variable
  175.                               names separated by two  dots (..).   For
  176.                               example the DEPRES1..DEPRES29 expression
  177.                               refers  to  all  the  variables  in  the
  178.                               active file starting from DEPRES1 up to,
  179.                               and including DEPRES29.  A variable list
  180.                               can span over several lines.
  181.  
  182.                filename       A filename with a  valid extension.   By
  183.                               default the file is assumed to reside in
  184.                               the starting  directory.  To refer  to a
  185.                               file  in  another location,  specify the
  186.                               full path name.
  187.  
  188.                integer / int  Integer value.   You can  either use  an
  189.                               equal  sign '='  between the  option and
  190.                               the integer or  put the integer  between
  191.                               parenthesis.
  192.  
  193.                real           Real value.   May  be entered  as either
  194.                               normal or scientific  notation, and  can
  195.                               be put after  an equal  sign or  between
  196.                               parenthesis.
  197.  
  198.                color          A  keyword representing a  color.  Valid
  199.                               keywords are:
  200.  
  201.                                    BLACK          DARKGRAY
  202.                                    BLUE           LIGHTBLUE
  203.                                    GREEN          LIGTHGREEN
  204.                                    CYAN           LIGHTCYAN
  205.                                    RED            LIGHTRED
  206.                                    MAGENTA        LIGHTMAGENTA
  207.                                    BROWN          YELLOW
  208.                                    LIGHTGRAY      WHITE
  209.  
  210.                string         A  string  of  alphabetical  as  well as
  211.                               numeric   character.     Some   commands
  212.                               require  the  string   to  be   enclosed
  213.                               between quotation marks (").
  214.  
  215.        [ ]               Items inside square brackets are optional.
  216.  
  217.        |                 A vertical bar indicates a choice between two
  218.                          or more items.
  219.  
  220.        item, ...         A horizontal three-dot ellipsis means more of
  221.                          the  preceding   items  can  be   used  in  a
  222.                          single-line statement.
  223.  
  224.        keyword           A vertical three-dot ellipsis is used to
  225.        .                 indicate block-structured statements. Textual
  226.        .                 information can be put between the beginning
  227.        .                 and end of the block.
  228.        ending keyword
  229.  
  230.  
  231.        *                 Comments can be inserted anywhere in the file
  232.                          by   placing   an  asterisk   as   the  first
  233.                          character.
  234.  
  235.        {}                Comments can also be included anywhere within
  236.                          a command by enclosing them between braces.
  237.  
  238.        PANEL             The PANEL keyword can be used with almost any
  239.                          statistical analysis command  to display  the
  240.                          options  panel  associated with  the command,
  241.                          allowing the user to change any option before
  242.                          performing the analysis.
  243.  
  244.        ;                 The  ';'  character  is  used  as  a  command
  245.                          terminator.  Each  command must end with  the
  246.                          ';' character.
  247.  
  248.        :                 A colon at the  beginning of a line indicates
  249.                          the  presence  of  a  label.  (see  the  GOTO
  250.                          command)
  251.  
  252.        /                 The slash '/'  character is used to  separate
  253.                          the various  options from the command and the
  254.                          variables.  While only one slash is required,
  255.                          it is  also possible to include  more slashed
  256.                          to  visually  separate   various  groups   of
  257.                          options.
  258.  
  259.      It is always possible to  spread a long command on  several lines
  260.      or even insert blank  lines within a command.  The semi-colon ';'
  261.      character is always used to indicate the end of the command.
  262.  
  263.      SIMSTAT provides  ten numeric  ($NUM0 to $NUM9)  and alphanumeric
  264.      ($STR0 to $STR9) variables that  can be set by the user  with the
  265.      GETNUM  and GETSTR  commands.    Those  variable's names  can  be
  266.      inserted  in  other  commands.     When  a  variable's  name   is
  267.      encountered within a command, it is automatically replaced by the
  268.      value stored in that variable.
  269.  
  270.  
  271.  
  272.      ONE LINE DESCRIPTION OF COMMANDS
  273.      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  274.         GLOBAL VARIABLES:
  275.         ~~~~~~~~~~~~~~~~
  276.           $ANSWER          Stores the last key  pressed in response to
  277.                            a BOX or QBOX command.
  278.           $ITEM            Stores the item number selected by the user
  279.                            from   a  bouncing   bar  menu   (see  MENU
  280.                            command).
  281.           $MONO            Boolean  variable which  become  true if  a
  282.                            monochrome system is detected or if SIMSTAT
  283.                            was started with the /M switch.
  284.           $NUM0..$NUM9     Predefined  numeric  variables (see  GETNUM
  285.                            command).
  286.           $STR0..$STR9     Predefined  string  variables  (see  GETSTR
  287.                            command).
  288.  
  289.         FILE/DATA COMMANDS:
  290.         ~~~~~~~~~~~~~~~~~~
  291.           DATA / ENDDATA   Defines   variables   and   values  to   be
  292.                            analyzed.
  293.           OPEN             Reads a data file.
  294.           SELECT           Selects cases for  analysis upon a  logical
  295.                            expression.
  296.           WEIGHT           Selects/unselects a weighting variable.
  297.           GRAPH            Sets or overrides graph's default options.
  298.           TITLE            Specifies the title that appears at the top
  299.                            of analyses.
  300.  
  301.         USER INTERFACE COMMANDS:
  302.         ~~~~~~~~~~~~~~~~~~~~~~~~
  303.           BOX / ENDBOX     Displays a window with textual information.
  304.           IBOX / ENDBOX    Displays  a  permanent window  with textual
  305.                            information.
  306.           QBOX             Displays a single line message/question.
  307.           CLS              Clears the screen.
  308.           ECHO             Displays  a  string  to  the  screen,  disk
  309.                            and/or printer.
  310.           MENU / ENDMENU   Displays a bouncing bar menu.
  311.           SOUND            Generates  a  sound through  the computer's
  312.                            speaker.
  313.           SET              Changes various I/O options.
  314.  
  315.         FLOW CONTROL COMMANDS:
  316.         ~~~~~~~~~~~~~~~~~~~~~
  317.           IF               Carries out a command  based on a specified
  318.                            condition.
  319.           GOTO             Branches  to another  part  of the  program
  320.                            defined by a label.
  321.           GOSUB / RETURN   Branches to and returns from a subroutine.
  322.           CALL             Runs another script program and returns.
  323.           RUN              Runs another script program (no return).
  324.           SHELL            Runs  an  external  program or  temporarily
  325.                            shell to DOS.
  326.           PAUSE            Temporarily stops a program until  a key is
  327.                            pressed.
  328.           QUIT             Quits SIMSTAT.
  329.           STOP             Stops the script and returns to the SIMSTAT
  330.                            menu.
  331.  
  332.         STATISTICAL ANALYSIS COMMANDS:
  333.         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  334.         * BANNER           Stub & Banner program
  335.           BINOMIAL         Binomial test
  336.           BOOTSTRAP1       Univariate bootstrap analysis
  337.           BOOTSTRAP2       Bivariate bootstrap analysis
  338.           BREAKDOWN        Breakdown analysis
  339.           CHISQUARE        Chi-square one sample test
  340.         * CLUSTER          Hierarchical cluster analysis
  341.           CORRELATION      Correlation matrix
  342.         * CORRES           Correspondence analysis
  343.           CROSSTAB         Contingency crosstabulation
  344.           DESC             Descriptive analysis
  345.         * DIVERSITY        Diversity analysis
  346.           FULL             Full analysis on bootstrap samples
  347.           FREQUENCY        Frequency analysis
  348.           FRIEDMAN         Friedman test
  349.           GLMANOVA         GLM analysis of variance and covariance.
  350.           INTERRATERS      Interraters crosstabulation
  351.         * ITEM             Classical item analysis
  352.           KRUSKAL          Kruskal-Wallis Anova
  353.           KS1              Kolmogorov-Smirnov one sample test
  354.           KS2              Kolmogorov-Smirnov two sample test
  355.           LIST             Listing of data
  356.         * LOGISTIC         Logistic regression
  357.           MANN             Mann-Whitney U, Wilcoxon W test
  358.           MCNEMAR          McNemar test
  359.           MEDIAN           Median test
  360.           MOSES            Moses test of extreme reactions
  361.           MRESPONSE        Multiple responses analysis
  362.           MULTREG          Multiple regression analysis
  363.         * MONLIN           Nonlinear multiple regression
  364.           NPAR             Nonparametric association matrix
  365.           ONEWAY           Oneway analysis of variance
  366.         * PCA              Principal components analysis
  367.         * PCO              Principal coordinates analysis
  368.           REGRESSION       Linear & nonlinear regression analysis
  369.           RELIABILITY      Reliability analysis
  370.           SCED             Single case experimental design
  371.           RANDOM           Random bivariate bootstrap analysis
  372.           RUNS             Runs test
  373.           SENSITIVITY      Sensitivity analysis (ROC curves)
  374.           SIGN             Sign test
  375.           T-TEST           T-Test (independent and paired)
  376.           TIME-SERIES      Time-series analysis
  377.           WILCOXON         Wilcoxon signed rank test
  378.  
  379.      * Require an optional add-in module
  380.  
  381.      COMMAND SYNTAX
  382.      ~~~~~~~~~~~~~~
  383.      - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  384.      BINOMIAL varlist BY varlist [/ options];
  385.  
  386.         Description: The  BINOMIAL test  allows you to  assess whether
  387.         the observed number of cases in a dichotomous variable  is the
  388.         same as that expected  from a specified binomial distribution.
  389.         The  observations can  be  divided either  below or  above the
  390.         mean,  the   median   or  a   user-specified   cutoff   value.
  391.         Alternatively, the  analysis can  also be restricted  to cases
  392.         equal to two specified values.   The user can also specify the
  393.         test proportion.
  394.  
  395.         Options:
  396.                                      Cutoff value
  397.            VALUE (real [,real])        Cuttoff value / values of X
  398.            | MEAN                      Mean
  399.            | MEDIAN                    Median
  400.            PROPORTION (real)         Test proportion (from 0 to 1)
  401.            PANEL                     Displays the options panel
  402.      - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  403.      BOOTSTRAP1 varlist [/ options];
  404.  
  405.         Description:  BOOTSTRAP1  performs  bootstrap  simulation   to
  406.         estimate  the  distribution  of descriptive  statistics  in  a
  407.         population (e.g. mean, median, variance).  The program draws a
  408.         specified number of observations  from the sample and computes
  409.         the  estimator for the subsample.  This procedure is performed
  410.         many times  (10 to  20,000 times).   The options allow  you to
  411.         display information about the estimator distribution including
  412.         descriptive statistics, frequency table, percentile  table and
  413.         histogram  of the  estimator distribution.   The  program also
  414.         computes nonparametric and bias corrected bootstrap confidence
  415.         intervals.
  416.  
  417.         Options:
  418.  
  419.            SIZE=integer              Size of each sample
  420.            SAMPLING=integer          Number of sampling
  421.            SEED=integer              Initial seed value
  422.                                      Choice of estimator
  423.            MEAN                        Mean
  424.            | VARIANCE                  Variance
  425.            | STDDEV                    Standard deviation
  426.            | STDERR                    Standard error
  427.            | MEDIAN                    Median
  428.            | KURTOSIS                  Kurtosis
  429.            | SKEWNESS                  Skewness
  430.            DESC                      Descriptive statistics
  431.            INTERVAL=real             Confidence intervals
  432.            PTILES=integer            Percentile table
  433.            HISTO                     Histogram
  434.              VERT | HORIZ              Orientation (text only)
  435.              MIN=real                  Minimum value
  436.              INC=real                  Increment value
  437.              NBAR=integer              Nb of bars/intervals
  438.              NORMAL                    Normal curve
  439.            PANEL                     Displays the options panel
  440.      - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  441.      BOOTSTRAP2 varlist BY varlist [/ options];
  442.  
  443.         Description:   The  BOOTSTRAP2   command  performs   bootstrap
  444.         resampling to  estimate the distribution of various estimators
  445.         in a given population (e.g. correlation, Tau-b).   The program
  446.         draws  a specified  number of pairs  of observations  from the
  447.         sample  and computes  the estimator  for the subsample.   This
  448.         procedure is  performed many times (10 to  20,000 times).  The
  449.         options allow  you to display information  about the estimator
  450.         distribution   including  descriptive   statistics,  frequency
  451.         table,  percentile   table  and  histogram  of  the  estimator
  452.         distribution.   The  program also  computes nonparametric  and
  453.         bias corrected  bootstrap confidence intervals, and  the power
  454.         rate of the estimator for 3 to 4 alpha levels.
  455.  
  456.         Options:
  457.  
  458.            SIZE=integer              Size of each sample
  459.            SAMPLING=integer          Number of sampling
  460.            SEED=integer              Initial seed value
  461.                                      Choice of statistics
  462.            TAU-A                       Kendall's Tau-A
  463.            | TAU-B                     Kendall's Tau-B
  464.            | TAU-C                     Kendall-Stuart's Tau-C
  465.            | D-SYM                     Somer's D symmetric
  466.            | D-XDEP                    Somer's D (X dependent)
  467.            | D-YDEP                    Somer's D (Y dependent)
  468.            | GAMMA                     Gamma
  469.            | RHO                       Spearman's Rho
  470.            | R                         Pearson's r
  471.            | SLOPE                     Regression slope
  472.            | INTERCEPT                 Regression intercept
  473.            | S-T                       Student's T
  474.            | S-F                       Student's F
  475.            | M-W                       Mann-Withney
  476.            | WILCOXON                  Wilcoxon (W value)
  477.            | SIGN                      Sign test (Z value)
  478.            | K-W                       Kruskal-Wallis
  479.            | MEDIAN                    Median test (Z value)
  480.            DESC                        Descriptive statistics
  481.            INTERVAL=real             Confidence interval
  482.            PTILES                    Percentile table
  483.            HISTO [=T | =G]           Histogram
  484.               VERT | HORIZ             Orientation
  485.            MIN=real                    Minimum value
  486.               INC=real                 Increment value
  487.               NBAR=integer             Nb of bars/intervals
  488.               NORMAL                   Normal curve
  489.            POWER=real                Statistical power analysis
  490.            PANEL                     Display the options panel
  491.      - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  492.      BOX [Options]
  493.       .
  494.  
  495.       .
  496.       .
  497.      ENBOX;
  498.  
  499.         Description: The  BOX command  displays a window  with textual
  500.         information.   By  default  the window  is  positioned in  the
  501.         middle  of the screen.   The COL  and ROW options  can also be
  502.         used to  specify  the  position of  the  window's  upper  left
  503.         corner. The  window stays  on screen until  a key  is pressed.
  504.         The KEY  option can  be  use to  restrict the  valid input  to
  505.         specific keys (letters or number).   The key pressed is stored
  506.         in a variable named $ANSWER (see  the IF command).  The  DELAY
  507.         option  allows  you to  insert  a  minimum delay  between  the
  508.         display of the box and the input  of a valid key.  The  colors
  509.         of the box can be altered using the COLOR option.  The default
  510.         colors can also be changed by using the SET COLOR command.
  511.  
  512.         Options:
  513.  
  514.            KEY=string of char        Valid keys
  515.            DELAY=integer             Length of delay (msec)
  516.            ROW=integer               Row of upper left corner
  517.            COL=integer               Column of upper left corner
  518.            COLOR color ON color      Foreground/background color
  519.      - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  520.      BREAKDOWN varlist BY varlist [/ options];
  521.  
  522.         Description:  The   BREAKDOWN  command  computes   descriptive
  523.         statistics for  various sub-groups within  the entire  sample.
  524.         Statistics are computed for each variable on the first list of
  525.         variable,  within groups defined  by the values  of the second
  526.         list (grouping  or independent variables).   This command also
  527.         allows you to obtain a  multiple Box-&-Whiskers plots that can
  528.         be used to compare the distribution of  the dependent variable
  529.         among several sub-groups.
  530.  
  531.         Options:
  532.  
  533.            DETAIL                    Detailed statistics
  534.            RANGE (int, int)          Range of X
  535.            BOXPLOT [=T | =G]         Box-&-Whiskers plot
  536.            PANEL                     Display the options panel
  537.      - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  538.      BROWSE;
  539.  
  540.         Description:  This procedure  calls  the  browsing feature  of
  541.         SIMSTAT and allows  the user to  review the previous  results.
  542.         The execution of the program  resume when the user presses the
  543.         ESC key.
  544.      - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  545.      CALL commandfile;
  546.  
  547.         Description:  This procedure  executes another  batch program.
  548.         After executing the external batch file, the program continues
  549.         at the  statement following the  CALL command (see  also RUN).
  550.         If  no   extension  is  provided,  the   ".CMD"  extension  is
  551.         automatically added to the command file name.
  552.      - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  553.      CHISQUARE varlist BY varlist [/ options];
  554.  
  555.         Description: The CHISQUARE command performs a  one-sample chi-
  556.         square  test  that  allows  to  assess   whether  there  is  a
  557.         difference  between the  observed number  of cases  in various
  558.         categories  and  the   expected  frequencies  in   those  same
  559.         categories.   The options  allow you  to restrict the  test to
  560.         specific values and to specify the expected frequencies.
  561.  
  562.         Options:
  563.  
  564.            VALUES (real real ...)    Excepted values
  565.            FREQ (real real ...)      Expected frequencies
  566.            PANEL                     Display the options panel
  567.      - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  568.      CLUSTER {varlist} [/OPTIONS];
  569.  
  570.         Requirement: MVSP v2.2 and SIM2MVSP (see read.me)
  571.  
  572.         Description: This procedure performs hierarchical agglomerative
  573.         cluster analysis of an input  matrix of distance or  similarity
  574.         measures.   Seven forms of clustering  are presently available:
  575.         the four average  linkage  procedures  (unweighted  pair group,
  576.         unweighted centroid, weighted pair group, and weighted centroid
  577.         [or median]); nearest and farthest linkage, and minimum
  578.         variance.
  579.  
  580.         Options:
  581.  
  582.            TRANSFORM=                Select a transformation
  583.              LOG10                      Log base 10
  584.              | LOGE                     Log base e
  585.              | LOG2                     Log base 2
  586.              | SQRT                     Square root
  587.              | RATIO                    Logratio
  588.            TRANSPOSE                 Transpose data
  589.            COEFF=                    Select a coefficient (def: EUCLID)
  590.              EUCLID                     Euclidian distance
  591.              | SEUCLID                  Squared Euclidian distance
  592.              | STEUCLID                 Standardized Euclidian dist.
  593.              | COSINE                   Cosine theta distance
  594.              | MANHAT                   Manhattan metric distance
  595.              | CANBER                   Canberra metric distance
  596.              | CHORD                    Chord distance
  597.              | CHISQR                   Chi-square distance
  598.              | AVERAGE                  Average distance
  599.              | MEAN                     Mean character difference dist.
  600.              | PEARSON                  Pearson product moment correl.
  601.              | SPEARMAN                 Spearman rand order correl.
  602.              | PERCENT                  Percent similarity coefficient
  603.              | GOWER                    Gower general similarity coeff.
  604.              | SORENSEN                 Sorensen's coefficient
  605.              | JACCARD                  Jaccard's coefficient
  606.              | MATCH                    Simple matching coefficient
  607.              | YULE                     Yule coefficient
  608.              | NEI                      Nei & Lei's coefficient
  609.            METHOD=                   Clustering method (def: UPAIR)
  610.              UPAIR                      Unweighted pair group
  611.              | UCENTER                  Unweighted centroid
  612.              | WPAIR                    Weighted pair group
  613.              | WCENTER                  Weighted centroid
  614.              | MINVAR                   Minimum variance
  615.              | NEAR                     Nearest linkage
  616.              | FAR                      Farthest linkage
  617.            TREEDESC                  Create tree description file
  618.            TREEORDER                 Create tree order file
  619.            RANDOMIZE                 Randomize input order
  620.            CONSTRAIN                 Constrained clustering
  621.                                      Output of graphics
  622.            PLOT                         Text dendrograms
  623.            | GPLOT                      Graphic dendrograms
  624.      - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  625.      CLS;
  626.  
  627.        Description: Clear the screen.
  628.      - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  629.      CORRELATION varlist [BY varlist] [/ options];
  630.  
  631.         Description:  The CORRELATION  command  produces  a matrix  of
  632.         Pearson   correlation   coefficients    for   all   pairs   of
  633.         dependent-independent  variables.     If  only  one   list  of
  634.         variables is specified, the procedure produces a square matrix
  635.         where each  variable is treated as  dependent and independent.
  636.         You   can   request  either   exact   probabilities  for   the
  637.         coefficients  or  a display  of  asterisks  that indicate  the
  638.         probability levels attained. You can  also tell the program to
  639.         calculate probabilities  using  one- or  two-tailed tests,  to
  640.         compute confidence intervals of specified width and to display
  641.         a cross-product  deviation and  covariance tables.   A graphic
  642.         scatterplot can  also be  obtained with or  without regression
  643.         lines.
  644.  
  645.         Options:
  646.  
  647.            EXACT                     Exact probabilities / cases
  648.            1TAIL | 2TAIL             Direction of the test
  649.                                      Deletion of missing values
  650.            PAIRWISE                    Pairwise
  651.            | LISTWISE                  Listwise
  652.            CCSS                      Cross-product dev. & covar.
  653.            CI=integer                Confidence interval (width)
  654.            XYPLOT                    Scatterplot matrix
  655.              TREND                     Display regression lines
  656.            PANEL                     Display the options panel
  657.      - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  658.      CORANAL {valist} [/OPTIONS];
  659.  
  660.         Requirement: MVSP v2.2 and SIM2MVSP (see read.me)
  661.  
  662.         Description:  The correspondence analysis (or reciprocal aver-
  663.         aging)  procedure performs several varieties of correspondence
  664.         analysis including  detrended  correspondence  analysis (DCA).
  665.         Correspondence analysis in general  is well suited for working
  666.         with  count or presence/absence data,  whereas  PCA  is geared
  667.         more towards measurement data  on a continuous scale (although
  668.         PCA can also be performed on count and binary data.
  669.  
  670.         Options:
  671.  
  672.            TRANSFORM=                Select a transformation
  673.              LOG10                      Log base 10
  674.              | LOGE                     Log base e
  675.              | LOG2                     Log base 2
  676.              | SQRT                     Square root
  677.              | RATIO                    Logratio
  678.            TRANSPOSE                 Transpose data
  679.                                      Computation algorithm
  680.            RECIPROCAL                   Reciprocal averaging
  681.            | JACOBI                   Cyclic Jacobi
  682.                                       Output of graphics
  683.            PLOT                         Text scattergrams
  684.            | GPLOT                      Graphic scattergrams
  685.  
  686.            {the following options apply only to Reciprocal averaging}
  687.  
  688.            DETRENDING                 Detrending procedure
  689.            SEGMENTS={integer}         Number of segments (def: 26)
  690.            CYCLES={integer}           Number of cycles (def: 4)
  691.            DOWNWEIGHT                 Downweight rare species
  692.  
  693.            {the following options apply only to Cyclic Jacobi}
  694.  
  695.                                      Minimum eigenvalue (def: none)
  696.            KAISER                       Kaiser's rule
  697.            | JOLLIFFE                   Jolliffe's rule
  698.            | MINEIGEN={real}            Specify a minimum eigenvalue
  699.            ACCURACY={real}           Accuracy of solution
  700.            WEIGHT=                   Select a weighting strategy
  701.              PERCENT                    Adjust to percentage
  702.              | RARE                     Weight on rare species
  703.              | COMMON                   Weight on common species
  704.      - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  705.      CROSSTAB varlist BY varlist [/ options];
  706.  
  707.         Description: The CROSSTAB command computes a contingency table
  708.         for  two variables  where rows  represent all  the independent
  709.         variable  (x)  values  while  the columns  represent  all  the
  710.         dependent  (y)  variable  values.  The options  allow  you  to
  711.         include various statistics in the table and obtain measures of
  712.         association  for nominal  level (chi-square,  phi, contingency
  713.         coefficient) and  ordinal level (gamma,  tau-b, tau-c, Somer's
  714.         d,  etc.) variables.   It  also allows  you to  display a  3-d
  715.         barchart of the two variables.
  716.  
  717.         Options:
  718.                                      Sort table by
  719.            FREQ                        Ascending frequency
  720.            | DFREQ                     Descending frequency
  721.            | VALUE                     Ascending value
  722.            | DVALUE                    Descending value
  723.            TABLE=string              Display table (content)
  724.            STAT=string               choice of statistics
  725.            BARCHART                  3-D barchart
  726.            PANEL                     Display the options panel
  727.      - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  728.      DATA
  729.       .
  730.       .
  731.       .
  732.      ENDDATA;
  733.  
  734.         Description: The DATA command allows you to  define data to be
  735.         analyzed by specifying variable's names and values.  The first
  736.         line  must contain  the variable's  name, while  the remaining
  737.         lines hold  the data.  SIMSTAT writes the embedded information
  738.         in  a  temporary  ASCII  file until  the  ENDDATA  keyword  is
  739.         encountered and automatically opens it for analysis.  For more
  740.         information on  the proper format  to use, see  information on
  741.         ASCII files format.
  742.      - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  743.      DELAY integer;
  744.  
  745.         Description: The DELAY command causes a delay in a program for
  746.         a specified number of milliseconds.
  747.      - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  748.      DESC varlist;
  749.  
  750.         Description:  The  DESC command  displays  the  mean, standard
  751.         deviation,  minimum  and  maximum  values  of  each  specified
  752.         variable.  To obtain other descriptive statistics such  as the
  753.         variance,  skewness,  kurtosis, mode,  median,  etc.,  see the
  754.         FREQUENCY command.
  755.      - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  756.      DIVERSITY {varlist} [/OPTIONS];
  757.  
  758.         Requirement: MVSP v2.2 and SIM2MVSP (see read.me)
  759.  
  760.         Description:  This procedure computes  three diversity indices
  761.         commonly used in ecology, Simpson's, Shannon's and Brillouin's.
  762.  
  763.         Options:
  764.  
  765.            TRANSPOSE                 Transpose data
  766.            TRANSFORM=                Select a transformation
  767.              LOG10                      Log base 10
  768.              | LOGE                     Log base e
  769.              | LOG2                     Log base 2
  770.            COEFF=                    Select a coefficient
  771.              SIMPSON                    Simpson's diversity indice
  772.              | SHANNON                  Shannon's diversity indice
  773.              | BRILLOUIN                Brillouin's diversity indice
  774.      - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  775.      ECHO string;
  776.  
  777.         Description: The ECHO command sends  a string  to the  screen,
  778.         listing file, and/or the printer.
  779.      - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  780.      FULL [/ options] command [/ options];
  781.  
  782.         Description:  The FULL command allows  you to  perform various
  783.         statistical    analyses    such    as   frequency    analysis,
  784.         crosstabulation or multiple regression on successive bootstrap
  785.         samples.  The  first set of options allows  you set the sample
  786.         size and the number of samplings to be drawn from the original
  787.         sample.  A second  set allows you to specify which analysis to
  788.         perform and  set the  options normally available  when calling
  789.         the chosen  statistical procedure.  This second set of options
  790.         allows to control how the analysis is to be performed and what
  791.         statistics are to be printed.
  792.  
  793.         Options:
  794.  
  795.            SIZE=integer              Size of each sample
  796.            SAMPLING=integer          Number of sampling
  797.            SEED=integer              Initial seed value
  798.            PANEL                     Display the options panel
  799.      - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  800.      FREQUENCY varlist [/ options];
  801.  
  802.         Description:  The FREQUENCY command performs various frequency
  803.         and descriptive analysis on specified variables.  This command
  804.         also provides  a choice of  graphs for  either categorical  or
  805.         numeric variables.
  806.  
  807.         Options:
  808.  
  809.            TABLE | NOTABLE           Table of frequency
  810.            FREQ | VALUE              Sort table by frequency/value
  811.            DESC                      Descriptive statistics
  812.            CI=integer                Confidence interval width
  813.            PTILES=integer            Percentiles table
  814.            BARCHART [=T | =G]        Bar chart
  815.            PIE                       Pie chart
  816.            PARETO                    Pareto chart
  817.            BOXPLOT [=T | =G]         Box-&-whiskers plot
  818.            CUMUL                     Cumulative frequency plot
  819.            PPLOT                     Normal probability plot
  820.            HISTO [=T | =G]           Histogram
  821.               VERT | HORIZ             Orientation
  822.               NBAR=integer             Number of bars/intervals
  823.               MIN=real                 Minimum value
  824.               INC=real                 Increment/width
  825.               NORMAL                   Normal curve
  826.            PANEL                     Display the options panel
  827.      - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  828.      FRIEDMAN varlist;
  829.  
  830.         Description:  The FRIEDMAN test  is  a  procedure for  testing
  831.         whether  two or more related samples  have been drawn from the
  832.         same population.   The output displays the  mean rank of  each
  833.         variable, the  number of cases, chi-square,  degree of freedom
  834.         and probability value.
  835.      - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  836.      GETNUM [$NUMn] "sting" [options];
  837.  
  838.         Description:  The GETNUM command  allows you  to get a numeric
  839.         value  from the  user and store  the result  in one  of the 10
  840.         predefined  numeric variables  (from $NUM0  to $NUM9).   If no
  841.         variable is  specified, the  value is  stored in  the variable
  842.         named $NUM0.  When a value is already stored in  the specified
  843.         variable,  it will  be presented as  the default  value to the
  844.         user.   Use the CLEAR  option to  erase this value.   You  can
  845.         restrict the valid range of responses by using the  MIN and/or
  846.         the MAX options.  By default, the number of  decimal displayed
  847.         is set to 0 and user's input is restricted  to integer values.
  848.         The DEC  option can  be used to  alter the  number of  decimal
  849.         places  to display.    The  LEN option  can  also be  used  to
  850.         increase or decrease  the maximum length of  input. By default
  851.         the  dialog box  is positioned  in the  center of  the screen.
  852.         However,  the COL and  ROW options can be  used to specify the
  853.         position of the box's upper left corner.  While the  length of
  854.         the prompt  string is restricted to 60  characters, it is also
  855.         possible  to display  more detailed  information by  using the
  856.         IBOX  command.    When  a variable's  name  is  encountered in
  857.         another  command, it  is automatically  replaced by  the value
  858.         stored in that variable.
  859.  
  860.         Options:
  861.  
  862.            $NUMn                     Store in $NUM0 to $NUM9 (n stands
  863.                                      for single digit number between 0
  864.                                      and 9)
  865.            MIN=real                  Minimum value
  866.            MAX=real                  Maximum value
  867.            DEC=integer               Number of decimal places
  868.            LEN=integer               Maximum length of value
  869.            ROW=real                  Row of upper left corner
  870.            COL=real                  Column of upper left corner
  871.            CLEAR                     Clear previous value
  872.  
  873.         Examples:
  874.  
  875.         GETNUM "Sample size : " $NUM2 MIN=0 MAX=100 ROW=10 DEC=4;
  876.  
  877.         GETNUM "What is your age? " $NUM2 MIN=1  MAX=99;
  878.      - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  879.      GETSTR "sting" [options];
  880.  
  881.         Description:  The GETSTR command allows  you to  get  a string
  882.         value from  the user  and store  the result in  one of  the 10
  883.         predefined string  variables  (from $STR0  to $STR9).   If  no
  884.         variable  is specified,  the value is  stored in  the variable
  885.         named $STR0.  When a value  is already stored in the specified
  886.         variable, it  will be presented  as the  default value to  the
  887.         user.   Use  the CLEAR option  to erase  this value.   The LEN
  888.         option can also  be used to increase  or decrease the  maximum
  889.         length of  input.  By default the  dialog box is positioned in
  890.         the  center of the screen.   However, the  COL and ROW options
  891.         can be used  to specify the position  of the box's  upper left
  892.         corner.  While the  length of the prompt string  is restricted
  893.         to 60 characters, it is also possible to display more detailed
  894.         information by using the IBOX command.  When a variable's name
  895.         is  encountered  in  another   command,  it  is  automatically
  896.         replaced by the value stored in that variable.
  897.  
  898.         Options:
  899.  
  900.            $STRn                     Store in $NUM0 to $NUM9 (n stands
  901.                                      for single digit number between 0
  902.                                      and 9)
  903.            ROW=integer               Row of upper left corner
  904.            COL=integer               Column of upper left corner
  905.            CLEAR                     Clears previous value
  906.  
  907.         Examples:
  908.  
  909.            GETSTR "What is your name? "  $STR1 CLEAR;
  910.      - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  911.      GLMANOVA varlist BY varlist [/ options];
  912.  
  913.         Description: The  GLMANOVA command  provides a General  Linear
  914.         Model implementation of  analysis of variance and  covariance.
  915.         It  can  handle  balanced  and unbalanced  ANOVA  designs  and
  916.         support models with categorical and/or quantitative variables.
  917.         The procedure  can also be  used to perform  standard multiple
  918.         regression problems  that involve interaction  terms.  Various
  919.         adjustment  methods   for  unequal  cell  size   are  provided
  920.         including a hierarchical  strategy where the user  can set the
  921.         order of  entry of each  variable in  the model.   The various
  922.         options  allow you  to  display  standard  tables as  well  as
  923.         various  outputs usually  found in  ANOVA/ ANCOVA  or multiple
  924.         regression analyses.
  925.  
  926.         Options:
  927.  
  928.            COVAR (varlist)           Quantitative variables
  929.            INTERACTION (var*var*...  Interactions.
  930.              [var*var*...] ...)
  931.            STEP                      Show statistics at each step
  932.            MULTREG                   Multiple regression statistics
  933.            EQUATION                  Regression equation
  934.              CI=integer                Confidence interval
  935.            MEAN                      Adjusted means
  936.            CHANGE                    Test of changes in R square
  937.            CPLOT                     Residuals caseplot
  938.              OUTLIERS=real             Outliers criterion (s.d.)
  939.            RPLOT [=T | =G]           Residuals scatterplot
  940.            PPLOT                     Residuals normality plot
  941.            SAVE                      Save predicted and residuals
  942.            Adjustment method
  943.            REGRESSION                  Regression approach
  944.            | NONEXP                    Nonexperimental
  945.            | HIERARCHICAL              Hierarchical
  946.            ORDER (varlist) (varlist) Order of entry (hierachical)
  947.              [... > (varlist)]       (All  variables enumerated  after
  948.                                      the  > character are entered with
  949.                                      the interactions)
  950.            PANEL                     Display the options panel
  951.      - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  952.      GOTO label;
  953.  
  954.         Description:  This command branches  to  another  part of  the
  955.         program and  continue processing  the commands at  that point.
  956.         The line that the program is to switch is marked  with a label
  957.         preceded by a colon (:).
  958.  
  959.         Example:
  960.  
  961.            GOTO JanuaryStat;
  962.  
  963.            :JanuaryStat;
  964.      - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  965.      GOSUB label; / RETURN;
  966.  
  967.         Description:  This command branches  to  another  part of  the
  968.         program  and continue  processing the  commands at  that point
  969.         until  the RETURN  keyword is  encountered.  The  program then
  970.         continues  execution  at  the statement  following  the  GOSUB
  971.         command;
  972.      - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  973.      GRAPH [options];
  974.  
  975.         Description: The GRAPH command allows  you to set  or override
  976.         graphs' default options.
  977.  
  978.         Options:
  979.  
  980.            3D ON | OFF               Bar depth
  981.            GRIDX ON | OFF            Horizontal grid
  982.            GRIDY ON | OFF            Vertical grid
  983.            SCALEX  value,value       Horizontal axis limits
  984.            SCALEY  value,value       Vertical axis limits
  985.            TITLE  "string"           Title string
  986.            LABELX  "string"          Horizontal axis string
  987.            LABELY  "string"          Vertical axis string
  988.      - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  989.      IBOX [Options]
  990.       .
  991.       .
  992.       .
  993.      ENBOX;
  994.  
  995.         Description:  This command  displays  a  window  with  textual
  996.         information.   The  window stays on  screen until  a menu (see
  997.         MENU), a  box (see BOX and  QBOX), or a dialog  (see GETNUM or
  998.         GETSTR)  is created  and removed.   This command  is useful to
  999.         display  additional information  on screen.   By  default, the
  1000.         window is positioned in the center of the screen.  The COL and
  1001.         ROW options can  also be used  to specify the position  of the
  1002.         window's upper  left corner.  The  colors of  the box  can  be
  1003.         altered using  the COLOR option.  The  default colors can also
  1004.         be changed by using the SET COLOR command.
  1005.  
  1006.         Options:
  1007.  
  1008.            COLOR color ON color      Foreground/background color
  1009.            ROW=integer               Row of upper left corner
  1010.            COL=integer               Column of upper left corner
  1011.      - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  1012.      IF expression [THEN] command;
  1013.  
  1014.         Description: The IF command allows to specify a condition that
  1015.         must be met for a command to be carried out.  If the condition
  1016.         if  true, the command is executed.  If the condition is false,
  1017.         the  command is ignored.   The $ANSWER variable  refers to the
  1018.         last key pressed in response to a text box obtained by the BOX
  1019.         or the QBOX  commands.  The  $ITEM option  refers to the  menu
  1020.         item  number selected by the user  from a menu produced by the
  1021.         MENU  command.   The  $MONO boolean  is  true if  a monochrome
  1022.         system  is  detected or  if SIMSTAT  was  started with  the /M
  1023.         switch.   It is also possible to check specific values against
  1024.         the numeric (i.e.  $NUM0 to $NUM9) or alphanumeric (i.e. $STR0
  1025.         to $STR9) variables entered by  the user.  When used with  the
  1026.         GOTO command, this command can increase the flexibility of the
  1027.         program  by allowing  to  switch  to  different parts  of  the
  1028.         program under certain conditions.
  1029.  
  1030.         Valid expressions:
  1031.  
  1032.            $ANSWER =, <, >, <>, <=, => character
  1033.            $ITEM =, <, >, <>, <=, => number
  1034.            $NUMn =, <, >, <>, <=, =>  number
  1035.            $STRn =, <> "string"
  1036.            $MONO
  1037.  
  1038.         Examples:
  1039.  
  1040.            IF $ANSWER = Q STOP;
  1041.            IF $MONO SET COLOR WHITE ON BLACK;
  1042.            IF $ITEM = 3 GOTO TUTORIAL;
  1043.            IF $NUM1 >= 10 GOSUB ERROR;
  1044.      - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  1045.      INTERRATERS varlist BY varlist [/ options];
  1046.  
  1047.         Description:  The INTERRATERS  command produces an inter-rater
  1048.         agreement table that consists of a square table where rows and
  1049.         columns contain  the same  categories used in  both variables.
  1050.         Seven   different  inter-rater  agreement  measures  are  also
  1051.         printed with the table.
  1052.  
  1053.         Options:
  1054.                                      Sort table by...
  1055.            FREQ                        Ascending frequency
  1056.            | DFREQ                     Descending frequency
  1057.            | VALUE                     Ascending value
  1058.            | DVALUE                    Descending value
  1059.            TABLE=string              Display table (content)
  1060.            BARCHART                  3-D Barchart
  1061.            PANEL                     Display the options panel
  1062.      - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  1063.      KRUSKAL varlist BY varlist [/ options];
  1064.  
  1065.         Description:  The KRUSKAL  command  performs  a Kruskal-Wallis
  1066.         one-way  analysis of  variance  by ranks  is  a procedure  for
  1067.         testing  whether k number of  groups have been  drawn from the
  1068.         same  population.  This test is a nonparametric version of the
  1069.         one-way analysis of variance.  The output displays  the number
  1070.         of valid cases, the mean rank  of the variable in each  group,
  1071.         chi-square and its probability with a correction for ties.
  1072.  
  1073.         Options:
  1074.  
  1075.            RANGE (int, int)          Range of X
  1076.      - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  1077.      KS1 varlist BY varlist [/ options];
  1078.  
  1079.         Description: The  KS1 command  (Kolmogorov-Smirnov  one-sample
  1080.         test)  compares the  distribution of  each variable  against a
  1081.         standard normal  distribution  or a  uniform distribution.  It
  1082.         tests whether  the sample  data can reasonably  be thought  to
  1083.         have   come  from   a   population  having   this  theoretical
  1084.         distribution.
  1085.  
  1086.         Options:
  1087.                                      Type of distribution
  1088.            NORMAL                      Normal distribution
  1089.            | UNIFORM                   Uniform distribution
  1090.            VALUES (real, real)       Mean and standard deviation  of a
  1091.                                      normal  distribution  or  minimum
  1092.                                      and   maximum    of   a   uniform
  1093.                                      distribution
  1094.            PANEL                     Display the options panel
  1095.      - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  1096.      KS2 varlist BY varlist [/ options];
  1097.  
  1098.         Description:  The  KS2 command (Kolmogorov-Smirnov  two-sample
  1099.         test)  evaluates whether a dependent variable (Y) has the same
  1100.         distribution  in  two  independent  samples as  defined  by  a
  1101.         grouping variable  (X). This test is  sensitive to differences
  1102.         in  the  shape,  location,  and   scale  of  the  two   sample
  1103.         distributions.
  1104.  
  1105.         Options:
  1106.  
  1107.            VALUES (int, int)         Values of independent variable
  1108.            PANEL                     Display the options panel
  1109.      - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  1110.      LIST varlist [/ N=integer];
  1111.  
  1112.         Description: The LIST command displays a listing of the values
  1113.         of  the specified  variables.   The  N option  can  be use  to
  1114.         restrict the listing to the first N cases in the file.
  1115.      - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  1116.      LOGISTIC varlist [/ options];
  1117.  
  1118.         Requirement: Registered version of SIMSTAT only.
  1119.  
  1120.         Description:  The LOGISTIC command  fits  a  multiple logistic
  1121.         regression model  on a binary  response  variable  with one or
  1122.         several explanatory variables.  Output includes the likelihood
  1123.         ratio statistic for overall significance, parameter estimates,
  1124.         exponentiated parameter  estimates  (which are the odds ratios
  1125.         corresponding to a unit change  in the independent variables),
  1126.         Wald statistics  for  assessing  the  effects  of  independent
  1127.         variables,  and  confidence  intervals  for   the   regression
  1128.         parameters.
  1129.  
  1130.         Options:
  1131.  
  1132.            VALUES (integer,integer)   Values of success and failure
  1133.            NOCONSTANT                 Exclude constant in the model
  1134.            ITER                       Show iterations
  1135.            CTABLE                     Classification table
  1136.            LRATIO                     Likelihood ratio statistics
  1137.            CI=real                    Confidence interval width
  1138.            TOLERANCE=real             Tolerance level
  1139.            INTERACTION var*var        Intercation terms
  1140.              [var*var*...]            
  1141.      - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  1142.      MANN varlist BY varlist [/ options];
  1143.  
  1144.         Description: The MANN command  produces a Mann-Whitney  U test
  1145.         that evaluates  the  hypothesis that  two independent  samples
  1146.         have  the  same  distribution.   The  Mann-Whitney  U  is  the
  1147.         nonparametric version  of the t-test  for independent samples.
  1148.         This test is performed on the dependent variable  divided into
  1149.         two  groups as defined by values of the independent (grouping)
  1150.         variable.   The probability test  performed can be either one-
  1151.         or two-tailed.
  1152.  
  1153.         Options:
  1154.  
  1155.            VALUES (int,int)          Values of independent variable
  1156.            1TAIL | 2TAIL             Direction of test
  1157.            PANEL                     Display the options panel
  1158.      - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  1159.      MCNEMAR varlist BY varlist [/ options];
  1160.  
  1161.         Description: The McNEMAR test is a procedure applied to a pair
  1162.         of correlated dichotomous variables to test whether there is a
  1163.         significant  difference in proportions of subjects that change
  1164.         from one category  to another.   A  binomial test  is used  to
  1165.         compute  the significance level when the  number of changes is
  1166.         less  than 10.   Otherwise,  a  chi-square statistic  with the
  1167.         Yates correction for continuity is used.
  1168.  
  1169.         Options:
  1170.  
  1171.            VALUES (int,int)          Values of independent variable
  1172.            1TAIL | 2TAIL             Direction of the test
  1173.            PANEL                     Display the options panel
  1174.      - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  1175.      MEDIAN varlist BY varlist [/ options];
  1176.  
  1177.         Description:  The MEDIAN test  is a procedure to test  whether
  1178.         two or  more independent groups differ  in central tendencies.
  1179.         It  tests  the likelihood  that those  groups were  drawn from
  1180.         populations with  the same median.   The  output displays  the
  1181.         number  of cases  greater than,  less than,  and equal  to the
  1182.         median  for  each category  of  the grouping  variable.   Also
  1183.         displayed are  the median,  chi-square, degree of  freedom and
  1184.         probability value.
  1185.  
  1186.         Options:
  1187.  
  1188.            EXTENDED                  Extended median test
  1189.            VALUES (int, int)         Values or range of X
  1190.            PANEL                     Display the options panel
  1191.      - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  1192.      MENU [options]
  1193.       .
  1194.       .
  1195.       .
  1196.      ENDMENU;
  1197.  
  1198.         Description: The MENU command  allows you to define a bouncing
  1199.         bar menu.  The maximum  number of items is 20 and  the maximum
  1200.         length of each menu option is  30 characters.  An optional '&'
  1201.         character can be inserted in the command file to specify a key
  1202.         that, when pressed  will select this  item.  The  ROW and  COL
  1203.         options  are  use  to  specify  the  position  of  the  menu's
  1204.         upperleft corner. If no ROW or COL is specified, the menu will
  1205.         be positioned in the middle of  the screen.  The item selected
  1206.         is stored in the $ITEM variable (see IF command).
  1207.  
  1208.         Options:
  1209.  
  1210.            ROW=integer               Row of upper left corner
  1211.            COL=integer               Column of upper left corner
  1212.  
  1213.         Example:
  1214.  
  1215.            MENU
  1216.            &Open
  1217.            &Save
  1218.            s&Ave as
  1219.            &Quit
  1220.            ENDMENU;
  1221.      - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  1222.      MOSES varlist BY varlist [/ options];
  1223.  
  1224.         Description: The MOSES test of extreme reactions tests whether
  1225.         the range  of an  ordinal variable is  the same  in a  control
  1226.         group  as in  a  comparison group,  as defined  by  a grouping
  1227.         variable.  The output includes  counts for both groups, number
  1228.         of outliers removed,  the span of the control group before and
  1229.         after outliers are removed,  and one-tailed probability of the
  1230.         span with  and without outliers.  By  default, 5% of the cases
  1231.         are trimmed from each end of the range of the control group to
  1232.         remove outliers.
  1233.  
  1234.         Options:
  1235.  
  1236.            VALUES (int, int)         Values of independent variable
  1237.            OUTLIERS=integer          Number of outliers to remove
  1238.            PANEL                     Display the options panel
  1239.      - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  1240.      MRESPONSE [MULTX, MULTY] analysis
  1241.  
  1242.         Description:  The MRESPONSE (multiple response) command allows
  1243.         you  to obtain frequency analyses and crosstabulation analyses
  1244.         on  variables  which  can  legitimately  have  more  than  one
  1245.         response.  These  multiple responses  are  stored  in as  many
  1246.         variables  as  necessary.   Choosing  all  these variables  as
  1247.         dependent  (X)  or independent  (Y)  variables  allows you  to
  1248.         gather  all these  responses and  treat them  as if  they were
  1249.         stored in a single variable.
  1250.  
  1251.         Options:
  1252.  
  1253.            MULTX                     Treat X as multiple responses
  1254.            MULTY                     Treat Y as multiple responses
  1255.            PANEL                     Display the options panel
  1256.            FREQ varlist [/ options];
  1257.            CROSSTAB varlist BY varlist [/ options];
  1258.      - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  1259.      MULTREG varlist BY varlist [/ options];
  1260.  
  1261.         Description: The MULREG command allows you to perform multiple
  1262.         regression analysis to predict  a dependent variable from many
  1263.         independent  variables.   SIMSTAT provides  various regression
  1264.         methods  including  standard regression,  hierarchical  entry,
  1265.         forward  selection,  backward selection,  stepwise  selection.
  1266.         The  options  also  allow  you  to  display  a  wide  range of
  1267.         statistics and perform various test on residual values.
  1268.  
  1269.         Options:
  1270.                                      Type of regression
  1271.         HIERARCHICAL                   Hierarchical entry
  1272.            | FORWARD                   Forward selection
  1273.            | BACKWARD                  Backward elimination
  1274.            | STEPWISE                  Stepwise selection
  1275.            | STANDARD                  Enter all variables
  1276.            PIN=real                  P value to enter
  1277.            POUT=real                 P value to remove
  1278.            TOLERANCE=real            Minimum tolerance value
  1279.            STEP                      Show each step
  1280.            ANOVA                     Anova table
  1281.            CHANGE                    Test of changes in R-square
  1282.            HISTORY                   History of changes in R
  1283.            SUMMARY                   Summary anova table
  1284.            EQUATION                  Variables in the equation
  1285.            OUT                       Variables not in the equation
  1286.            CI=integer                Width of confidence interval
  1287.            CPLOT                     Casewise plot of residuals
  1288.              OUTLIERS=real             Outliers criterion (s.d.)
  1289.            RPLOT [=T | =G]           Residuals scatterplot
  1290.            PPLOT                     Normal plot of residuals
  1291.            SAVE                      Save predicted and residuals
  1292.            PANEL                     Display the options panel
  1293.      - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  1294.      NONLIN varlist /
  1295.       .
  1296.       .   {any NLREG command}
  1297.       .
  1298.      END;
  1299.  
  1300.         Requirement: NLREG v3.x and SIM2NL 2.0 (see read.me)
  1301.  
  1302.         Description: The  NLREG command  allows to  perform nonlinear
  1303.         multiple regression.   SIMSTAT will  automatically  transfert
  1304.         the specified variables  from the current data file to NLREG.
  1305.         You may  write  almost  any  NLREG  commands between the  '/'
  1306.         delimiter and the  END keyword  just like you  would do  when
  1307.         running  NLREG  as a standalone  program.  However, the VARI-
  1308.         ABLES command is not needed anymore and should not be used.
  1309.      - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  1310.       NPAR varlist BY varlist [/ options];
  1311.  
  1312.         Description:  The NPAR command displays  a matrix  for various
  1313.         measures  of   associations   and  concordance   between   two
  1314.         variables.    The  options allow  to  obtain  count and  exact
  1315.         probability  of each  coefficient or  asterisks that  show the
  1316.         probability  level  reached.   This  probability  test can  be
  1317.         either one- or two-tailed.
  1318.  
  1319.         Options:
  1320.                                      Type of statistics
  1321.            TAU-A                       Kendall's Tau-a
  1322.            | TAU-B                     Kendall's Tau-b
  1323.            | TAU-C                     Kendall-Stuart's Tau-C
  1324.            | D-SYM                     Somer's D (symmetric)
  1325.            | D-XDEP                    Somer's D (X dependent)
  1326.            | D-YDEP                    Somer's D (Y dependent)
  1327.            | GAMMA                     Gamma
  1328.            | RHO                       Spearman's Rho
  1329.            | R                         Pearson's R
  1330.            EXACT                     Exact probabilities
  1331.            1TAIL | 2TAIL             Direction of test
  1332.                                      Deletion of missing values
  1333.            PAIRWISE                    Pairwise
  1334.            | LISTWISE                  Listwise
  1335.            PANEL                     Display the options panel
  1336.      - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  1337.      ONEWAY varlist BY varlist [/ options];
  1338.  
  1339.         Description: The ONEWAY command performs a one-way analysis of
  1340.         variance for all dependent variables on groups defined by each
  1341.         categorical (numeric) independent  variable. It allows testing
  1342.         whether the  means of the groups (2 or more) are not all equal
  1343.         to each other.  ONEWAY provides  one-way variance analysis and
  1344.         a standard a table including between and within groups sums of
  1345.         squares, mean squares, and degrees of freedom, F-ratio and its
  1346.         associated  probability.  You can  also obtain for each group,
  1347.         descriptive   statistics   including  count,   mean,  standard
  1348.         deviation,  standard  error  and  a  user-specified confidence
  1349.         interval  for the mean.   Various measures of  effect size and
  1350.         post  hoc comparison can also  be obtained as  well as various
  1351.         graphs such as a barchart representing the mean of each group,
  1352.         an  error  bar diagram  or a  deviation  chart where  each bar
  1353.         represents either the standard  deviation, the standard  error
  1354.         or a user specified confidence interval.
  1355.  
  1356.         Options:
  1357.  
  1358.            RANGE (int,int)           Minimum and maximum values
  1359.            DESC                      Descriptive statistics
  1360.            CI=integer                Confidence interval width
  1361.                                      Post hoc test
  1362.              LSD                       Least significant difference
  1363.            | N-K                       Newman-Keuls
  1364.            | TUKEY                     Tukey's H.S.D
  1365.            | SCHEFFE                   Scheffé test
  1366.            BARCHART                  Barchart of cells mean
  1367.              CIBAR                     Confidence interval
  1368.              | SE                      Standard error
  1369.              | SD                      Standard deviation
  1370.            ERRORCHART                Error bar graph
  1371.              CIBAR                     Confidence interval
  1372.              | SE                      Standard error
  1373.              | SD                      Standard deviation
  1374.            DEVCHART                  Deviation chart
  1375.            PANEL                     Display the options panel
  1376.      - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  1377.      OPEN filename;
  1378.  
  1379.         Description:  The  OPEN command  reads a data  file.   SIMSTAT
  1380.         recognizes five different file formats:
  1381.  
  1382.               1) SPSS/PC+ system files (.SYS or .SPS);
  1383.               2) SPSS for Windows data file (.SAV);
  1384.               3) dBASE III and IV files (.DBF);
  1385.               4) LOTUS 1-2-3 files (.WKS or .WK1);
  1386.               5) ASCII data files (.DAT, .TXT, or .CSV).
  1387.      - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  1388.      PAUSE;
  1389.  
  1390.         Description:  The PAUSE command  momentarily  stops a  program
  1391.         until a key is pressed.
  1392.      - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  1393.      PCA {varlist} [/OPTIONS];
  1394.  
  1395.         Requirement: MVSP v2.2 and SIM2MVSP (see read.me)
  1396.  
  1397.         Description:   This  procedure  performs  a  R-mode  principal
  1398.         components  analysis.   The component  loadings  are scaled to
  1399.         unity, so that the sum of squares  of an eigenvector equals 1,
  1400.         and the component scores are scaled so that the sum of squares
  1401.         equals  the eigenvalue.  Q-mode PCA  will  generally  have the
  1402.         opposite scaling.
  1403.  
  1404.         Options:
  1405.  
  1406.            TRANSFORM=                Select a transformation
  1407.              LOG10                      Log base 10
  1408.              | LOGE                     Log base e
  1409.              | LOG2                     Log base 2
  1410.              | SQRT                     Square root
  1411.              | RATIO                    Logratio
  1412.            TRANSPOSE                 Transpose data
  1413.            CENTER                    Center dat
  1414.            STANDARDIZE               Standardize data
  1415.                                      Minimum eigenvalue (def = all)
  1416.            KAISER                       Kaiser's rule
  1417.            | JOLLIFFE                   Jolliffe's rule
  1418.            | MINEIGEN={real}            Specify a minimum eigenvalue
  1419.            ACCURACY={real}           Accuracy of solution
  1420.                                      Output of graphics
  1421.            PLOT                         Text scattergrams
  1422.            | GPLOT                      Graphic scattergrams
  1423.      - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  1424.      PCO {varlist} [/OPTIONS];
  1425.  
  1426.         Requirement: MVSP v2.2 and SIM2MVSP (see read.me)
  1427.  
  1428.         Description:  Principal coordinates analysis (PCO)  is a gene-
  1429.         ralized form  of PCA.   Whereas PCA  implicitly uses  either a
  1430.         covariance or correlation matrix,  PCO allows you to input any
  1431.         matrix  of metric  values.  PCO may  be used  with any  of the
  1432.         distances calculated by MVSP except for the squared  Euclidean
  1433.         distance.  Of the similarity measures  only Gower's is metric.
  1434.         PCO is calculated as a Q-mode eigenanalysis, therefore it only
  1435.         gives  the  eigenvectors,  not  scores.   Note  that a  PCO of
  1436.         Euclidean distances  will give  the same results  as a  Q-mode
  1437.         PCA.
  1438.  
  1439.         Options:
  1440.  
  1441.            TRANSFORM=                Select a transformation
  1442.              LOG10                      Log base 10
  1443.              | LOGE                     Log base e
  1444.              | LOG2                     Log base 2
  1445.              | SQRT                     Square root
  1446.              | RATIO                    Logratio
  1447.            TRANSPOSE                 Transpose data
  1448.            COEFF=                    Select a coefficient (def: EUCLID)
  1449.              EUCLID                     Euclidian distance
  1450.              | STEUCLID                 Standardized Euclidian dist
  1451.              | COSINE                   Cosine theta distance
  1452.              | MANHAT                   Manhattan metric distance
  1453.              | CANBER                   Canberra metric distance
  1454.              | CHORD                    Chord distance
  1455.              | CHISQR                   Chi-square distance
  1456.              | AVERAGE                  Average distance
  1457.              | MEAN                     Mean character difference dist
  1458.              | GOWER                    Gower general similarity coeff
  1459.                                      Minimum eigenvalue (default: none)
  1460.            KAISER                       Kaiser's rule
  1461.            | JOLLIFFE                   Jolliffe's rule
  1462.            | MINEIGEN={real}            Specify a minimum eigenvalue
  1463.            ACCURACY={real}           Accuracy of solution
  1464.                                      Output of graphics
  1465.            PLOT                         Text scattergrams
  1466.            | GPLOT                      Graphic scattergrams
  1467.      - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  1468.  
  1469.      QBOX "string" KEY=string of characters [options];
  1470.  
  1471.         Description: The QBOX command allows  you to display  a single
  1472.         line message or question to the screen.  By default the window
  1473.         is positioned  in the middle of  the screen.  The  COL and ROW
  1474.         options can  also  be used  to  specify  the position  of  the
  1475.         window's upper left corner.  The window  stays on screen until
  1476.         a key is pressed.   The KEY option can be use  to restrict the
  1477.         valid  input to specific  keys (letters  or number).   The key
  1478.         pressed  is stored  in a  variable named  $ANSWER.   The DELAY
  1479.         option  allows  you  to insert  a  minimum  delay between  the
  1480.         display of the box and  the input of a valid key.   The colors
  1481.         of the box can be altered using the COLOR option.  The default
  1482.         colors can also be changed by using the SET COLOR command.
  1483.  
  1484.         Options:
  1485.  
  1486.            KEY=string of char        Valid keys
  1487.            COLOR color ON color      Foreground/background color
  1488.            DELAY=integer             Length of delay
  1489.            ROW=integer               Row of upper left corner
  1490.            COL=integer               Column of upper left corner
  1491.      - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  1492.      QUIT
  1493.  
  1494.         Description: This command takes you out of the SIMSTAT program.
  1495.         All opened files are closed before exiting the program.
  1496.      - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  1497.      REGRESSION varlist BY varlist [/ options];
  1498.  
  1499.         Description: The REGRESSION command produces simple regression
  1500.         analysis  for  each pair  of  dependent-independent variables.
  1501.         SIMSTAT  lets you choose among linear  and 6 type of nonlinear
  1502.         regression.   The output  includes the Pearson  product-moment
  1503.         correlations, the intercept and  slope of the regression line,
  1504.         and an ANOVA  table for the equation.   Various options  allow
  1505.         you to  obtain a bivariate  scatterplot, to  select a one-  or
  1506.         two-tailed test of probabilities and to request a standardized
  1507.         residuals caseplot,  a  scatterplot  of  predicted  values  by
  1508.         standardize  residuals  or   a  normal  probability  plot   of
  1509.         residuals.
  1510.  
  1511.         Options:
  1512.  
  1513.                                      Type of regression
  1514.            LINEAR                      Linear regression
  1515.            | QUADRATIC                 Quadratic regression
  1516.            | CUBIC                     Cubic regression
  1517.            | 4TH                       4th degree polynomial
  1518.            | 5TH                       5th degree polynomial
  1519.            | INV                       Inverse regression
  1520.            | LOG                       Logarithmic regression
  1521.            | EXP                       Exponential regression
  1522.            1TAIL | 2TAIL             Direction of test
  1523.            XYPLOT [=T | =G]          Bivariate scatterplot
  1524.            CI=integer                Confidence interval width
  1525.            CPLOT                     Caseplot of residuals
  1526.              OUTLIERS=real             Outliers criterion (s.d.)
  1527.            RPLOT [=T | =G]           Residuals scatterplot
  1528.            PPLOT                     Probability plot of residuals
  1529.            SAVE                      Save predicted and residuals
  1530.            PANEL                     Display the options panel
  1531.      - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  1532.      RELIABILITY varlist [BY varlist] [/ options];
  1533.  
  1534.         Description: The RELIABILITY command  provides a means to test
  1535.         the quality  of  multiple-item  additive  scales  through  the
  1536.     computation of reliability statistics.   The options available
  1537.         offer  the  possibility  to  obtain  various  item statistics,
  1538.         iter-item  variance-covariance and correlation matrices, total
  1539.         scale and item-total statistics. It also allows you to  verify
  1540.         the  reliability of the scale through  the use of a split-half
  1541.         method or  by computing  internal consistency measures.   Each
  1542.         selected variable is considered as a single item of the scale.
  1543.         The first and second lists or variables can be used to specify
  1544.         the division of items in two different subscales to be used in
  1545.         a split-half method.
  1546.  
  1547.         Options:
  1548.  
  1549.            ITEM                      Item statistics
  1550.            CORR                      Inter-item correlation matrix
  1551.            COVAR                     Variance/covariance matrix
  1552.            TOTAL                     Item-total statistics
  1553.            SPLIT                     Split-half reliability
  1554.            ALPHA                     Cronbach's Alpha
  1555.            PANEL                     Display the options panel
  1556.      - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  1557.      RANDOM varlist BY varlist [/ options];
  1558.  
  1559.         Description: The  RANDOM command is similar to  the BOOTSTRAP2
  1560.         command  but  makes  the  null assumption  that  there  is  no
  1561.         difference or relation in the  population.  The program  draws
  1562.         from the sample  and for each  variable a specified  number of
  1563.         random   observations  with   replacement  and   computes  the
  1564.         estimator for  the subsample. The procedure  is performed many
  1565.         times (10 to 20,000  times).  The options allow you to display
  1566.         information   about  the   estimator  distribution   including
  1567.         descriptive statistics, frequency table, percentile  table and
  1568.         histogram  of  the estimator  distribution.  The program  also
  1569.         computes nonparametric and bias corrected bootstrap confidence
  1570.         intervals and type I error rate for up to 4 alpha levels.
  1571.  
  1572.         Options:
  1573.  
  1574.            SIZE=integer              Size of each sample
  1575.            SAMPLING=integer          Number of sampling
  1576.            SEED=integer              Initial seed value
  1577.                                      Choice of statistics
  1578.            TAU-A                       Kendall's Tau-A
  1579.            | TAU-B                     Kendall's Tau-B
  1580.            | TAU-C                     Kendall-Stuart's Tau-C
  1581.            | D-SYM                     Somer's D symmetric
  1582.            | D-XDEP                    Somer's D (X dependent)
  1583.            | D-YDEP                    Somer's D (Y dependent)
  1584.            | GAMMA                     Gamma
  1585.            | RHO                       Spearman's Rho
  1586.            | R                         Pearson's r
  1587.            | SLOPE                     Regression slope
  1588.            | INTERCEPT                 Regression intercept
  1589.            | S-T                       Student's T
  1590.            | S-F                       Student's F
  1591.            | M-W                       Mann-Withney
  1592.            | WILCOXON                  Wilcoxon (W value)
  1593.            | SIGN                      Sign test (Z value)
  1594.            | K-W                       Kruskal-Wallis
  1595.            | MEDIAN                    Median test (Z value)
  1596.            DESC                      Descriptive statistics
  1597.            INTERVAL=real             Confidence interval
  1598.            PTILES                    Percentile table
  1599.            HISTO [=T | =G]           Histogram
  1600.               VERT | HORIZ             Orientation
  1601.               MIN=real                 Minimum value
  1602.               INC=real                 Increment value
  1603.               NBAR=integer             Nb of bars/intervals
  1604.               NORMAL                   Normal curve
  1605.            ERRORRATE=real            Type I error rate
  1606.            PANEL                     Displays the options panels
  1607.      - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  1608.      RUN commandfile;
  1609.  
  1610.         Description: The RUN command stops the execution of the current
  1611.         batch program to  run another batch file.  (see also the  CALL
  1612.         command)  If no extension is provided, the ".CMD" extension is
  1613.         automatically added to the command file name.
  1614.      - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  1615.      RUNS varlist BY varlist [/ options];
  1616.  
  1617.         Description: The RUNS test is a procedure  to test whether the
  1618.         ordered  sequence  in  which  observations  were  obtained  is
  1619.         random. In order  to be performed,  such a test  requires that
  1620.         all values  be dichotomized  into two categories.  The options
  1621.         allow you  to separate  observations into two  distinct groups
  1622.         using  the mean,  the median  or a  user-specified value  as a
  1623.         cutoff point.
  1624.  
  1625.         Options:
  1626.                                      Type of cuttoff point
  1627.            MEAN                        Mean
  1628.            | MEDIAN                    Median
  1629.            | VALUE                     Value
  1630.            VALUES (int, int)         Values of X
  1631.            PANEL                     Display the options panel
  1632.      - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  1633.      SCED varlist BY varlist [/ options];
  1634.  
  1635.         Description:   The  SCED  (single  case  experimental  design) 
  1636.     command provides some basic tools  to study  the effect of  an
  1637.         intervention on the behavior of a single subject.  It involves
  1638.         the repeated objective measurement of the behavior of a single
  1639.         subject  (dependent  variable)  over  a long  period  of  time
  1640.         interspersed   with  changes   in   the  treatment   condition
  1641.         (independent  variable). The  procedure will  display a  graph
  1642.         representing the  evolution of  the dependent variable  (Y) at
  1643.         various phases  defined by  the independent (X)  variable. The
  1644.         various  options allow  you to  obtain various  statistics for
  1645.         each  phase of the analysis  as well as  various graphic tools
  1646.         that  can  be  used  as  judgemental  aids  to   identify  the
  1647.         experimental  effect  of  the  intervention   (smoothed  data,
  1648.         split-middle trend, control bars).
  1649.  
  1650.         Options:
  1651.  
  1652.            BRIEF | DETAIL            Descriptive statistics
  1653.            CUMUL                     Cumulative frequency
  1654.            LOG                       Log transformation
  1655.            TREND                     Split-middle trend lines
  1656.                                      Smoothing technique
  1657.            MAVG (int int ...)          Moving average
  1658.            | RMED (int int ...)        Running median
  1659.            RBAR                      Control bars
  1660.              PCT=integer               Width of interval
  1661.              MIN=integer               Lower value
  1662.              MAX=integer               Higher value
  1663.            PANEL                     Display the options panel
  1664.      - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  1665.      SELECT [string];
  1666.  
  1667.         Description:  The SELECT  command  allows  you  to temporarily
  1668.         selects  cases according to some logical  conditions.  You can
  1669.         use this command to  restrict your analysis to a  subsample of
  1670.         cases  or  to  temporarily   exclude  some  subjects.    These
  1671.         conditions  are specified  in  a logical  expression that  may
  1672.         consist  of a  simple expression  or include  many expressions
  1673.         related by logical  operators (AND, OR,  XOR).  The  selection
  1674.         stays effective until the logical expression is changed or the
  1675.         selection  deactivated.     When  used  alone,   this  command
  1676.         deactivates the previous selection.
  1677.  
  1678.         Examples:
  1679.  
  1680.            SELECT (AGE > 10) OR (SEX = 1);
  1681.  
  1682.            SELECT;       {deactivate the previous selection}
  1683.      - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  1684.      SENSITIVITY varlist BY varlist [/ options];
  1685.  
  1686.         Description: The SENSITIVITY analysis allows one to assess the
  1687.         ability  of  a quantitative  measure  (X)  to differentiate  a
  1688.         dichotomous criterion  condition (Y) and provide guidelines to
  1689.         choose an  appropriate cutoff point.  The program provides for
  1690.         each  value   of  the   quantitative  measure  the   level  of
  1691.         sensitivity  (proportion of positive cases correctly diagnosed
  1692.         as  true)  and  specificity   (proportion  of  negative  cases
  1693.         correctly   diagnosed  as   false),  and  the   percentage  of
  1694.         false-positives and false-negatives.  This command also allows
  1695.         you to obtains a ROC (receiver operating characteristic) curve
  1696.         and an Error rate graph.
  1697.  
  1698.         Options:
  1699.  
  1700.            VALUE=real                Criterion value
  1701.            HIGH                      Scale orientation (ascending)
  1702.            SSTAT                     Sensitivity statistics
  1703.            ESTAT                     Error rates statistics
  1704.            ROC                       Roc curve graph
  1705.            ERROR                     Error rates graph
  1706.            PANEL                     Display the options panel
  1707.      - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  1708.      SET [options];
  1709.  
  1710.         Description:  The SET command  allows you  to specify  various
  1711.         program configuration features, control the output of analysis
  1712.         to disk  and the printer,  and set  the default values  use by
  1713.         some statistical analysis.
  1714.  
  1715.         Options:
  1716.  
  1717.         COLOR color ON color         Foreground/background color
  1718.         1TAIL | 2TAIL                Default direction of test
  1719.         SOUND ON | OFF               Play sounds, beep on error
  1720.         FORMFEED ON | OFF            Formfeed after each analysis
  1721.         LINEFEED ON | OFF            Linefeed after carriage return
  1722.         ASCII ON | OFF               Extended ASCII to printer
  1723.         MORE ON | OFF                Pause after each screen
  1724.         PRINTER ON | OFF             Open/close printer log
  1725.         LISTING filename             Specify the listing filename
  1726.         DISK ON | OFF                Open/close disk log
  1727.      - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  1728.      SHELL [string];
  1729.  
  1730.         Description:  The  SHELL  command   temporarily  suspends  the
  1731.         execution of the batch program to run a DOS program or a batch
  1732.         file.  When used alone, the SHELL command invokes a DOS  shell
  1733.         allowing the user  to execute DOS commands or  other programs.
  1734.         Use the EXIT command to resume your program.
  1735.      - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  1736.      SIGN varlist BY varlist [/ options];
  1737.  
  1738.         Description: The SIGN test procedure tests the hypothesis that
  1739.         two variables have the same distribution. This is assessed  by
  1740.         comparison of the numbers of positive and negative differences
  1741.         between the two variables.  The probability test performed can
  1742.         be either one- or two-tailed.
  1743.  
  1744.         Options:
  1745.  
  1746.            1TAIL | 2TAIL             Direction of the test
  1747.            PANEL                     Display the options panel
  1748.      - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  1749.      SOUND [options];
  1750.  
  1751.         Description: The SOUND command  generates a sound  through the
  1752.         computer's speakers.  When  used alone, this command generates
  1753.         a short sound of 220 hertz during 1 second.  Another frequency
  1754.         in hertz  can be  specified  by providing  a value  between  1
  1755.         through  32,767.    The duration  can  be  set in  millisecond
  1756.         between 1 and 30000  (30 seconds).  Setting the  duration to 0
  1757.         millisecond generates a sound that will continue until another
  1758.         SOUND command  is issued or  until turned  off by a  SOUND OFF
  1759.         command.
  1760.  
  1761.         Options:
  1762.  
  1763.             OFF                      Turn the speaker off
  1764.             F=integer                Frequency in hertz
  1765.             D=integer                Duration in millisecond
  1766.      - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  1767.      STOP
  1768.  
  1769.         Description: Immediately stops the batch command and return to
  1770.         the SIMSTAT user interface.
  1771.      - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  1772.      TITLE string;
  1773.  
  1774.         Description: The TITLE option is used to  specify a title line
  1775.         that will be printed at the top of each analysis.
  1776.      - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  1777.      T-TEST varlist BY varlist [/ options];
  1778.  
  1779.         Description: The T-TEST command calculates either independent-
  1780.         sample  t-tests  (GROUP)  or  paired-sample  t-tests  (PAIRED) 
  1781.     to  decide   whether  two  sample   means  are   significantly
  1782.         different.  The paired-sample (or correlated) t-test  compares
  1783.         the  means  between each  pair  of  dependent and  independent
  1784.         variables.    The independent  t-test  compares  means on  the
  1785.         dependent  variable for  two groups defined  by values  of the
  1786.         independent variable.  SIMSTAT  provides two distinct tests to
  1787.         take  into account whether the two  populations from which the
  1788.         samples  are drawn have equal  or unequal variances.   You can
  1789.         also specify  whether the null hypothesis  should be evaluated
  1790.         using a one- or a two-tailed test.
  1791.  
  1792.         Options:
  1793.  
  1794.            GROUP | PAIRED            Grouped or paired t-test
  1795.            VALUE (int, int)          Values of X
  1796.            CI=integer                Confidence interval width
  1797.            1TAIL | 2TAIL             Direction of the test
  1798.            BARCHART                  Barchart
  1799.              CIBAR                     Confidence interval
  1800.              | SE                      Standard error
  1801.              | SD                      Standard deviation
  1802.            ERRORCHART                Error bar graph
  1803.              CIBAR                     Confidence interval
  1804.              | SE                      Standard error
  1805.              | SD                      Standard deviation
  1806.            HISTO                     Dual histogram
  1807.              NBAR=integer              Number of bars
  1808.              VERTICAL                  Vertical orientation
  1809.              NORMAL                    Normal curve
  1810.            PANEL                     Display the options panel
  1811.      - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  1812.      TIME-SERIES varlist [/ options];
  1813.  
  1814.         Description: The TIME-SERIES command allows the examination of
  1815.         time  series.   The options  offer various  transformations to
  1816.         remove trends or  seasonal dependence in a series and provides
  1817.         a   diagnostic  for   those   transformations  by   displaying
  1818.         autocorrelation and partial autocorrelation function  plots of
  1819.         the  transformed  series.     This  command  also  allows  the
  1820.         application of two smoothing  methods (i.e. moving average and
  1821.         running median) to identify trends  in noisy time series data.
  1822.         Control bars  representing the mean and  the confidence limits
  1823.         can also be displayed over the series.
  1824.  
  1825.         Options:
  1826.  
  1827.            LOG                       Log transformation
  1828.            MEAN                      Remove the mean
  1829.            DIFF=integer              Number of differencing
  1830.            SEASON=integer            Length of seasonnality
  1831.            PLOT [=T | =G]            Plot the series
  1832.            ACF                       Autocorrelation function
  1833.            PACF                      Partial autocorrelation function
  1834.            LAG=integer               Nb of lags for ACF and PACF
  1835.            Type of smoothing
  1836.            MAVG (int int...)           Moving average
  1837.            | RMED (int int...)         Running median
  1838.            RBAR                      Control bars
  1839.              PCT=integer               Width of interval
  1840.              LOW=integer               Lower value
  1841.              HIGH=integer              Higher value
  1842.            PANEL                     Display the options panel
  1843.      - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  1844.      WEIGHT [variable];
  1845.  
  1846.         Description:  The WEIGHT command  allows  you  to designate  a
  1847.         weighting variable.  When used alone, the weighting  if turned
  1848.         off.
  1849.      - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  1850.      WILCOXON varlist BY varlist [/ options];
  1851.  
  1852.         Description: The WILCOXON matched-pairs signed-ranks test is a
  1853.         procedure  used to test whether two  related samples have been
  1854.         drawn from  the  same  population.  Like  the  sign  test,  it
  1855.         computes the  difference between  the two variables  but takes
  1856.         into  account the magnitude  as well  as the direction  of the
  1857.         differences.   The   Wilcoxon   signed-ranks   test   is   the
  1858.         nonparametric version  of the t-test for paired  samples.  The
  1859.         probability test performed can be either one- or two-tailed.
  1860.  
  1861.         Options:
  1862.  
  1863.            1TAIL | 2TAIL             Direction of the test
  1864.            PANEL                     Display the options panel
  1865.      - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  1866.