Hi Bert, I apologize for the HTML. I will pay more attention in the future.
I know that the lm() command of my toy example fits the wrong model with a singular design, maybe I shouldn't have included it. I believe that the model with the additional constraint(s) is not garbage. But I don't know how to specify the additional constraints in lm() (hence, I believe it's an R question). I also know that I can fit a mixed effect model, but this was not the point of my previous email. Best, davide ______________________________________________ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.