# COOKER_VARIANCE

The COOKER_VARIANCE counter type formula provides variability that use to characterize dispersion for a set of raw observations of one property in a
**Win32_PerfRawData** instance. The variance is calculated by dividing the sum of the square of the deviation from the mean of each counter by the number of counters. In other words, the variance is the average of the squared deviations from the mean for each counter. This counter type is defined only within WMI, and it is not available to the performance monitoring technologies, such as Performance Counters Version 6.0.

For more information about the counter type formula, see Counter Types.

For more information about high-performance providers and scripting, see WMI Performance Counter Types.

## Example Code

For code examples, see Obtaining Statistical Performance Data.

## Related topics