[SciPy-Dev] Q-function
Akash Goel
goelakash.i.am at gmail.com
Wed Feb 17 09:27:06 EST 2016
Maybe a mention of Q-function to the documentation of scipy.stats.norm.sf
can be added (if its that important)?
>>From the Wikipedia page, we see that the Q-function is equal to the
Gaussian Survival function (scipy.stats.norm.sf) as well.
>CVLattes: http://lattes.cnpq.br/3267230342393209
>>On Wed, Feb 17, 2016 at 4:54 AM, Eran Hof <eran.hof at gmail.com> wrote:
>> Dear scipy devs
>>
>> If I may suggest, there is an interest in adding a new error function to
>> the scipy special functions. The Q-function (see please,
>> https://en.wikipedia.org/wiki/Q-function). This function is of great
>> interest and much in use within the communication engineering and error
>> correcting coding communities.
>>
>> There is a 1:1 mapping from Q-function to erf function. However, in
>> engineering, in contrast to statistics, most text book use the Q-function
>> instead and this is the very first function a new to python engineer will
>> try to look for.
>>
>> Also, the implementation is so fast, as Q(x) = 0.5 - 0.5 * erf (x /
>> sqrt(2)). So why not having this function aboard? It will be used
>> immediately by every communication engineer that adopts the scipy instead
>> of Matlab.
>>
>> Also, inverse is easily implemented as well since Qinv(y) = sqrt(2)
>> erfinv(1-2y).
>>
>> I think this small contribution may be of great service.
>>
>> Your comments are much appreciated. Thanks.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/scipy-dev/attachments/20160217/803c1e4c/attachment.html>
More information about the SciPy-Dev
mailing list