T_stat_discr {ZIprop}R Documentation

Statistic for non-numeric factor tests

Description

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

Usage

T_stat_discr(permu, al)

Arguments

permu

the response vector.

al

the factor.

Value

the statistic.

Examples

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

[Package ZIprop version 0.1.1 Index]