I think this is due to self-selection. Generally, children who are homeschooled have parents who are obviously extremely active in their child's education - an important factor in long-term academic success. Also, homeschoolers tend to be a special group of people on either end of the intelligence spectrum which led them to decide they need the specialization not offered in regular schools. The kids applying to Stanford would be on the high end of the spectrum.