53220A/53230A Math, Graphing, and Data Logging 6
Keysight 53220A/53230A User’s Guide 215
Enabling statistics
Before statistical calculations are performed they must be enabled using the 
command:
CALCulate[1]:AVERage:STATe {OFF|ON}
CALCulate[1]:AVERage[:STATe]? (query form)
ON - enables statistical calculations on the readings as they occur. Statistical data 
includes: mean, standard deviation, Allan deviation, maximum value, minimum 
value, and average peak-to-peak value. 
OFF - disables statistics computation. 
Following a reset (*RST) or instrument preset (SYSTem:PRESet), statistical 
computations are disabled.
Reading count
Statistical calculations start when Math and the Statistics function are enabled. The 
number of readings on which a given set of statistics are based is shown as the 
Count value (Figure 6-3). The count can also be queried with the command:
CALCulate[1]:AVERage:COUNt:CURRent?
The count can be read at any time after the measurements have been initiated (i.e. 
INITiate:IMMediate, READ?, MEASure?).
Following a reset (*RST) or instrument preset (SYSTem:PRESet), the count is set 
to ‘1’. 
Mean, standard deviation, minimum value, maximum value
The mean (average), standard deviation, minimum value, and maximum value for 
the current reading count can be determined with the command:
CALCulate[1]:AVERage:ALL?
If the readings have been scaled (see “Scaling functions”), the statistics are based 
on the scaled readings.