class="resources" MSE (Not in Base Package) - LabVIEW 7.1 Help - Support - National Instruments
Company Events Academic NI Developer Zone Support Solutions Products & Services Contact NI MyNI

MSE (Not in Base Package)

Computes the mean squared error (mse) of the input sequences X Values and Y Values. Details  Example

Y Values is an array of values. If the number of elements in Y Values is different from the number of elements in X Values, the VI computes mse based on the sequence that contains the fewest elements and returns a warning.
X Values is an array of values. If the number of elements in X Values is different from the number of elements in Y Values, the VI computes mse based on the sequence that contains the fewest elements and returns a warning.
mse is the mean squared error. If one of the input sequences is an empty array, the value of mse is NaN.
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.

MSE Details

The VI calculates mse using the following equation.

where n is the number of data points, xi is the ith element of X Values, and yi is the ith element of Y Values.

Example

Refer to the Statistics Solver VI in the labview\examples\analysis\statxmpl.llb directory for an example of using the MSE VI.

 


Resources


 

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