tscount
package.
ddistr(x, meanvalue, distr=c("poisson", "nbinom"), distrcoefs, ...)
pdistr(q, meanvalue, distr=c("poisson", "nbinom"), distrcoefs, ...)
qdistr(p, meanvalue, distr=c("poisson", "nbinom"), distrcoefs, ...)
rdistr(n, meanvalue, distr=c("poisson", "nbinom"), distrcoefs)
sddistr(meanvalue, distr=c("poisson", "nbinom"), distrcoefs)
ardistr(response, meanvalue, distr=c("poisson", "nbinom"), distrcoefs)
checkdistr(distr=c("poisson", "nbinom"), distrcoefs)
"poisson"
(the default) for the Poisson
distribution and "nbinom"
for the NegBinomial
distribution.
size
as specified in NegBinomial
.
logt
, lower.tail
or log.p
to be passed to other functions (see Poisson
or NegBinomial
).
ddistr
gives the density of the specified distribution, pdistr
the distribution function, qdistr
the quantile function and rdistr
generates random deviates from this distribution. These functions are a generalisation of the respective functions where distr
is replaced by either pois
or nbinom
. The function sddistr
returns the standard deviation of the specified distribution. The function ardistr
calculates Anscombe residuals for given values of the response. The function checkdistr
is for verification of the arguments distr
and distrcoefs
.
Poisson
for the Poisson distribution and NegBinomial
for the negative binomial distribution.tsglm
for fitting a more genereal GLM for time series of counts.