Questions on Libertarianism and William James

1. How does William James use our lived experience (of self-improvement, morality, religion, and social improvement) to defend indeterminism?
2. How do judgments of regret contradict pessimistic determinism?
3. How do judgments of regret contradict religious optimism that everything will work out for the best?