Learn R Programming

DACF (version 1.0.0)

f.star.test: f.star.test

Description

conduct a Brown-Forsythe F star test

Usage

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

Run this code
# NOT RUN {
# 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))
# }

Run the code above in your browser using DataLab