Generate Array of Numbers that fit to a Probability Distribution in Ruby?
问题 Say I have 100 records, and I want to mock out the created_at date so it fits on some curve. Is there a library to do that, or what formula could I use? I think this is along the same track: Generate Random Numbers with Probabilistic Distribution I don't know much about how they are classified in mathematics, but I'm looking at things like: bell curve logarithmic (typical biology/evolution) curve? ... Just looking for some formulas in code so I can say this: Given 100 records, a timespan of 1