Bryan Caplan has a great book that goes over some of this, too.
Home environment plays almost no role in long-term outcomes, while genetics explains the most variation.
The data he's focused on doesn't allow for testing any other contributors, though.