The Math Forum

Search All of the Math Forum:

Views expressed in these public forums are not endorsed by NCTM or The Math Forum.

Math Forum » Discussions » sci.math.* » sci.stat.math

Notice: We are no longer accepting new posts, but the forums will continue to be readable.

Topic: Is there a name for this distribution?
Replies: 6   Last Post: May 27, 2014 11:17 AM

Advanced Search

Back to Topic List Back to Topic List Jump to Tree View Jump to Tree View   Messages: [ Previous | Next ]

Posts: 12
Registered: 2/8/08
Re: Is there a name for this distribution?
Posted: May 27, 2014 11:17 AM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

? 2013?11?17????UTC+8??6?34?56??Steve???
> I want to program a random distribution in the range 0.0 to 1.0, similar to a normal distribution, but with the centre point shifted to, say, 0.25.
> The quality of the randomness isn't crucial, as long as it is shifted.
> Given that I can create a random normal-ish distribution, which is good enough for my purposes, by averaging a few regular Random(0,1), is there a technique to make a shifted version?
> As per the subject header, I don't even know what to Google for!
> Thanks

try beta distribution. search its wiki page. you can use GNU Scientific Library (GSL) to generate beta distributed random numbers

Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© The Math Forum at NCTM 1994-2018. All Rights Reserved.