It's hard to find actual numbers on this, probably because most schools don't want to advertise it. Top schools will have lower dropout rates; not because the classes are easier (they aren't) but because they got the top students who are very dedicated. Lower ranked programs have higher dropout rates - students who decide they don't want to do the work, can't do the work, are happy with a masters, fail the qualifying exam, don't get along with their adviser, get scooped and the department won't accept the work, don't ever quite manage to do the research or write it all up, get sick, family trouble, etc.
My graduate class entered with 11 students all intending to do the PhD. Two left without masters, two earned masters and left, two switched departments, 1 got the PhD, another 2 of us might earn it this year, and two more are languishing; who knows if they'll finish or not. 3/11 isn't a great graduation rate, but the class a year ahead of us had 0/10 finish a PhD for one reason or another. The PhD program is fairly small and thus not high-ranked (also due to the large dropout/fail rate, but I like to think at least part of that is because while the standards for getting in might not be all that high, staying in is harder) but it is a top public university overall.