There is a usage of random intercepts to adjust for unobserved cluster-level confounding, as for example argued here:
Are random effects confounding variables?
How do random effects adjust for confounding in a model?
Based on this advice and examples from the literature in a similar spirit, one would imagine that random effects can be used for adjustment in a DAG like this, where there is an unobserved confounder on the cluster level:
For example, imagine a clinical study where hospitals differ in their propensity to enroll high-risk patients (more likely to experience the adverse outcome) and also in their propensity to give the treatment under study, due to an unobserved structural characteristic.
On the other hand, a core assumption of random effects models is that the predictor (here: Treatment) is uncorrelated with the random intercepts, see for example Verbeek (2008):
"...it may be the case that $𝛼_i$ [random effects] and $x_{it}$ [predictor] are correlated, in which case the random effects approach, ignoring this correlation, leads to inconsistent estimators. We saw an example of this previously, where $𝛼_i$ included management quality and was argued to be correlated with the other inputs included in the production function. The problem of correlation between the individual effects $𝛼_i$ and the explanatory variables in $x_{it}$ can be handled by using the fixed effects approach, which essentially eliminates the $𝛼_i$ from the model, and thus eliminates any problems that they may cause."
or Setodji and Shwartz (2013):
"...base their choice of model type on whether unobserved time-invariant omitted variables, which are captured in $\phi_j$ [random effects], are uncorrelated with the main predictor of interest. If uncorrelated (an assumption that can be assessed using the Hausman test), random-effect models are appropriate; otherwise, fixed-effect models are used."
If, by definition, a confounder is correlated with exposure, and random effects models assume uncorrelatedness of random effects and exposure, how can random effects then be used to adjust for confounding?
References
- Verbeek, M. (2008). A guide to modern econometrics. John Wiley & Sons.
- Setodji, C. M., & Shwartz, M. (2013). Fixed-effect or random-effect models: what are the key inference issues?. Medical care, 51(1), 25-27.