A welfare-to-work experiment in Riverside, California, randomly assigned mothers with at least one child aged 3 to 5 to two groups: one entered a "labor force attachment" program that emphasized getting a job as quickly as possible, and the other served as the control. Two years later, markedly more people in the program group were employed, 65% versus 40%, yet the mothers' depressive symptoms did not differ significantly from those of the control group.[1]

Figure: Original hand-drawn illustration by Scholay (AI-assisted). The path has to pass through the middle link, and the weight signals that the weights on this link may be unstable.
A nonsignificant total effect does not mean the program had no effect at all on depression. One possibility is that two pathways cancel each other out: employment itself may relieve depression, while other features of the program, such as the pressure of sanctions, may push in the opposite direction. Separating these two pathways calls for causal mediation analysis. On November 9, 2026, Ariel Linden posted a paper on arXiv that systematically organizes one such approach, ratio-of-mediator-probability weighting (RMPW), and uses simulations to test the conditions under which it can be relied on.[1]
How RMPW separates the pathways
Mediation analysis estimates two quantities. The natural indirect effect (NIE) is "the part of the effect that the treatment produces by changing the mediator," and the natural direct effect (NDE) is "the effect of the treatment that remains once the mediator distribution is held fixed."[1]
RMPW was proposed by Hong in 2010 and 2015. The idea is to reshape the distribution of the mediator rather than to model the outcome. For example, to estimate "what the depressive symptoms of mothers in the program group would be if their employment status resembled that of the control group," each person in the program group is given a weight: the probability of her employment status occurring under the control condition, divided by the probability of it occurring under the program condition. After weighting, the employment distribution of the program group comes to resemble that of the control group.[1]
Because the outcome is not modeled, the method naturally allows an interaction between treatment and mediator: the effect of employment on depression can differ between the program group and the control group. In the actual computation, the treatment-group observations that are needed are duplicated into several copies, each copy is given its own weights, and the copies are stacked for a single weighted regression; the differences between the means of the copies are the effects to be estimated.[1]
What is new in this paper
Linden lists three contributions:[1]
- Placing the existing RMPW variants in a single estimation framework. With a discrete treatment, they share the same "duplicated data" estimator and differ only in how each weight component is constructed.
- For continuous mediators, adding a heteroskedastic normal model that estimates the conditional mean and the conditional variance of the mediator at the same time.
- Extending the two-step variance estimator proposed by Bein and colleagues in 2018 to multiple parametric weight components, so that the estimation error in both the mediator weights and the treatment-selection weights is carried through to the standard errors.
All of these methods are implemented in the Stata community-contributed command mmwsmed.[1]
Back to Riverside: the two pathways do run in opposite directions
With binary employment as the mediator, parametric RMPW gives these results: the indirect effect through employment is −0.87, meaning fewer depressive symptoms; the direct effect is 1.28, meaning more symptoms; and the natural treatment-by-mediator interaction is −1.19, indicating that employment is more beneficial in the program group than in the control group. The analysis sample is 208 people in the program group and 486 in the control group.[1]
The paper also shows how fragile this conclusion is. For the binary mediator, the bootstrap gives standard errors for the indirect effect and the interaction term that are 25% to 30% larger than those from the two-step method, and once inference is based on the bootstrap, the interaction term is no longer significant. If the number of quarters employed (0 to 8) is used as the mediator instead, 53% of people take the value 0, and neither a normal nor a Poisson model fits; after switching to odds ratio weights to sidestep this distribution, the indirect effect shrinks to −0.62 and the interaction term shrinks to −0.38.[1] With the same data, how the mediator is represented and how the standard errors are computed both change the strength of the conclusion.
Three patterns revealed by the simulations
The paper's simulation study is run at two sample sizes, N = 800 and 5,000. Most designs use 1,000 replications, the comparison of the two-step method with the bootstrap uses 500 replications, and each bootstrap uses 200 resamples.[1]

Figure: Original hand-drawn illustration by Scholay (AI-assisted). The model pathway is still there, but the weight in the middle has already become unstable.
When the model is correctly specified, parametric weighting removes bias very well; when it is misspecified, stratification-based weighting is steadier. In the original setting with a binary treatment and a binary mediator, parametric RMPW removed 98% to 99% of the bias, and stratification-based nonparametric RMPW removed 78% to 90%. If the mediator model omits a nonlinear term, then as the omitted term grows stronger, the share of bias removed by parametric RMPW falls from 51% to 53% down to about 20%; nonparametric RMPW still removes 65% to 88% of the bias in the indirect effect in these designs.[1]
Correct specification does not guarantee stable weights. In the simulations of the treatment-selection model, when treatment is generated by a strongly heteroskedastic probit process, the correctly specified heteroskedastic probit model actually has larger bias and worse coverage than the simpler logit model. The reason is that the weights are more concentrated: at N = 5,000, the minimum effective sample size averages only 19.2% under the heteroskedastic probit, versus about 30% under the logit. In the continuous-mediator experiments, correctly modeling the conditional variance reduced bias, but under strong heteroskedasticity the minimum effective sample size fell to an average of 15.5%, and for odds ratio weights it was lower still, at only 9.6%.[1] In other words, a handful of observations carried most of the weighted mean.
Treating estimated weights as fixed values when computing standard errors goes wrong in both directions. This practice underestimates sampling variability for several mediator-weighting estimators and overestimates it for some treatment-selection estimators. Two-step standard errors perform well in large samples with stable weights; when the weights fluctuate sharply, they too can clearly underestimate the variability.[1]
Look at the weights before using them
Linden's advice is to define the causal estimand and the identification assumptions first, and then choose the weighting method; and to inspect the weights before interpreting the effects. Two things should be checked: the Kish effective sample size as a share of the number of observations in each weighted copy of the data, and the share of the total weight held by the single observation with the largest weight.[1]
The paper states explicitly that the simulations do not yield universal thresholds for these diagnostics. When the weights are unusually concentrated, one should go back and check the degree of overlap between treatment groups, the model specification, and whether the chosen form of weighting suits the data. Restricting the analysis to a prespecified region of common support can ease the instability caused by insufficient overlap, but doing so also changes the population to which the causal effect refers.[1]
For researchers who use weighting for mediation analysis, the most practical reminder in this paper is this: when reporting effects, report the weight diagnostics and the inference method along with them.
References
- Linden A. Ratio-of-mediator-probability weighting for causal mediation analysis: estimation, extensions, and practical guidance. arXiv:2611.13206. 2026.