rypreg function

Random generation from Yang and Prentice models