Mathematica 9 is now available
Student Support Forum
Student Support Forum: 'Random Number: Sampling from Discrete Distribut...' topicStudent Support Forum > General > "Random Number: Sampling from Discrete Distribut..."

Next Comment >Help | Reply To Topic
Author Comment/Response
09/23/01 11:03am

I'm quite a novice with Mathematica, hence you will find my problem (hopefully) rather trivial:
How can conduct a simple random experiment in Mathematica, when I know the distribution?
For instance, possible realisations are 1,2,3 with possibilites of each being picked 1/2,1/3,1/6, respectively. So, I want to tell the computer: "Select one of these realizations, such that when repeated infinitely, the portion of occurences of either realization converges to its respective probability"
Sounds easy, doesn't it? ;-)
Thanks in advance!

URL: ,

Subject (listing for 'Random Number: Sampling from Discrete Distribut...')
Author Date Posted
Random Number: Sampling from Discrete Distribut... mouse@work 09/23/01 11:03am
Re: Random Number: Sampling from Discrete Distr... Lauren Levine 10/05/01 11:36am
Next Comment >Help | Reply To Topic