T_stat_discr: Statistic for non-numeric factor tests

Description Usage Arguments Value Examples

View source: R/T_stat_discr.R

Description

Statistic for non-numeric factor tests (same statistic as H-test).

Usage

1
T_stat_discr(permu, al)

Arguments

permu

the response vector.

al

the factor.

Value

the statistic.

Examples

1
2
3
permu = runif(100,-10,10)
al = as.factor(sample(1:3,100,replace=TRUE))
T_stat_discr(permu, al)

ZIprop documentation built on June 9, 2021, 5:09 p.m.