I fitted:
Y ~ A(Sum) + B(Sum) + C(Sum) + D(Sum) + Subject(&Random)
in both JMP SLS (REML) and Python statsmodels MixedLM (REML) on the same data (~14k obs, ~200 levels of A, sparse A×C cross-tabulation, ~120 random subjects).
What I observe:
- All ~200 LS Means for factor A are shifted by a constant ~0.22 (JMP higher)
- Relative effects and rankings are identical (diff std < 0.001)
- LS Means for different factors in JMP have different grand means (A → 78.5, B/D → 73.0), which shouldn't happen with Sum coding
- A different Y on the same X gives essentially no offset (0.006)
What I need help with:
Is there a known reason why JMP's SLS personality (REML) would produce a different intercept than standard GLS β̂ = (X'V⁻¹X)⁻¹X'V⁻¹y? Is SLS using a different algorithm than the Mixed Model personality for computing fixed effects or LS Means?
JMP Pro 17, Windows.