Power Fit Intervals VI

Owning Palette: Fitting VIs

Requires: Full Development System

Calculates statistical intervals of the best power fit for a data set (X, Y). You must manually select the polymorphic instance to use.

Details  

Use the pull-down menu to select an instance of this VI.

 Add to the block diagram  Find on the palette

Confidence Interval (Power)

confidence level specifies the level of certainty for the confidence interval. The default is 0.95, which means the probability that the best fit falls between Lower Bound and Upper Bound is 95%. confidence level must be greater than 0 and less than 1.
Y is the array of dependent values. Y must contain at least three points.
X is the array of independent values. X must be the same size as Y.
Weight is the array of weights for the observations (X, Y). Weight must be the same size as Y. Weight also must contain non-zero elements. If an element in Weight is less than 0, the VI uses the absolute value of the element.

If you do not wire an input to Weight, the VI sets all elements of Weight to 1.
amplitude specifies the amplitude of the fitted model.
power specifies the power of the fitted model.
Upper Bound returns the upper bound of the confidence interval.
Lower Bound returns the lower bound of the confidence interval.
delta amplitude returns the confidence radius of amplitude.
delta power returns the confidence radius of power.
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.

Prediction Interval (Power)

confidence level specifies the level of certainty for the prediction interval. The default is 0.95, which means the probability that a new dependent value falls between Lower Bound and Upper Bound is 95%. confidence level must be greater than 0 and less than 1.
Y is the array of dependent values. Y must contain at least three points.
X is the array of independent values. X must be the same size as Y.
Weight is the array of weights for the observations (X, Y). Weight must be the same size as Y. Weight also must contain non-zero elements. If an element in Weight is less than 0, the VI uses the absolute value of the element.

If you do not wire an input to Weight, the VI sets all elements of Weight to 1.
amplitude specifies the amplitude of the fitted model.
power specifies the power of the fitted model.
Upper Bound returns the upper bound of the prediction interval.
Lower Bound returns the lower bound of the prediction interval.
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.

Power Fit Intervals Details

Confidence Interval

In the following illustration, the region between the upper and lower confidence bounds is the confidence interval.

Prediction Interval

In the following illustration, the region between the upper and lower prediction bounds is the prediction interval.

If the noise of Y is Gaussian distributed, use both instances of the polymorphic VI to calculate the confidence interval and prediction interval. The following block diagram illustrates the calculation of the confidence interval and the prediction interval using the Power Fit Intervals VI. You must fit the observations with the Power Fit VI using the Least Square method to obtain the amplitude and power.