Description Usage Arguments Details Author(s) References See Also Examples
Calculates the quantiles of the robustified t-test statistic (TA or TB).
1 | q.robustified.t(p, n, test.stat=c("TA", "TB"), lower.tail=TRUE)
|
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]. |
Using the empirical distributions of TA and TB statistics, it calculates the quantile.
Chanseok Park and Min Wang
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
qt
for obtaining quantile value of Student t-distribution.
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")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.