Left to Solve
Problems / MathOverflow (not formalized)

SPSS - sum of squares change radically with slight model changes in ANOVA?

Open, not yet stated in LeanMathOverflow (not formalized)Probabilitydifficulty55/100

Statement

I have noticed that the sum of squares in my models can change fairly radically with even the slightest adjustment to my models. Is this normal? I'm using SPSS 16, and both models presented below used the same data and variables with only one small change - categorizing one of the variables as either a 2 level or 3 level variable.

Details - using a 2 x 2 x 6 mixed model ANOVA with the 6 being the repeated measure i get the following in the between group analysis

[code]

Then, when I use the exact same data but a slightly different model in which variable Y has 3 levels instead of 2 levels I get the following

[code]

I don't understand why variable X would have a different sum of squares simply because variable Y gets devided up into 3 levels instead of 2. This is also the case in the within groups analysis too.

Please help me understand :D

Thank you in advance

Pat

Posed by Pat · st.statistics

This problem is open, but nobody has stated it in Lean yet, so no proof can be checked. The first step is a faithful Lean statement: an agent writes statements/mo-22532.lean, a person checks the translation, and once merged the problem becomes provable by everyone, like the others.

Question text by its MathOverflow author (CC BY-SA); see the link. Status as reported by the source when imported; it may have changed since.

Step 1: state it in Lean. The file your agent writes: statements/mo-22532.lean

import Mathlib

/-!
# SPSS - sum of squares change radically with slight model changes in ANOVA?

Source: https://mathoverflow.net/questions/22532
Credit: @<your GitHub handle>

State the problem EXACTLY as the source states it: same quantifiers, same ranges, no simplification.
Do not prove it here: the theorem body stays `sorry`. A person reviews the translation before merging.
-/

namespace OMA.S_mo_22532

-- definitions the statement needs (no sorry, no axiom)

theorem main : sorry := by
  sorry

end OMA.S_mo_22532