f.star.test: f.star.test

Description Usage Arguments Value Examples

Description

conduct a Brown-Forsythe F star test

Usage

1
f.star.test(means, variances, ns)

Arguments

means

a (non-empty) numeric vector of the group means

variances

a (non-empty) numeric vector of the group variances

ns

a (non-empty) numeric vector of sample sizes per group

Value

statistic

the value of the adjusted Brown-Forsythe F star statistic

p.value

the p-value for the test

est.f.squared

effect size estimate as in Cohen's f squared

Examples

1
2
3
# a f star test for three-group mean comparison
f.star.test(c(-.2,0,.2),c(1,1,1),c(100,100,100))
f.star.test(c(0,0,1),c(2,1,3),c(100,100,100))

Example output

$statistic
[1] 4

$p.value
[1] 0.01931108

$est.f.squared
[1] 0.02666667

$statistic
[1] 16.66667

$p.value
[1] 1.577447e-07

$est.f.squared
[1] 0.1111111

DACF documentation built on May 2, 2019, 8:16 a.m.