I like to think prayer is no different to spell-casting. Both require neurological restructuring and both are just as ineffective in influencing reality.
"The Universe is run by the complex interweaving of three elements: energy, matter, and enlightened self-interest." G'Kar-B5