Is there example code for getting the parameters of a linear model to sum to zero when one factor is nested within another (for instance in a between group design where each subject only belongs to one group)? It would be lovely to prepare a Distribution object like this or generalize the ZeroSumNormal Distribution.

Thanks,

Opher