Parametric bootstrap for testing model fitting of threshold and grouped data models: an application to the analysis of calving ease of Bruna dels Pirineus beef cattle.