Programs for HSROC model