Box–Cox–type Transformations for Linear and Logistic Models with Random Effects.