class="resources" Standard Deviation and Variance - LabVIEW 7.1 Help - Support - National Instruments
Company Events Academic NI Developer Zone Support Solutions Products & Services Contact NI MyNI

Standard Deviation and Variance

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 average of the values in the input sequence X.
standard deviation is the calculated standard deviation of 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