Edit Parameters

Open a data file and a Statistica workspace. Insert the Rules node into the workspace. Double-click the Rules node to display the Rules dialog box.

Element Name Description
Edit Displays the Rules Builder, which contains options to edit the rules
Output a spreadsheet for downstream analysis It gives an output the rules execution to a spreadsheet in the Workspace, which can then be connected to other workspace nodes such as the Database write back.

This option is set to True by default

Output a Spreadsheet This option outputs the rules execution to the standard Workspace results workbook. It is recommended that this option be set to False, if the rules are executing against more than 100000 cases.

The option is set to False by default.

Input variables to copy to results spreadsheet Click the button adjacent to this field to display the Select Variables dialog box. A copy of the variables selected from the input variables is placed at the start of the results workbook. Select only the needed variables to keep the size of the output spreadsheet as small as possible.
Generate Trace Workbook Debug rules by selecting the True option button. A Statistica workbook is generated that demonstrates how the logic is executed on the first 1000 cases.
Rules Summary Report This option includes the text of the rules in a Statistica report window in the Workspace Results Workbook. All embedded rules are expanded in the report. This can be used as documentation for the rules.

This option is set to False by default.

Missing Data As Error This option considers any assignment of missing data to a rules variable to be an error; this includes both formula and model evaluation. The exception is a simple expression of the form OutVar = InVar, which copies input to an output variable; missing data in the input does not cause an error to be generated.

Statistica returns the missing data from formula evaluation if the inputs contain missing data or if there is some numerical issue such as divide by 0 or invalid function parameters. It is expected that this is an error condition, so the option is set to True by default. If missing data assignment is expected within a certain set of rules, this option should be set to False.

Output Error Variable This option includes a variable named STA_ERRORS that contains any per-case error messages. The variable contains missing data for cases where there is no error. The error includes a line number of the rule being executed when the error was created as well as descriptive text of the error.

This option is set to True by default.

Max Error Count This option determines the maximum number of per-case errors before rules execution stops. A value of "0" specifies to process all cases; a value greater than 0 specifies to stop after this number of errors has been processed.

The default value is 0 for this option, meaning all rules are processed regardless of the number of errors.

OK Use this option to perform the specified actions
Cancel Use this option to close the dialog box. Any selections made are discarded.