A statistical model for health care quality assessment