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

Probability and Statistics VIs

LabVIEW 8.5 Help
August 2007

NI Part Number:
371361D-01

»View Product Info

Owning Palette: Mathematics VIs

Use the Probability and Statistics VIs to perform probability, descriptive statistics, analysis of variance, and interpolation functions.

Example

Note  Many Probability and Statistics VIs are available only in the LabVIEW Full and Professional Development Systems. If you have the LabVIEW Base Package, you do not have the full set of the Probability and Statistics VIs described in this help file. A subset of the Probability and Statistics VIs is available in the LabVIEW Base Package.

The VIs on this palette can return mathematics error codes.

Palette ObjectDescription
Correlation Coefficient (Kendall's Tau)Computes the Kendall's Tau correlation coefficient between input sequences X and Y.
Correlation Coefficient (Spearman)Computes the Spearman's rank correlation coefficient between input sequences X and Y.
Correlation CoefficientComputes the linear correlation coefficient between input sequences X and Y.
Covariance MatrixComputes the covariance matrix of the input sequence X.
Create HistogramComputes a histogram for Signal.
General HistogramFinds the discrete histogram of the input sequence X based on the given bin specifications.
HistogramFinds the discrete histogram of the input sequence X.
MeanComputes the mean of the values in the input sequence X.
Measures of MeanComputes the central tendency of the data values in x array.
Measures of SpreadComputes the spread of the data values in x array.
MedianFinds the median value of the input sequence X by sorting the values of X and averaging the middle element(s) of the sorted array.
ModeFinds the modes (most common values) or estimated modes (most common range centers) of the input sequence X. This VI can perform unimodal or multimodal analysis. You must manually select the polymorphic instance to use. Select the Unimodal instance if you are sure that the input sequence X is unimodal or you expect one scalar mode result. Select the Multimodal instance if you expect an array of modes. If the VI does not find a mode, the Unimodal instance returns NaN without error and the Multimodal instance returns an empty array without error.
Moment about MeanComputes the moment about the mean of the input sequence X using the specified order, m.
MSEComputes the mean squared error (mse) of the input sequences X Values and Y Values.
PercentilesComputes a value that is greater than p percent of the data values in x array. The data type you wire to the p input determines the polymorphic instance to use.
RMSComputes the root mean square (rms) of the input sequence X.
Standard Deviation and VarianceComputes the mean, standard deviation, and variance of the values in the input sequence X.
StatisticsReturns the selected parameter of the first signal in a waveform.


SubpaletteDescription
Analysis of Variance VIsUse the Analysis of Variance VIs to perform analysis of variance functions.
Hypothesis Testing VIsUse the Hypothesis Testing VIs to test hypotheses about a population.
Probability VIsUse the Probability VIs to perform probability distribution and random number generation functions.

Example

Refer to the labview\examples\analysis\statxmpl.llb for examples of using the Probability and Statistics VIs.


Resources


 

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