BartlettTest (FPScript)

21.09.2021

Carries out a Bartlett variance test.

Syntax

BartlettTest(Samples, ErrorProbability)

 

The syntax of the BartlettTest function consists of the following parts:

Part

Description

Samples

Contains a data matrix or a signal series with the samples to be examined.

Permitted data structures are data matrix, signal series und signal series with two-dimensional X-component. All numeric data types are permitted.

For complex data types the absolute value is formed.

If the argument is a list, then the function is executed for each element of the list and the result is also a list.

ErrorProbability

Specifies the error probability, on which the test is to be based, as a percentage.

Permitted data structures are scalar value. All numeric data types are permitted. The argument is transformed to the unit %.

The value must be greater or equal to 0 % and less or equal to 100 %.

If the argument is a list, then the first element in the list is taken. If this is also a list, then the process is repeated.

Remarks

The result always has the data type Boolean value.

The test checks whether the variances of several samples are significantly different or not. The samples must originate from a normally distributed population.

The function returns a Boolean value that represents the test result:

Value

Interpretation

FALSE 

The hypothesis was rejected. The samples are significantly different.

TRUE 

The hypothesis was accepted. The samples are not significantly different.

Available in

Option Enhanced Statistics

Examples

BartlettTest({{9.0, 15.4, 8.2, 3.9, 7.3, 10.8}, {7.3, 15.6, 14.2, 13.0, 6.8, 9.7}, {18.0, 9.6, 11.5, 19.4, 17.1, 14.4}}, 5)

Results in TRUE . The variances of the six samples in the data matrix are not significantly different when the error probability is 5%.

See Also

ANOVA Function

Variance Test Analysis Object

Statistics Option

References

[1] "Hartung, Joachim": "Statistik (Statistics), 9th Edition", page 617 ff. "Oldenbourg Verlag GmbH, Munich",1993.ISBN 3-486-22055-1.

Share article or send as email:

You might be interested in these articles