A statistical method for studying correlated rare events and their risk factors. (June 2017)