twoGroups.slash: Evaluate C(alpha) for group comparation.

Description Usage Arguments Details Value Examples

View source: R/c_alpha_twoGroup.R

Description

Evaluate C(alpha) for two group comparation.

Usage

1

Arguments

g1

matrix (n1 rows and p columns).

g2

matrix (n2 rows and p columns).

Details

C(alpha) is based in sqrt(n)-consistent estimators.

Value

A list with C.alpha, p.value, k1 and estimated values sv.

Examples

1
2
3
4
5
6
7
8
p <- 5
g1 <- sim.slash(100, rep(0,p), diag(p), 0.45)
g2 <- sim.slash(100, rep(1,p), diag(p), 0.45)
twoGroups.slash(g1, g2)

g1 <- sim.slash(100, rep(0,p), diag(p), 0.45)
g2 <- sim.slash(100, rep(0,p), diag(p), 0.45)
twoGroups.slash(g1, g2)

fxjulio/slash documentation built on May 28, 2019, 8:40 p.m.