Case-wise and cluster-wise derivatives for mixed effects models
