Mathematica 9 is now available
Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
2007
*January
*February
*March
*April
*May
*June
*July
*August
*September
*October
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

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: [mg73341] Re: [mg73319] RandomArray from user defined distribution?
  • From: Stern <nycstern at gmail.com>
  • Date: Tue, 13 Feb 2007 06:55:56 -0500 (EST)
  • References: <200702121001.FAA14898@smc.vnet.net>

Poisson distributions are not defined by their sigmas; they are
defined by their means alone. Though one could calculate the standard
deviation for any given mean, it should always be the same and
therefore uninteresting.  I welcome a statistical guru to correct me
in this if appropriate.

A random array of 50 numbers in a Poisson distribution with mean 10
can be generated in Mathematica as follows:

In[1]:=
<<Statistics`DiscreteDistributions`

In[2]:=
RandomArray[PoissonDistribution[10],50]

Done.




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: RandomArray from user defined distribution?
  • 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?