B2 {doex}R Documentation

B-square test

Description

This function performs B-square test.

Usage

B2(alpha,data,group)

Arguments

alpha

significance level of the test.

data

A vector containing the observations to which the treatments are randomly assigned.

group

A numerical or character vector indicating the treatment/control groups.

Value

p.value

the p-value of the B-square test

Author(s)

Mustafa CAVUS

References

Özdemir, A.F. and Kurt, S. (2006) One way fixed effect analysis of variance under variance heterogeneity and a solution proposal, Selçuk Journal of Applied Mathematics, 7(2), 81-90.

Examples

library(doex)
B2(0.05,hybrid$data,hybrid$species)

[Package doex version 1.2 Index]