r_pois {DPQ} | R Documentation |
Compute Relative Size of i-th term of Poisson Distribution Series
Description
Compute
where lambda
, and
is the -th
partial sum of
.
Questions: As function of
Can this be put in a simple formula, or at least be well approximated for large
and/or large
?
For which
(
) is it maximal?
When does
become smaller than (f+2i-x)/x = a + b*i ?
NB: This is relevant in computations for non-central chi-squared (and similar non-central distribution functions) defined as weighted sum with “Poisson weights”.
Usage
r_pois(i, lambda)
r_pois_expr # the R expression() for the asymptotic branch of r_pois()
plRpois(lambda, iset = 1:(2*lambda), do.main = TRUE,
log = 'xy', type = "o", cex = 0.4, col = c("red","blue"),
do.eaxis = TRUE, sub10 = "10")
Arguments
i |
integer .. |
lambda |
non-negative number ... |
iset |
..... |
do.main |
|
type |
type of (line) plot, see |
log |
string specifying if (and where) logarithmic scales should be
used, see |
cex |
character expansion factor. |
col |
colors for the two curves. |
do.eaxis |
|
sub10 |
argument for |
Details
r_pois()
is related to our series expansions and approximations
for the non-central chi-squared;
in particular
...........
plRpois()
simply produces a “nice” plot of r_pois(ii, *)
vs ii
.
Value
r_pois()
returns a numeric vector
values.
r_pois_expr()
an
expression
.
Author(s)
Martin Maechler, 20 Jan 2004
See Also
dpois()
.
Examples
plRpois(12)
plRpois(120)