« Return to Thread: Is there any quantile function in scipy.stats module?

Re: Is there any quantile function in scipy.stats module?

by josef.pktd :: Rate this Message:

| View in Thread

On Fri, May 4, 2012 at 9:03 AM, 袁振飞 <zfyuan@...> 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@...
> http://mail.scipy.org/mailman/listinfo/scipy-user
>
_______________________________________________
SciPy-User mailing list
SciPy-User@...
http://mail.scipy.org/mailman/listinfo/scipy-user

 « Return to Thread: Is there any quantile function in scipy.stats module?