|
[Date Index]
[Thread Index]
[Author Index]
Re: RandomArray from user defined distribution?
- To: mathgroup at smc.vnet.net
- Subject: [mg73350] Re: [mg73319] RandomArray from user defined distribution?
- From: "Richard Palmer" <rhpalmer at gmail.com>
- Date: Tue, 13 Feb 2007 07:00:50 -0500 (EST)
- References: <200702121001.FAA14898@smc.vnet.net>
The documentation is pretty clear.
<<RandomArray`DiscreteDistributions` (* load the package*)
mu=3.7; (* set mu to your
desired value *)
poi=PoissonDistribution[mu]; (* define a poission
distribution at mu *)
t=RandomArray[poi,1000]; (* here is a random array *)
Regards
On 2/12/07, rob <robIV at piovere.com> wrote:
> I'd like to use the RandomArray to produce some data from
> what I think is a Poisson distribution in t
> P[t] = a^2 t Exp[-a*t] where a is mean, sigma.
>
> I see one can use RandomArray to produce sample data from a
> lot of continuous distributions but the Poisson isn't among
> them (it's only available in the discrete form).
>
> I've made a bunch of crippled attempts to force my P[t] to
> put out examples but have failed. Any suggestions? Thanks.
>
>
--
Richard Palmer
Cell 508 982-7266
Prev by Date:
Eigensystem
Next by Date:
Re: RandomArray from user defined distribution?
Previous by thread:
RandomArray from user defined distribution?
Next by thread:
Re: RandomArray from user defined distribution?
|