<![CDATA[RANDOM-EXPONENTIAL]]>
https://help.geogebra.org/topic/random-exponential
Wed, 24 Mar 2021 16:16:10 +0000Wed, 24 Mar 2021 13:14:03 +0000Zend_Feed<![CDATA[Looking at https://stackoverflow.com/q... , maybe this is what you want: -ln(1 - random())]]>
https://help.geogebra.org/topic/random-exponential#comment-301608
Wed, 24 Mar 2021 16:27:26 +0000<![CDATA[so then maybe this (if the above is correct) Sequence(-λ ln(1 - random()), i, 1, 1000)]]>
https://help.geogebra.org/topic/random-exponential#comment-301610
Wed, 24 Mar 2021 13:21:57 +0000<![CDATA[Wow! Such a quick answer - BIG thanks! I've tried it - and it works, but I can't tell if it works properly or not: I seem to be getting a lot of very small values (near x=0) (if I ask for 2 random numbers from the distribution, one is almost always zero...) I mean, the Expnoential distribution does have a mode of zero, but it still appears to be giving smaller answers than I'd expect... The probabilities os getting a number smaller than i is given by: P(X < i) = 1 – e^(–λi)The probability of getting a number bigger than i is: p(X > i) = e^(–λi) SO, I should be able to check if that's working properly or not: But I don't really understand the "syntax" (or even how Geogebra gets the numbers). Is it too much to ask if you can check it for me???]]>
https://help.geogebra.org/topic/random-exponential#comment-301640
Wed, 24 Mar 2021 15:10:04 +0000<![CDATA[Oh - No worries - I figure it out! Thanks again Michael: I'd have bee nstruck on this for 100 hours (and still not got there) without your help. I bow to you !]]>
https://help.geogebra.org/topic/random-exponential#comment-301644
Wed, 24 Mar 2021 16:16:11 +0000