Hostname: page-component-77f85d65b8-lfk5g Total loading time: 0 Render date: 2026-03-27T08:07:36.002Z Has data issue: false hasContentIssue false

Robust and Efficient Mediation Analysis via Huber Loss

Published online by Cambridge University Press:  13 January 2025

WenWu Wang*
Affiliation:
School of Statistics and Data Science, Qufu Normal University, Qufu, China
Xiujin Peng
Affiliation:
School of Statistics and Data Science, Qufu Normal University, Qufu, China
Tiejun Tong
Affiliation:
Department of Mathematics, Hong Kong Baptist University, Kowloon Tong, Hong Kong
*
Corresponding author: WenWu Wang; Email: wangwenwu@qfnu.edu.cn
Rights & Permissions [Opens in a new window]

Abstract

Mediation analysis is one of the most popularly used methods in social sciences and related areas. To estimate the indirect effect, the least-squares regression is routinely applied, which is also the most efficient when the errors are normally distributed. In practice, however, real data sets are often non-normally distributed, either heavy-tailed or skewed, so that the least-squares estimators may behave very badly. To overcome this problem, we propose a robust M-estimation for the indirect effect via a general loss function, with a main focus on the Huber loss which is more slowly varying at large values than the squared loss. We further propose a data-driven procedure to select the optimal tuning constant by minimizing the asymptotic variance of the Huber estimator, which is more robust than the least-squares estimator facing outliers and non-normal data, and more efficient than the least-absolute-deviation estimator. Simulation studies compare the finite sample performance of the Huber loss with the existing competitors in terms of the mean square error, the type I error rate, and the statistical power. Finally, the usefulness of the proposed method is also illustrated using two real data examples.

Information

Type
Theory and Methods
Creative Commons
Creative Common License - CCCreative Common License - BYCreative Common License - SA
This is an Open Access article, distributed under the terms of the Creative Commons Attribution-ShareAlike licence (http://creativecommons.org/licenses/by-sa/4.0), which permits re-use, distribution, and reproduction in any medium, provided the same Creative Commons licence is used to distribute the re-used or adapted article and the original article is properly cited.
Copyright
© The Author(s), 2025. Published by Cambridge University Press on behalf of Psychometric Society
Figure 0

Figure 1 Causal diagram of the simple mediation model.

Figure 1

Figure 2 $\tau (k)$ is plotted for $0.9N(0, 1)+0.1N(0, 3^{2})$ (left) and $t_{1}$ (right). The corresponding red lines are $\tau (1.489)=1.296$ and $\tau (0.395)=2.278$, respectively.

Figure 2

Table 1 Optimal k and $\tau (k)$ for various error distributions and loss functions

Figure 3

Table 2 MSE ($\times 10^3$) and SD ($\times 10^3$ labeled below MSE) for the LS, LAD, and Huber estimators

Figure 4

Table 3 Type I error rates (%) of the LS, LAD and Huber estimators for various designs

Figure 5

Table 4 Power (%) of the LS, LAD and Huber estimators for various designs

Figure 6

Table 5 Skewness and kurtosis of two regression residuals and the Kolmogorov-Smirnov test for the pathways to desistance study-

Figure 7

Table 6 The indirect effect estimates and their 95% CIs based on the LS, LAD and Huber estimators for the pathways to desistance study

Figure 8

Table 7 Skewness and kurtosis of two regression residuals and the Kolmogorov–Smirnov test in action planning study

Figure 9

Table 8 The indirect effect estimates and their 95% CIs based on the LS, LAD, and Huber losses for the action planning study

Figure 10

Table A MSE ($\times 10^3$) and SD ($\times 10^3$) for the product and difference estimators based on the Huber loss

Figure 11

Table B The values of Mean, SD and Median for the selected tuning constant

Figure 12

Table E Mean standard error ($\times 10^3$) used for the Sobel test for the Huber-SEL, Huber-FIX and Huber-OPT estimators under various designs

Figure 13

Table F Measures of interesting variables in the pathways to desistance study