def METHOD_NAME(model_data: AttrDict) -> None:
    res = model_data.res
    stata_stats = model_data.stata_result.stats
    for i, key in enumerate(res.equations):
        eq = res.equations[key]
        stat = eq.resid_ss
        stata_stat = stata_stats.loc[f"rss_{i + 1}"].squeeze()
        assert_allclose(stat, stata_stat)
        stata_stat = stata_stats.loc[f"mss_{i + 1}"].squeeze()
        stat = eq.model_ss
        assert_allclose(stat, stata_stat)