Should I choose the higher ranked university or the higher ranked department?

<p>For an undergraduate degree, I would go with the higher ranked university. For graduate school though, especially for a PhD degree, I think the higher ranked department, or even a more prestigious thesis advisor, may be a better option.</p>