[SciPy-dev] scipy.stats: sf for symmetric distributions.

David Warde-Farley dwf@cs.toronto....
Thu Sep 17 15:16:42 CDT 2009


On 16-Sep-09, at 8:59 PM, josef.pktd@gmail.com wrote:

> I checked the t distribution again. It is still missing the same  
> trick for _isf.
> David, could you check and, if correct, commit the following addition
> to the t distribution.
>
> 2850	    def _ppf(self, q, df):
> 2851	        return special.stdtrit(df, q)
>
> +	    def _isf(self, q, df):
> +	        return -special.stdtrit(df, q)

Looks good to me; in r5928.

David


More information about the Scipy-dev mailing list