The education system is based on the false belief that children's cognitive skills are equally developed which is far from being true. Not to mention that students who have a learning disability are often ignored by the system. Teachers don't possess the necessary skills and experience to help such children, so home schooling becomes the only alternative for them. Bright students who are more intellectually developed that their peers are rarely encouraged to show their academic excellence.
I think that if a student is worried that the environment around them is going to affect him/her negatively, then the best choice for him/her would be to get homeschooled. Sometimes the environment can affect a student and lower his/her grades, so for some students, it would probably be better to get homeschooled. But also for students who need to increase their social skills, it would be best to go to school and get to know more people because being socialized is a very important and needed skill for most jobs.
According to the Canadian Journal of Behavioral science, kids that were home schooled scored above average on their tests and have a higher likelihood of going to college. There are a plethora of reasons for this. Reduced classroom size means more 1 to 1 engagement with the student. Parents can actually teach them relevant material that they can utilize to be successful. Family education often produces motivation and an engaging environment which enforces the willingness to learn.
Granted, there are a few drawbacks, but they are heavily outweighed by the advantages of being home schooled if the parents are equipped to teach them.
In a time where the U.S. Government is throwing droves of money at Education but is experiencing a severe decline in test scores due to corrupt Unions not operating in the students' best interests, home schooling is a viable and a completely proved method that produces contributing and productive members of society.
Homeschooling is vastly superior as it gives you the ease of readily accessible information, whether it be the library, or the internet. In a typical classroom environment, you have no easy access to sources outside of prescribed textbooks and thus it is near impossible to confirm whether or not any of the information that is being taught is up to date, biased, or straight up false during class. That is straight up eliminated in homeschooling as long as you don't tunnel vision and rely solely on one or two sources for your information.
Homeschooling also allows you to control the pace you are learning at. If you are a fast learner, you won't be held back by other students stalling the lessons.
Public schools nowadays are not very flexibly right now, they apply a one-size-fits-all structure and it is an utterly waste of time for anyone that wishes to cultivate their talent. Right now, there is no incentive for anyone to reach the top, and until that changes, homeschooling is the best shot for anyone that doesn't want to end up sleeping every class.
I could right a novel on why homeschooling is a much better option than public and private school, but I won't. Meggie and CraftyMiscreant pretty much said it all. The only thing I will say is that, contrary to popular belief, most of homeschooling looks nothing like the picture at the top of this page.
The educational needs of children are better served in a traditional classroom setting. Although I would stick back the idea of homework and reading outside school, particularly with younger children, I feel a school, complete with professional teachers, standards, resources and a crucial social element is a better environment for learning than the home.