where m h is total medical cost of an infected case in age group h over his/her disease period, w h is total cost of lost wages of an infected case in age group h over his/her disease period, w h is cost of lost lifetime wages of a deceased case in age group h, and w h is daily cost of lost wages of a non-infected case in age group h who complies with quarantine.