The number of educational opportunities that children accrue at home, in early education and care, at school, in afterschool programs, and in their communities as they grow up are strongly linked to their educational attainment and earnings in early adulthood, according to new research.