Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.programmer > #31847

Re: random generation from discrete probability distribution function

X-Received by 10.42.188.83 with SMTP id cz19mr38945916icb.10.1435060297184; Tue, 23 Jun 2015 04:51:37 -0700 (PDT)
X-Received by 10.140.23.50 with SMTP id 47mr517737qgo.24.1435060297016; Tue, 23 Jun 2015 04:51:37 -0700 (PDT)
Path csiph.com!optima2.xanadu-bbs.net!xanadu-bbs.net!news.glorb.com!h15no7382098igd.0!news-out.google.com!4ni2535qgh.1!nntp.google.com!q107no2834718qgd.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail
Newsgroups comp.lang.java.programmer
Date Tue, 23 Jun 2015 04:51:36 -0700 (PDT)
In-Reply-To <f078c43f-bc67-4a50-b660-68294042b23e@googlegroups.com>
Complaints-To groups-abuse@google.com
Injection-Info glegroupsg2000goo.googlegroups.com; posting-host=50.78.95.177; posting-account=2czF5goAAAD4GBMPIGV4KcD2K4PhoB_H
NNTP-Posting-Host 50.78.95.177
References <f078c43f-bc67-4a50-b660-68294042b23e@googlegroups.com>
User-Agent G2/1.0
MIME-Version 1.0
Message-ID <33ea3cd3-bcc0-4e4e-8dbd-c352c91191e9@googlegroups.com> (permalink)
Subject Re: random generation from discrete probability distribution function
From e.d.programmer@gmail.com
Injection-Date Tue, 23 Jun 2015 11:51:37 +0000
Content-Type text/plain; charset=ISO-8859-1
Xref csiph.com comp.lang.java.programmer:31847

Show key headers only | View raw


On Tuesday, June 23, 2015 at 4:46:56 AM UTC-4, Saha wrote:
> Hi all,
> 
> I need to code a probability matrix and then choose a random number for each row according to the their probability.
> I know I have to use Random(),but I do not know how can I use this one according to the probability.
> Also, I need to know how I can code the probability matrix.
> 
> Thanks

This sounds like asking someone to do your homework for you.

Back to comp.lang.java.programmer | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

random generation from discrete probability distribution function "saha.noruz@gmail.com" <sahar.fakhar@gmail.com> - 2015-06-23 01:46 -0700
  Re: random generation from discrete probability distribution function Eric Sosman <esosman@comcast-dot-net.invalid> - 2015-06-23 07:37 -0400
    Re: random generation from discrete probability distribution function Arne Vajhøj <arne@vajhoej.dk> - 2015-06-28 20:27 -0400
  Re: random generation from discrete probability distribution function e.d.programmer@gmail.com - 2015-06-23 04:51 -0700
  Re: random generation from discrete probability distribution function Jeff Higgins <jeff@invalid.invalid> - 2015-06-23 20:31 -0400

csiph-web