Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
random value given a standard normal distribution and mean?
#1
I am trying to do a simulation of projected sales. I can't get my head around how to create a random number that follows a certain probability distribution, specifically the standard normal distribution.

Given a mean of sample_mean and a standard deviation of sample_sd, how can I get a random number off of them? Anyone?

Here is a website that does this, but I can't convert the .class files into meaningful code...

http://www-stat.stanford.edu/~naras/jsm/...lity.class
Peace cannot be obtained without war. Why? If there is already peace, it is unnecessary for war. If there is no peace, there is already war."

Visit www.neobasic.net to see rubbish in all its finest.
Reply


Messages In This Thread
random value given a standard normal distribution and mean? - by Agamemnus - 03-07-2006, 09:26 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)