+ Reply to Thread
Results 1 to 8 of 8

Random distribution of numbers to create Bell curve

  1. #1
    Valued Forum Contributor squiggler47's Avatar
    Join Date
    02-17-2009
    Location
    Littleborough, UK
    MS-Off Ver
    Excel 3.0 to 2007+2010! (couldnt get 2.1 working)
    Posts
    1,013

    Random distribution of numbers to create Bell curve

    I think its too early in the morning or I have just worn my brain out with information over the last 2 weeks!

    Anyway, I figured I would differ this one to the group for a simple solution!

    I want to simulate a bell curve with random numbers for test data, so I need a formula to return a large percentage of numbers around a mid point and get less and less to the outside, with a very marginal ammount of really wild outside points!

    =LOOKUP(RAND(),{0.05,0.15,0.5,0.85,0.95},{0.03,0.02,0.01,0.01,0.02,0.03})*RAND()+MIDPOINT-RANGE

    was where I was looking
    Last edited by squiggler47; 11-01-2010 at 01:34 PM.
    Regards
    Darren

    Update 12-Nov-2010 Still job hunting!

    If you are happy with the results, please add to our reputation by clicking the blue scales icon in the blue bar of the post.

    Learn something new each day, Embrace change do not fear it, evolve and do not become extinct!


  2. #2
    Forum Guru Andy Pope's Avatar
    Join Date
    05-10-2004
    Location
    Essex, UK
    MS-Off Ver
    O365
    Posts
    20,430

    Re: Random distribution of numbers to create Bell curve

    Does this help
    http://support.microsoft.com/default...b;en-us;213930
    Cheers
    Andy
    www.andypope.info

  3. #3
    Valued Forum Contributor squiggler47's Avatar
    Join Date
    02-17-2009
    Location
    Littleborough, UK
    MS-Off Ver
    Excel 3.0 to 2007+2010! (couldnt get 2.1 working)
    Posts
    1,013

    Re: Random distribution of numbers to create Bell curve

    Not really, the problem I have is I am designing a spreadsheet based on a bell curve, I have my graphs and controls (this is a process sigma dashboard).

    The problem is I want to generate some random data, to verify that the charts are working, which I have in my original, but I used fixed formulas to generate a data set of 100, which looks quite nice on the histogram, but isnt a perfect bell curve (i dont want perfect) I just want to generate a larger data set of variable length!

  4. #4
    Forum Guru Andy Pope's Avatar
    Join Date
    05-10-2004
    Location
    Essex, UK
    MS-Off Ver
    O365
    Posts
    20,430

    Re: Random distribution of numbers to create Bell curve

    The article says,

    In the following example you can create a bell curve of data generated by Excel using the Random Number Generation tool in the Analysis ToolPak. After Microsoft Excel generates a set of random numbers, you can create a histogram using those random numbers and the Histogram tool from the Analysis ToolPak. From the histogram, you can create a chart to represent a bell curve.
    Randon data, histogram and bell curve. Looks like a pretty good fit to me.

  5. #5
    Valued Forum Contributor squiggler47's Avatar
    Join Date
    02-17-2009
    Location
    Littleborough, UK
    MS-Off Ver
    Excel 3.0 to 2007+2010! (couldnt get 2.1 working)
    Posts
    1,013

    Re: Random distribution of numbers to create Bell curve

    Sorry Andy, you are of course quite correct!

    I have been pounding my head with statistics and maths all week and I think it just gave out, nothing is going in any more!

    Still it seems a little strange generating random numbers based on a normal and standard deviation, so I can calculate the normal and standard deviation! Still at least I know what they are before I start, so I can check my results!

  6. #6
    Valued Forum Contributor squiggler47's Avatar
    Join Date
    02-17-2009
    Location
    Littleborough, UK
    MS-Off Ver
    Excel 3.0 to 2007+2010! (couldnt get 2.1 working)
    Posts
    1,013

    Re: Random distribution of numbers to create Bell curve

    as an addendum :-


    =NORMINV(RAND(),Rand_Mean,Rand_Std_Dev)

    Creates random numbers for a bell curve given the Mean of the numbers required and the Standard deviation. I used this to get a changing set of data to test my sheet!

  7. #7
    Registered User
    Join Date
    05-09-2013
    Location
    Toronto, Ontario
    MS-Off Ver
    Excel 2010
    Posts
    1

    Re: Random distribution of numbers to create Bell curve

    I'm having the same problem. But this article does not help in 2010 because MS decided to take away all the basic functionality and impose the Ribbon on users. I just want to use random data. I'm going to resort to crayons soon/

    I can't get past the following because I don't know what the alternative is without the Tools menu:

    "On the Tools menu, click Data Analysis.
    In the Analysis Tools box, click Random Number Generation, and then click OK.
    In the Number of Variables box, type 1.
    In the Number of Random Numbers box, type 2000."

  8. #8
    Forum Contributor arlu1201's Avatar
    Join Date
    09-09-2011
    Location
    Bangalore, India
    MS-Off Ver
    Excel 2003 & 2007
    Posts
    19,166

    Re: Random distribution of numbers to create Bell curve

    jkf,

    Unfortunately you need to post your question in a new thread, it's against the forum rules to post a question in the thread of another user. If you create your own thread, any advice will be tailored to your situation so you should include a description of what you've done and are trying to do. Also, if you feel that this thread is particularly relevant to what you are trying to do, you can surely include a link to it in your new thread.
    If I have helped, Don't forget to add to my reputation (click on the star below the post)
    Don't forget to mark threads as "Solved" (Thread Tools->Mark thread as Solved)
    Use code tags when posting your VBA code: [code] Your code here [/code]

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1