If you truly hope to help their riding skills or knowledge, then shouting at them in any capacity won't help. A lot of people also don't give a sh*t what others say, so they're not willing to be helped anyway.
Also, you don't know their particular situation, as mentioned in Darcy's post above.

So....no, don't yell. It doesn't help.