First time here? Check out the FAQ!

Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

answered 9 years ago

calc314 gravatar image

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 x0 so that P(xx0)=0.6 for a normal distribution with mean 0 and variance 1.

See the documentation.