1 | initial version |
I use the stats package in scipy for this. For example:
import scipy.stats as st
st.norm.ppf(0.6,0,1)
Gives the value $x_0$ so that $P(x\le x_0) = 0.6$ for a normal distribution with mean 0 and variance 1.
See the documentation.