That is a very loose comparison, as even "trained" doctors have huge differences in skill levels. I personally ignore all formal programming education below a PhD in programming as IMHO programming is a discipline which needs self motivation and individual thought for anyone to excel at it. Teaching it to someone only goes so far.