Measures of Spread VI

Computes the spread of the data values in x array.


icon

Inputs/Outputs

  • c1ddbl.png x array

    x array specifies the data set.

  • ci32.png type

    type specifies the type of spread to compute.

    0standard deviation—Computes the standard deviation, or the square root of the variance, of x array. The standard deviation is the most common measure of spread in a data set.
    1range—Computes the range, or the difference in the minimum and maximum values, of x array.
    2mean absolute deviation—Computes the mean of the absolute value of the deviation of x array from its mean.
    3interquartile rank—Computes the difference between the 25th and 75th percentile of x array. This measure of spread therefore is more resistive to outliers than the other measures.
  • idbl.png spread value

    spread value returns the spread of the data in x array.

  • ii32.png error

    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.