Results 1 to 4 of 4

Math Help - random number generation with normal distribution

  1. #1
    Newbie
    Joined
    Jan 2012
    Posts
    3

    Question random number generation with normal distribution

    Dear all
    Hi,

    I seek the formulation of generating a random number whithin for example 8<x<12 but having the normal distribution.

    In Excel there is a built in function to do that which is "norm_rnd". But I need the formulation of creating such number


    Sincerely
    Nasser
    Follow Math Help Forum on Facebook and Google+

  2. #2
    Grand Panjandrum
    Joined
    Nov 2005
    From
    someplace
    Posts
    14,972
    Thanks
    4

    Re: random number generation with normal distribution

    Quote Originally Posted by nsvcivil View Post
    Dear all
    Hi,

    I seek the formulation of generating a random number whithin for example 8<x<12 but having the normal distribution.

    In Excel there is a built in function to do that which is "norm_rnd". But I need the formulation of creating such number


    Sincerely
    Nasser
    That is because there is no such distribution, the support of the normal distribution is the whole of the reals.

    If you want the truncated normal that is a different question.

    Also there is no such thing as "the normal distribution", maybe you mean the standard normal, but that seems unlikelt given your restriction on x.

    You could try googling for the Box-Muller algorithm.

    CB
    Follow Math Help Forum on Facebook and Google+

  3. #3
    Newbie
    Joined
    Jan 2012
    Posts
    3

    Post Re: random number generation with normal distribution

    Dear CaptainBlack

    Thanks for your reply

    I've the paper of Box and Muller:
    Title: "A note on the generation of random normal derivates"
    but couldn't understand well!

    As I mentioned, by 8<x<12, I mean we have a variance and a mean for an interval. Then we are going to generate a random number from the interval but with a normal distribution

    in Excel we have NORM.INV by which we can generate a random number with normal distribution according to a variance and a mean of an interval.

    please kindly take a look at this url:
    An Introduction to Excel's Normal Distribution Functions


    Sincerely
    Follow Math Help Forum on Facebook and Google+

  4. #4
    Grand Panjandrum
    Joined
    Nov 2005
    From
    someplace
    Posts
    14,972
    Thanks
    4

    Re: random number generation with normal distribution

    Quote Originally Posted by nsvcivil View Post
    As I mentioned, by 8<x<12, I mean we have a variance and a mean for an interval. Then we are going to generate a random number from the interval but with a normal distribution
    Please rethink what you really want, because what you are asking, as I said before, is impossible. No normal distribution will produce values restricted to a finite interval.

    CB
    Follow Math Help Forum on Facebook and Google+

Similar Math Help Forum Discussions

  1. Random Number Generation 1-100 odds
    Posted in the Statistics Forum
    Replies: 4
    Last Post: January 30th 2011, 01:01 PM
  2. Random Number Generation
    Posted in the Advanced Statistics Forum
    Replies: 1
    Last Post: April 29th 2009, 01:13 AM
  3. Random Number Generation
    Posted in the Advanced Statistics Forum
    Replies: 2
    Last Post: April 25th 2009, 04:59 PM
  4. Random Number Generation
    Posted in the Advanced Statistics Forum
    Replies: 1
    Last Post: February 25th 2009, 10:35 PM
  5. MATLAB - Random Number Generation
    Posted in the Math Software Forum
    Replies: 4
    Last Post: February 18th 2009, 07:03 AM

Search Tags


/mathhelpforum @mathhelpforum