EPPMprob: Calculation of vector of probabilities for a extended Poisson...

Description Usage Arguments Details Value Author(s) References

Description

Calculates a vector of probabilities given a vector of rates using the matrix exponential function from Goulet, Dutang, Maechler, Firth, Shapira, Stadelmann (2014) which depends on the package Matrix of Bates and Maechler (2012).

Usage

1
EPPMprob(vlambda)

Arguments

vlambda

a vector of rates of an extended Poisson process.

Details

This is a similar function to that in Smith and Faddy (2014).

Value

The value returned is a vector of probabilities.

Author(s)

David M. Smith <smithdm1@us.ibm.com>

References

Bates D, Maechler M (2016). Matrix: Sparse and Dense Matrix Classes and Methods. R package version 1.2-4, https://CRAN.R-project.org/package=Matrix.

Goulet V, Dutang C, Maechler M, Firth D, Shapira M, Stadelmann M. (2014). Package 'expm'. R package version 0.99-1.1, https://CRAN.R-project.org/package=expm.

Smith D, Faddy M (2014). CountsEPPM: Mean and Variance Modeling of Count Data. R package version 2.0, https://CRAN.R-project.org/package=CountsEPPM.


BinaryEPPM documentation built on July 31, 2019, 5:08 p.m.