Main effect (source code)

= Main effect
{wiki}

A main effect compares the mean response at different levels of one factor after averaging over the other factors according to the design. With sign coding, its two-level difference is twice the singleton <factorial contrast> coefficient. In a <fractional factorial design>, that coefficient can include aliased higher-order effects.