<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><title>R: Lower quantiles of TA or TB</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link rel="stylesheet" type="text/css" href="R.css" />
</head><body>

<table width="100%" summary="page for q.robustified.t"><tr><td>q.robustified.t</td><td style="text-align: right;">R Documentation</td></tr></table>

<h2>Lower quantiles of  TA or TB</h2>

<h3>Description</h3>

<p>Calculates the quantiles of the robustified t-test statistic (TA or TB).</p>


<h3>Usage</h3>

<pre>
  q.robustified.t(p, n, test.stat=c("TA", "TB"), lower.tail=TRUE)
</pre>


<h3>Arguments</h3>

<table summary="R argblock">
<tr valign="top"><td><code>p</code></td>
<td>
<p>vector of probabilities.</p>
</td></tr>
<tr valign="top"><td><code>n</code></td>
<td>
<p>the sample size</p>
</td></tr>
<tr valign="top"><td><code>test.stat</code></td>
<td>
<p>a character string specifying the test statistic.</p>
</td></tr>
<tr valign="top"><td><code>lower.tail</code></td>
<td>
<p>logical; if TRUE (default), probabilities are p=P[X &lt;= x],
otherwise, p=P[X &gt; x].</p>
</td></tr>
</table>


<h3>Details</h3>

<p>Using the empirical distributions of TA and TB statistics, it calculates the quantile.</p>


<h3>Author(s)</h3>

<p>Chanseok Park and Min Wang</p>


<h3>References</h3>

<p>Park, C. and M. Wang (2018).
Empirical distributions of the robustified <em>t</em>-test statistics.
<em>ArXiv e-prints</em>, 1807.02215.
<a href="https://arxiv.org/abs/1807.02215">https://arxiv.org/abs/1807.02215</a>
</p>


<h3>See Also</h3>

<p><code>qt</code> for obtaining quantile value of Student t-distribution.
</p>


<h3>Examples</h3>

<pre>
# 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")
</pre>


</body></html>
