fit_marginalNB {trawl}R Documentation

Fist a negative binomial distribution as marginal law

Description

Fist a negative binomial distribution as marginal law

Usage

fit_marginalNB(x, LM, plotdiag = FALSE)

Arguments

x

vector of equidistant time series data

LM

Lebesgue measure of the estimated trawl

plotdiag

binary variable specifying whether or not diagnostic plots should be provided

Details

The moment estimator for the parameters of the negative binomial distribution are given by

\hat \theta = 1-\mbox{E}(X)/\mbox{Var}(X),

and

\hat m = \mbox{E}(X)(1-\hat \theta)/(\widehat{ \mbox{LM}} \hat \theta).

Value

m: parameter in the negative binomial marginal distribution

theta: parameter in the negative binomial marginal distribution

a: Here a=\theta/(1-\theta). This is given for an alternative parametrisation of the negative binomial marginal distribution


[Package trawl version 0.2.2 Index]