Company Events Academic NI Developer Zone Support Solutions Products & Services Contact NI MyNI

Standard Deviation and Variance

LabVIEW 8.5 Help
August 2007

NI Part Number:
371361D-01

»View Product Info

Computes the mean, standard deviation, and variance of the values in the input sequence X.

Details  Examples

X is the input sequence.
Weighting determines whether to calculate the population or the sample standard deviation and variance.

0Sample (default)
1Population
mean is the mean, or average, of the values in the input sequence X.
standard deviation is the standard deviation calculated from the values in the input sequence X.
variance is the calculated variance of the values in the input sequence X.

Standard Deviation and Variance Details

The VI calculates the output values using the following equations.

where µ is mean and n is the number of elements in X.

standard deviation =

where 2 is variance, µ is mean, and w is n when Weighting is set to Population and (n – 1) when Weighting is set to Sample.

Examples

Refer to the following VIs for examples of using the Standard Deviation and Variance VI:

  • Statistics Solver VI: labview\examples\analysis\statxmpl.llb
  • Confidence Interval using Inverse t VI: labview\examples\analysis\statxmpl.llb
  • Noise Statistics VI: labview\examples\analysis\statxmpl.llb

Resources


 

Your Feedback! poor Poor  |  Excellent excellent   Yes No
 Document Quality? 
 Answered Your Question? 
Add Comments 1 2 3 4 5 submit