Analysing multiple herds