To control for gene-environment correlation in our parental knowledge analyses, we used residualized polygenic score and parental knowledge variables in our model. To calculate residualized variables, we regressed polygenic scores onto parental knowledge (and vice versa) and saved the residuals for use in the moderation models. Using residualized variables in this way statistically eliminates gene-environment correlation from the model because the genetic and environmental effects have been partialled from one another. We used the same method to calculate residualized polygenic score and peer deviance variables for our peer deviance analyses. The moderation effect for parental knowledge continued to be statistically significant; however, the moderation effect for peer deviance trended in the same direction but was not statistically significant (unstandardized regression coefficients (b) and p-values (p) for interaction terms: b = 1.33, p = 0.05 and b = 0.66, p = 0.14, respectively) when we used residualized values in our analyses.