Description Usage Arguments Value Examples
View source: R/distributions.R
Reduced poisson probability distribution function rPoisson(x;λ,r), takes reduced quantiles (use drpois2 for full quantiles).
1 |
x |
Reduced count quantile (alternatively input reduction(x,r) if x is a full count quantile). |
lambda |
Mean of the full count poisson distribution. |
red |
The factor r by which x was reduced. |
The probability of observing quantile x
1 2 3 4 5 6 7 | # probability of observing 105 from pois(lam=90)
x <- dpois(x = 105, lambda = 90)
# probability of observing reduction(105, 10) from rpois(lam=90, r=10) is larger since multiple values of x map to the same value of y
y <- drpois(x = reduction(105, 10), lambda = 90, red = 10)
Y <- drpois(seq(0,20,1), 55, 10)
plot(Y, xlab="Y=rPois(lambda=55, r=10)", main="X~Poisson(lambda=55)", ylab="P[Y=y]")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.