Wrong comment in distribution

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Wrong comment in distribution

Nicolas Cellier
value: aNumber
        "Answers the probability that a random variable distributed according to the receiver
         gives a value between aNumber and aNumber + espilon (infinitesimal interval)."

This is not true. Such probability would be zero.
This message answer the density of probability, that is the derivative:

limit eps->0 P( x >= aNumber && x <= aNumber + eps ) / eps

--
You received this message because you are subscribed to the Google Groups "SciSmalltalk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: Wrong comment in distribution

Nicolas Cellier

2016-05-04 15:03 GMT+02:00 Nicolas Cellier <[hidden email]>:
value: aNumber
        "Answers the probability that a random variable distributed according to the receiver
         gives a value between aNumber and aNumber + espilon (infinitesimal interval)."

This is not true. Such probability would be zero.
This message answer the density of probability, that is the derivative:

limit eps->0 P( x >= aNumber && x <= aNumber + eps ) / eps

It sounds like I didn't finish my sentence:

It is the derivative of cumulative distribution function P( x < aNumber ) which is answered by #distributionValue:

--
You received this message because you are subscribed to the Google Groups "SciSmalltalk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: Wrong comment in distribution

stepharo
In reply to this post by Nicolas Cellier

Hi nicolas

So what is the correct version?

If you commit a new package version I will integrate it :)

Stef
Le 4/5/16 à 15:03, Nicolas Cellier a écrit :
value: aNumber
        "Answers the probability that a random variable distributed according to the receiver
         gives a value between aNumber and aNumber + espilon (infinitesimal interval)."

This is not true. Such probability would be zero.
This message answer the density of probability, that is the derivative:

limit eps->0 P( x >= aNumber && x <= aNumber + eps ) / eps
--
You received this message because you are subscribed to the Google Groups "SciSmalltalk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "SciSmalltalk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit https://groups.google.com/d/optout.