STAT_STR

This command returns the value of the requested statistic, formatted as a string.

Values that are unavailable (such as "% below Spec predicted" when the lower spec is not set) will return an empty string.

Syntax

STAT_STR stats_ID_code_number

Return value

This command returns a string.

Notes

The statistics reported using this command are calculated from the subgroups retrieved during the data entry session. To determine which and how many subgroups were retrieved, look at the Retrieval Settings dialog on the Session menu.

Example

STAT_STR 79

Stats_ID_code_number 79 is "% below Spec predicted", so this formula returns the "% below Spec predicted" value for the data set, formatted as a string.

VAL (STAT_STR 79)

The VAL command returns the numeric value of a string, so this formula returns the numeric value of "% below Spec predicted" for the data set.