REGENT: Risk Estimation for Genetic and Environmental Traits