Learn R Programming

rt.test (version 1.26.9)

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

Description

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

Usage

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].

Author

Chanseok Park and Min Wang

Details

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

References

Park, C., M. Wang, and W.-Y. Hwang (2022). Empirical distributions of the robustified t-test statistics. Industrial Engineering & Management Systems, 21(3), 432-439.
tools:::Rd_expr_doi("10.7232/iems.2022.21.3.432")

Park, C., M. Wang, and W.-Y. Hwang (2020). A study on robustness of the paired sample tests. Empirical distributions of the robustified t-test statistics. Industrial Engineering & Management Systems, 19(2), 386-397.
tools:::Rd_expr_doi("10.7232/iems.2020.19.2.386")

See Also

qt for obtaining quantile value of Student t-distribution.

Examples

Run this code
# 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")

Run the code above in your browser using DataLab