numeric array
function options
test results
var arr = [
2.9, 3.0, 2.5, 2.6, 3.2,
3.8, 2.7, 4.0, 2.4,
2.8, 3.4, 3.7, 2.2, 2.0
];
var groups = [
'a', 'a', 'a', 'a', 'a',
'b', 'b', 'b', 'b',
'c', 'c', 'c', 'c', 'c'
];
var out = leveneTest( arr, {
'groups': groups
});
// returns {...}
Computes Levene's test for equal variances.
first numeric array
second numeric array
function options
test results
// Data from Hollander & Wolfe (1973), p. 116:
var x = [ 2.9, 3.0, 2.5, 2.6, 3.2 ];
var y = [ 3.8, 2.7, 4.0, 2.4 ];
var out = leveneTest( x, y );
// returns {...}
Computes Levene's test for equal variances.
first numeric array
second numeric array
third numeric array
function options
test results
// Data from Hollander & Wolfe (1973), p. 116:
var x = [ 2.9, 3.0, 2.5, 2.6, 3.2 ];
var y = [ 3.8, 2.7, 4.0, 2.4 ];
var z = [ 2.8, 3.4, 3.7, 2.2, 2.0 ];
var out = leveneTest( x, y, z );
// returns {...}
Computes Levene's test for equal variances.
first numeric array
second numeric array
third numeric array
fourth numeric array
function options
test results
Computes Levene's test for equal variances.
first numeric array
second numeric array
subsequent numeric arrays and an optional options object
test results
Computes Levene's test for equal variances.
must provide valid options