MathGroup Archive 2007

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: RandomArray from user defined distribution?

  • To: mathgroup at smc.vnet.net
  • Subject: [mg73345] Re: [mg73319] RandomArray from user defined distribution?
  • From: bsyehuda at gmail.com
  • Date: Tue, 13 Feb 2007 06:58:05 -0500 (EST)

Hi,
Poisson distribution is a count process.
If you need to generate a sampled data, I assume that you want that the
count process of the sampled data would be Poisson distributed, and this can
be done with a renewal process, where the time intervals between the reneal
points is exponential distributed, therefore,

<< Statistics`ContinuousDistributions`
FoldList[Plus, 0, RandomArray[ExponentialDistribution[1], 100]] // Rest
generates 100 points of the "sampled data" (with rate 1)

I'm certain you would be able to continue from that point
regards
yehuda


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.
>
>


  • Prev by Date: Re: Curve-fitting/data analysis question...
  • Next by Date: Re: Array reference help please
  • Previous by thread: Re: RandomArray from user defined distribution?
  • Next by thread: Re: RandomArray from user defined distribution?