brt.test: BRT test

Description Usage Arguments Examples

View source: R/brt.test.R

Description

BRT test

Usage

1
brt.test(x, y, hi, lo = -hi, var.equal = T, log_pvalue = F)

Arguments

x

a (non-empty) numeric vector of data values.

y

a (non-empty) numeric vector of data values.

hi

upper bound of the shift range (i.e. signficant if outside the range)

lo

lower bound of the shift range (i.e. if hi=lo=0, return t.test)

var.equal

a logical variable indicating whether to treat the two variances as being equal.If TRUE then the pooled variance is used to estimate the variance otherwise the Satterhwaite approximation to the degrees of freedom is used.

log_pvalue

brt.value is returned in log scale.

Examples

1
2
3
x=rnorm(10, 0, 1)
y=rnorm(10, 8, 2)
brt.test(x, y, hi=3)

Example output

       mu_x     mu_y       se df   brt.pvalue
1 -0.581321 8.261073 0.667087 18 4.886054e-09

brt documentation built on May 2, 2019, 10:22 a.m.

Related to brt.test in brt...