in reply to Randomly generating histograms
* continuously and uniformly distributed (equal distribution over the range)
* continuously and normally distributed (like a bell curve)
* discretely and nonuniformly distributed (like loaded dice)
once you've figured out what you want your data to look like, you can create it using the appropriate function, and tally the results as you go, stopping when you approach your max (within some acceptable error value.)
give it a try, and post your code if you run into trouble.
~Particle ;Þ
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Randomly generating histograms
by narse (Pilgrim) on Mar 25, 2002 at 16:19 UTC | |
by I0 (Priest) on Mar 26, 2002 at 12:17 UTC |