Zero-truncated Poisson distribution

In probability theory, the zero-truncated Poisson (ZTP) distribution is a certain discrete probability distribution whose support is the set of positive integers. This distribution is also known as the conditional Poisson distribution[1] or the positive Poisson distribution.[2] It is the conditional probability distribution of a Poisson-distributed random variable, given that the value of the random variable is not zero. Thus it is impossible for a ZTP random variable to be zero. Consider for example the random variable of the number of items in a shopper's basket at a supermarket checkout line. Presumably a shopper does not stand in line with nothing to buy (i.e., the minimum purchase is 1 item), so this phenomenon may follow a ZTP distribution.[3]

Since the ZTP is a truncated distribution with the truncation stipulated as k > 0, one can derive the probability mass function g(k;λ) from a standard Poisson distribution f(k;λ) as follows: [4]

The mean is

and the variance is

Parameter estimation

The maximum-likelihood estimator for the parameter is obtained by solving

where is the sample mean.[1]

Generated Zero-truncated Poisson-distributed random variables

Random variables sampled from the Zero-truncated Poisson distribution may be achieved using algorithms derived from Poisson distributing sampling algorithms.[5]

    init:
         Let k ← 1, t ← e−λ / (1 - e−λ) * λ, s ← t.
         Generate uniform random number u in [0,1].
    while s < u do:
         k ← k + 1.
         t ← t * λ / k.
         s ← s + t.
    return k.
gollark: No, that handles it now.
gollark: I just do```javascriptconst days = parseInt(getCapture(text, /.*in: ([0-9]+) day/, 0));const hours = parseInt(getCapture(text, /.*and ([0-9]+) hour/, 0));```now.
gollark: Hmm. I'm not sure whether it'd be worth switching out my current parsing thing or not.
gollark: Nobody understands regexes, don't worry.
gollark: ```Dragon Cave - Viewing Hatchling - ([code here])Not logged in · 9:23 am EDT · Log in · Sign upCaveHelpForumWelcome to Dragon Cave! Dragon Cave is an online adoptables game. Collect eggs, raise them to adulthood, and then breed them to cre­ate interesting lineages. New types of dragons are added regularly!Sign UpViewing Hatchling: (fukDc)Stolen on:Sep 02, 2018Hatched on:Sep 04, 2018 Overall views: 2,361 Unique views: 523Clicks:6Owner:LibbyLishlyLocation:ForestHatchling will die if it doesn’t grow up in: 7 daysAww... It’s a cute baby dragon. Its markings give off an otherworldly light.Young dragons are relatively defenseless. They are born with relatively soft scales, which are shed and replaced with harder ones as the hatchling matures. Once a hatchling’s wings grow in, it marks the beginning of maturation. At this point they are often capable of hunting on their own and are usually left alone by their mother.(Please note that it is against the site rules to give aid to a user without their permission.)```

References

  1. Cohen, A. Clifford (1960). "Estimating parameters in a conditional Poisson distribution". Biometrics. 16 (2): 203–211. doi:10.2307/2527552. JSTOR 2527552.
  2. Singh, Jagbir (1978). "A characterization of positive Poisson distribution and its application". SIAM Journal on Applied Mathematics. 34: 545–548. doi:10.1137/0134043.
  3. "Stata Data Analysis Examples: Zero-Truncated Poisson Regression". UCLA Institute for Digital Research and Education. Retrieved 7 August 2013.
  4. Johnson, Norman L.; Kemp, Adrianne W.; Kotz, Samuel (2005). Univariate Discrete Distributions (third edition). Hoboken, NJ: Wiley-Interscience.
  5. Borje, Gio. "Zero-Truncated Poisson Distribution Sampling Algorithm".
This article is issued from Wikipedia. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.