Measures of Mean VI

Owning Palette: Probability & Statistics VIs

Requires: Full Development System

Computes the central tendency of the data values in x array.

Details  

 Add to the block diagram  Find on the palette
x array specifies the data set.
type specifies the type of mean to compute.

0arithmetic—Computes the arithmetic mean of x array.
1geometric—Computes the geometric mean of x array.
2harmonic—Computes the harmonic mean of x array.
3trimmed—Computes the arithmetic mean of x array after removing the percentage of potential outliers that percent (trim) specifies.
4median—Computes the central value of x array. The median value also is the 50th percentile.
percent (trim) specifies the percentage of data to trim before computing the trimmed mean. Use this input to ignore outlier values in x array. LabVIEW trims the percentage you specify from both the lowest and highest values of x array. Thus, the total amount trimmed equals twice the value of percent (trim).
mean value returns the mean measure of the data in x array.
error returns any error or warning from the VI. You can wire error to the Error Cluster From Error Code VI to convert the error code or warning into an error cluster.

Measures of Mean Details

The trimmed and median measures of mean resist outlier values in the data set and usually are more robust than the other measures of mean.