Principle of marginality (source code)

= Principle of marginality
{wiki}

= Regression model hierarchy
{synonym}

A hierarchical <statistical model> that contains an <interaction term> retains its associated lower-order effects. For two <categorical predictors> this means keeping both main effects when keeping their interaction. A nonsignificant averaged main effect may coexist with large opposite effects in different groups. Dropping its lower-order term while retaining the interaction can make the model depend on arbitrary factor coding.