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

David Warde-Farley dwf at cs.toronto.edu
Thu Sep 17 16:16:42 EDT 2009


On 16-Sep-09, at 8:59 PM, josef.pktd at 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