Assessing the economic impact of an endemic disease: the case of mastitis