bf.test: Check for Brown-Forsythe test

Description Usage Arguments Value Examples

View source: R/bf.test.R

Description

bf.test will give Brown-Forsythe t-statistic and its p-value.

Usage

1
bf.test(x, y)

Arguments

x

is a set of vector.

y

is another set of vector.

Value

Brown-Forsythe t-statistic and its p-value.

Examples

1
2
x=rnorm(100); y=rnorm(50); # Two set of vectors are generated from same normal distribution with mean=0, sd=1
bf.test(x,y)

philyoun/r4phil documentation built on Dec. 4, 2020, 10:12 a.m.