cmpproc {cmpprocess} | R Documentation |
cmpproc
computes the maximum likelihood estimates of a COM-Poisson process for given count data.
cmpproc(counts, s = 1, h.out = FALSE)
counts |
A vector (-like object) of counts. |
s |
The time interval corresponding to the levels of the counts vector. |
h.out |
A boolean indicating if the information matrix and associated standard errors are returned. This can have a significant impact on processing time and should be left at the default unless needed |
cmpproc
will return a list of seven elements: [1] se (Standard errors), [2] H (Information matrix), [3] lambda,
[4] nu, [5] Z, [6] ll (Log likelihood), and [7] aic.
## Standard usage data(floodcount) cmpproc(floodcount$Counts)