Using the Frequency Tables Operator

Introduction

The Spotfire Streaming Frequency Tables Operator is used to compute contingency table that shows item and combination counts

Frequency Tables Properties

This section describes the properties you can set for this adapter, using the various tabs of the Properties view in StreamBase Studio.

General Tab

Name: Use this required field to specify or change the name of this instance of this component. The name must be unique within the current EventFlow module. The name can contain alphanumeric characters, underscores, and escaped special characters. Special characters can be escaped as described in Identifier Naming Rules. The first character must be alphabetic or an underscore.

Operator: A read-only field that shows the formal name of the operator.

Class name: Shows the fully qualified class name that implements the functionality of this adapter. If you need to reference this class name elsewhere in your application, you can right-click this field and select Copy from the context menu to place the full class name in the system clipboard.

Start options: This field provides a link to the Cluster Aware tab, where you configure the conditions under which this adapter starts.

Enable Error Output Port: Select this checkbox to add an Error Port to this component. In the EventFlow canvas, the Error Port shows as a red output port, always the last port for the component. See Using Error Ports to learn about Error Ports.

Description: Optionally, enter text to briefly describe the purpose and function of the component. In the EventFlow Editor canvas, you can see the description by pressing Ctrl while the component's tooltip is displayed.

Operator Properties Tab

Property Description
Missing data deletion If casewise missing data deletion is selected, then all rows with missing data in at least one of the selected variables will be excluded from the analysis, otherwise if pairwise is selected, each correlation between a pair of variables will include all cases with valid data on both of those variables.
Categorization Method These options determine how the currently selected variables will be categorized for the Summary: Frequency tables

All distinct values: Select this option button to base the frequencies on all of the distinct values for each of the selected variables. Select the with text labels checkbox to base the frequencies on the distinct text labels for each of the selected variables.

Exact intervals: Select this option button to divide the entire range of values for each variable into the number of intervals specified in the corresponding edit field.

Neat intervals; approximate no: Select this option button if you want the category or interval boundaries and step-sizes (interval ranges) for the frequency tables to be "neat". In this manner, clean and easy to read tables can be produced; however, the tables may not always have the exact number of intervals requested in the corresponding edit field.

No. of interval Number of intervals or approximate number of intervals for the categorization method Exact intervals and Neat intervals.
Cumulative Frequency Select this checkbox to report the cumulative frequencies.
Percentages Select this checkbox to report the relative frequencies (percentages).
Cumulative Percentages Select this checkbox to report the relative cumulative frequencies (cumulative percentages).
100% - Cumulative Percentages Select this checkbox to report the 100-minus cumulative percent values for each category.
Count Missing Data Select this checkbox to display an extra category for missing data in the frequency table. Also, percentages and cumulative percentages will be computed relative to the total number of cases plus the number of missing data
Log Level Controls the level of verbosity the adapter uses to send notifications to the console. This setting can be higher than the containing application's log level. If set lower, the system log level is used. Available values, in increasing order of verbosity, are: OFF, ERROR, WARN, INFO, DEBUG, TRACE.

Field Select tab

Property Description
Variable List Specify the selected variables for the analysis.

Cluster Aware Tab

Use the settings in this tab to enable this operator or adapter for runtime start and stop conditions in a multi-node cluster. During initial development of the fragment that contains this operator or adapter, and for maximum compatibility with releases before 10.5.0, leave the Cluster start policy control in its default setting, Start with module.

Cluster awareness is an advanced topic that requires an understanding of StreamBase Runtime architecture features, including clusters, quorums, availability zones, and partitions. See Cluster Awareness Tab Settings on the Using Cluster Awareness page for instructions on configuring this tab.

Concurrency Tab

Use the Concurrency tab to specify parallel regions for this instance of this component, or multiplicity options, or both. The Concurrency tab settings are described in Concurrency Options, and dispatch styles are described in Dispatch Styles.

Caution

Concurrency settings are not suitable for every application, and using these settings requires a thorough analysis of your application. For details, see Execution Order and Concurrency, which includes important guidelines for using the concurrency options.