multi-residual analysis