q.robustified.t: Lower quantiles of TA or TB

Description Usage Arguments Details Author(s) References See Also Examples

Description

Calculates the quantiles of the robustified t-test statistic (TA or TB).

Usage

1
  q.robustified.t(p, n, test.stat=c("TA", "TB"), lower.tail=TRUE)

Arguments

p

vector of probabilities.

n

the sample size

test.stat

a character string specifying the test statistic.

lower.tail

logical; if TRUE (default), probabilities are p=P[X <= x], otherwise, p=P[X > x].

Details

Using the empirical distributions of TA and TB statistics, it calculates the quantile.

Author(s)

Chanseok Park and Min Wang

References

Park, C. and M. Wang (2018). Empirical distributions of the robustified t-test statistics. ArXiv e-prints, 1807.02215. https://arxiv.org/abs/1807.02215

See Also

qt for obtaining quantile value of Student t-distribution.

Examples

1
2
3
4
5
# quantile value of TA (using median and MAD) statistic
q.robustified.t(p=0.01, n=10, test.stat="TA")

# quantile value of TB (using Hodges-Lehmann and Shamos) statistic
q.robustified.t(p=0.01, n=10, test.stat="TB")

rt.test documentation built on May 2, 2019, 6:02 a.m.