Investigating the roles of personal characteristics in cancers of the breast and prostate