Hmmmmm, what colour is the STi??
The 5 Series will be slower than the STi, but will probably hold its money for longer, cost less to run and is arguably more reliable than the Impreza too.
Two completely different cars mate, however, if you're posting this on an Impreza Owners Club then I'm guessing you've already made up your mind.
Cheers,
Grant