%\VignetteIndexEntry{Robust test statistics} %\VignetteKeyword{rt.test} %\VignetteKeyword{robust} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \documentclass{article}[12pt] \usepackage{Sweave} \usepackage[breaklinks]{hyperref} \usepackage{amsmath,xcolor} \addtolength{\textwidth}{0.5in} \addtolength{\oddsidemargin}{-0.25in} \setlength{\evensidemargin}{\oddsidemargin} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \title{Robust test statistics} %------------------------------------------------------------------- \author{Chanseok Park\footnote{Applied Statistics Laboratory, Department of Industrial Engineering, Pusan National University, Busan 46241, Korea. His work was partially supported by the National Research Foundation of Korea (NRF) grant funded by the Korea government (No. 2022R1A2C1091319).} } \date{September 2026} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \begin{document} \maketitle \begin{abstract} In this note, we provide three robust test statistics which are based on median and median absolute deviation (MAD) estimators, Hodges-Lehmann and Shamos estimators, and Huber location and RC estimators. \end{abstract} %% %==================================================================== \section{Introduction} One of the widely-used conventional methods to test $H_0: \mu = \mu_0$ is to use the $z$-test statistic (with $n \ge 30$), \[ T= \frac{\bar{X}-\mu}{S/\sqrt{n}}, \] where $\bar{X}$ is the sample mean and $S$ is the sample standard deviation. However, this method is very sensitive to data contamination. In this note, we provide three robustified $z$-test statistics that can be used when the sample size is large. However, when the sample size is small, it may not be appropriate to use the standard normal distribution. In this note, we provide a method for obtaining the empirical distributions of these test statistics. These results are implemented in the \texttt{rt.test} package. %==================================================================== \section{Robustified test statistics} For the sake of completeness, we briefly review the test statistics proposed by \cite{Park:2018a}, \cite{Jeong/Son/Lee/Kim:2018}, and \cite{Park/Wang/Hwang:2022}. By replacing the mean and the standard deviation with robust location and scale estimators, they proposed the following robustified $z$-test statistics. These are given by %------------------------------- \begin{align} T_A &= \sqrt{\frac{2n}{\pi}} {\Phi^{-1}\Big(\frac{3}{4}\Big)} \cdot \frac{\displaystyle\mathop{\mathrm{median}}_{1\le i\le n}X_i-\mu}% {\displaystyle\mathop{\mathrm{median}}_{1\le i\le n} \big| X_i - \mathop{\mathrm{median}}_{1\le i\le n} X_i \big|} \stackrel{d}{\longrightarrow} N(0,1), \label{EQ:TA} \\ %------------------------------- T_{B} &= \sqrt{\frac{6n}{\pi}} {\Phi^{-1}\Big( \frac{3}{4} \Big)} \frac{\displaystyle\mathop{\mathrm{median}}_{i \le j} \Big(\frac{X_i+X_j}{2}\Big) - \mu }% {\displaystyle\mathop{\mathrm{median}}_{i \le j}\big(|X_i-X_j|\big)} \stackrel{d}{\longrightarrow} N(0,1), \label{EQ:TB} \end{align} {where $\Phi^{-1}(\cdot)$ is the inverse of the standard normal cumulative distribution function and $\stackrel{d}{\longrightarrow}$ denotes convergence in distribution.} %---------------------------------------------------------------- %% Recently, En Xie et al.\ obtained the following statistic based %% on the Huber and RC estimators. %% It should be noted that this test statistic has a higher breakdown point of 50\%, while %% $T_B$ has a breakdown point of only 29\%. In Table~\ref{TABLE}, we provide a summary of the %% asymptotic relative efficiencies (AREs) and breakdown points of various estimators. %% For more details, see \cite{Rousseeuw/Croux:1993}, \cite{Serfling:2011}, and \cite{Staudte/Sheather:1990}. %% \begin{equation} \label{EQ:TC} %% T_C = \frac{\sqrt{2n}\;\Phi^{-1}(5/8)\, \big\{2\Phi(\kappa)-1\big\}\cdot(\hat{\mu}_M-\mu)}% %% {\sqrt{2(\kappa^2-1)\big\{1-\Phi(\kappa)\big\} - 2\kappa \phi(\kappa)+1}\cdot\big\{ |X_i-X_j| : i1/2$. Let $G(\cdot)$ be the cumulative distribution function of $|X|$. Then we have \[ G(x) = P[ |X| \le x ] = P[ -x \le X \le x ] = F(x) - F(-x) = 2F(x) -1. \] Substituting $x=q_p$ into the above, we have $G(q_p) = 2p-1$. Thus, we have \[ q_p = G^{-1}(2p-1), \] which is more efficient than using $q_p = F^{-1}(p)$ when obtaining empirical quantile values. %% \end{color} %%=============================================== \bigskip \bibliographystyle{unsrt} \bibliography{robust} %%=============================================== \end{document} %%===============================================