Generating function for Nbinomial families
Generates an object of class "L2ParamFamily"
which
represents a Nbinomial family where the probability of
success is the parameter of interest.
NbinomFamily(size = 1, prob = 0.5, trafo) NbinomwithSizeFamily(size = 1, prob = 0.5, trafo, withL2derivDistr = TRUE) NbinomMeanSizeFamily(size = 1, mean = 0.5, trafo, withL2derivDistr = TRUE )
size |
number of trials |
prob |
probability of success |
mean |
alternative parameter for negative binomial parameter |
trafo |
function in |
withL2derivDistr |
logical: shall the distribution of the L2 derivative
be computed? Defaults to |
The slots of the corresponding L2 differentiable
parameteric family are filled.
NbinomFamily
assumes size
to be known; while
for NbinomwithSizeFamily
it is a second (unknown) parameter;
for NbinomMeanSizeFamily
is like NbinomwithSizeFamily
but uses the size,mean
parametrization instead of the
size,prob
one.
Object of class "L2ParamFamily"
Peter Ruckdeschel peter.ruckdeschel@uni-oldenburg.de
Kohl, M. (2005) Numerical Contributions to the Asymptotic Theory of Robustness. Bayreuth: Dissertation.
Kohl, M. and Ruckdeschel, P. (2010). R Package distrMod: S4 Classes and Methods for Probability Models. To appear in Journal of Statistical Software.
(N1 <- NbinomFamily(size = 25, prob = 0.25)) plot(N1) FisherInfo(N1) checkL2deriv(N1) (N1.w <- NbinomwithSizeFamily(size = 25, prob = 0.25)) plot(N1.w) FisherInfo(N1.w) checkL2deriv(N1.w) (N2.w <- NbinomMeanSizeFamily(size = 25, mean = 75)) plot(N2.w) FisherInfo(N2.w) checkL2deriv(N2.w)
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.