Statistical Adjustment Of Population Heterogeneity And Generalizability In Neuroscience