Estimation of individual genetic and environmental factor scores