Fist a negative binomial distribution as marginal law
fit_marginalNB(x, LM, plotdiag = FALSE)
x
: vector of equidistant time series dataLM
: Lebesgue measure of the estimated trawlplotdiag
: binary variable specifying whether or not diagnostic plots should be providedm: parameter in the negative binomial marginal distribution
theta: parameter in the negative binomial marginal distribution
a: Here . This is given for an alternative parametrisation of the negative binomial marginal distribution
The moment estimator for the parameters of the negative binomial distribution are given by
and
Useful links