iirc, Mythbusters confirmed that this doesn't matter, at least in regards to shit particulates being over everything.
However, as an individual who has a bedroom right next to the bathroom, I can personally say the smell is a night and day difference between the lid being up or down before flushing.