Learn R Programming

distrMod (version 2.9.4)

BinomFamily: Generating function for Binomial families

Description

Generates an object of class "L2ParamFamily" which represents a Binomial family where the probability of success is the parameter of interest.

Usage

BinomFamily(size = 1, prob = 0.5, trafo)

Value

Object of class "L2ParamFamily"

Arguments

size

number of trials

prob

probability of success

trafo

function in param or matrix: transformation of the parameter

Author

Matthias Kohl Matthias.Kohl@stamats.de

Details

The slots of the corresponding L2 differentiable parameteric family are filled.

References

Kohl, M. (2005) Numerical Contributions to the Asymptotic Theory of Robustness. Bayreuth: Dissertation.

See Also

L2ParamFamily-class, Binom-class

Examples

Run this code
(B1 <- BinomFamily(size = 25, prob = 0.25))
plot(B1)
FisherInfo(B1)
checkL2deriv(B1)

Run the code above in your browser using DataLab