Create Indicator Variable
overview
     how to     see also 

Editor > Create Indicator Variable

Use to create a column in the Data window called an indicator variable that identifies brushed rows with a column of data. If a row is currently brushed, the cell in that row of the indicator variable column has a value of 1. If a row is not brushed, the cell has a value of 0. The contents of the column change dynamically as you move the brushing region on the graph. You can choose to update this indicator column automatically or manually.

You can use the indicator variable to explore the data in different ways. For example, you can:

·    Subset the data based on brushed points.

·    Calculate descriptive statistics separately for the brushed and unbrushed points.

·    Perform a regression analysis, omitting the brushed points.

Dialog Box Items

Column: Enter the column where the indicator values will be stored.

Code brushed points as zero: Check this box to set brushed rows to 0, and nonbrushed rows to 1. If unchecked, brushed rows are set to 1 and nonbrushed rows are set to 0.

Update now: Select this option to change the values in the indicator variable to reflect the currently brushed set.

Update now and whenever the brushed set changes: Select this option to change the values in the indicator variable every time you move or change the brushing region.