Learn R Programming

distrMod (version 2.9.4)

BetaFamily: Generating function for Beta families

Description

Generates an object of class "L2ParamFamily" which represents a Beta family.

Usage

BetaFamily(shape1 = 1, shape2 = 1, trafo, withL2derivDistr = TRUE)

Value

Object of class "L2ParamFamily"

Arguments

shape1

positive real: shape1 parameter

shape2

positive real: shape2 parameter

trafo

matrix: transformation of the parameter

withL2derivDistr

logical: shall the distribution of the L2 derivative be computed? Defaults to TRUE; setting it to FALSE speeds up computations.

Author

Peter Ruckdeschel peter.ruckdeschel@uni-oldenburg.de

Details

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

See Also

L2ParamFamily-class, Beta-class

Examples

Run this code
(B1 <- BetaFamily())
FisherInfo(B1)
## IGNORE_RDIFF_BEGIN
checkL2deriv(B1)
## IGNORE_RDIFF_END

Run the code above in your browser using DataLab