Looking to generate random results based on median, mean and range.

From: grambo (grahammarsden_at_gmail.com)
Date: 03/22/05


Date: 22 Mar 2005 08:48:41 -0800

Let me give you an example of what I want to accomplish:

I'd like to create a life-expectancy simulator in Flash. Flash has an
excellent math engine, and can work with just about any equation set.

The end-user will click a button to be randomly assigned a country of
origin. Then, clicking another button will tell them how long they
live. I don't want to simply return the average life expectancy per
country. Rather, using that average number (that I have), I'd like to
simulate a bell curve of possibilties. So, if a person ended up in the
US 100 times, the average life expectancy of all their simulations
would approach actual statistical data.

Obviously, I don't want to generate data that says a person lived 150
years, either, so I'd need to be able to input a range as well.

So, is there any free program out there that will give me a bell curve
of individual N's based on mean, median, range and maybe mode?