Is there any quantile function in scipy.stats module?
Hi, all. My work involved in some probability calculation, which needs the quantile function of distributions like standard normal and t. However, I looked into scipy.stats.t, there's only pdf and cdf functions, and didn't see quantile function. What can I do with this problem? I want your help, thanks a lot ! Best wishes: ) -- Jeffrey
On Fri, May 4, 2012 at 9:03 AM, 袁振飞 <zfyuan@mail.ustc.edu.cn> wrote:
Hi, all.
My work involved in some probability calculation, which needs the quantile function of distributions like standard normal and t. However, I looked into scipy.stats.t, there's only pdf and cdf functions, and didn't see quantile function. What can I do with this problem?
stats.norm.ppf stats.t.ppf gives the quantiles for a specific values (can be list or array) .isf is the quantile for the survival function, and is for some distributions more precise for upper tails than using ppf. Josef
I want your help, thanks a lot !
Best wishes: )
-- Jeffrey
_______________________________________________ SciPy-User mailing list SciPy-User@scipy.org http://mail.scipy.org/mailman/listinfo/scipy-user
于 2012年05月04日 21:09, josef.pktd@gmail.com 写道:
On Fri, May 4, 2012 at 9:03 AM,<zfyuan@mail.ustc.edu.cn> wrote:
Hi, all.
My work involved in some probability calculation, which needs the quantile function of distributions like standard normal and t. However, I looked into scipy.stats.t, there's only pdf and cdf functions, and didn't see quantile function. What can I do with this problem? stats.norm.ppf stats.t.ppf gives the quantiles for a specific values (can be list or array)
.isf is the quantile for the survival function, and is for some distributions more precise for upper tails than using ppf.
Josef
I want your help, thanks a lot !
Best wishes: )
-- Jeffrey
_______________________________________________ SciPy-User mailing list SciPy-User@scipy.org http://mail.scipy.org/mailman/listinfo/scipy-user
_______________________________________________ SciPy-User mailing list SciPy-User@scipy.org http://mail.scipy.org/mailman/listinfo/scipy-user
I see. Thanks a lot -- Jeffrey
participants (2)
-
josef.pktd@gmail.com
-
袁振飞