Basically, Duke puts about as many guys in the NBA as you would expect given their recruiting classes' talent level.
There is a separate analysis that could be done only focusing on 4*-5* guys, answering the question, "If you are a 4* or 5* guy, where should you go to school?" The answer could be different.
In football, the answer is that you should go where you can play immediately and that is the best way to improve your odds, by far.