distrMod (version 2.9.1)

ParamFamParameter: Generating function for ParamFamParameter-class

Description

Generates an object of class "ParamFamParameter".

Usage

ParamFamParameter(name, main = numeric(0), nuisance, fixed, trafo,
                  ..., .returnClsName = NULL)

Value

Object of class "ParamFamParameter" (or, if non-null, of class

.returnClsName)

Arguments

name

(optional) character string: name of parameter

main

numeric vector: main parameter

nuisance

(optional) numeric vector: nuisance paramter

fixed

(optional) numeric vector: fixed part of the paramter

trafo

(optional) MatrixorFunction: transformation of the parameter

...

(optional) additional arguments for further return classes, e.g.\ withPosRestr (only use case so far) for class ParamWithShapeFamParameter

.returnClsName

character or NULL; if non-null, the generated object will be of class .returnClsName, which must be a subclass of ParamFamParameter.

Author

Matthias Kohl Matthias.Kohl@stamats.de,
Peter Ruckdeschel peter.ruckdeschel@uni-oldenburg.de

Details

If name is missing, the default “"parameter of a parametric family of probability measures"” is used. If nuisance is missing, the nuisance parameter is set to NULL. The number of columns of trafo have to be equal and the number of rows have to be not larger than the sum of the lengths of main and nuisance. If trafo is missing, no transformation to the parameter is applied; i.e., trafo is set to an identity matrix.

See Also

ParamFamParameter-class

Examples

Run this code
ParamFamParameter(main = 0, nuisance = 1, fixed = 2,
                  trafo = function(x) list(fval = sin(x), 
                                            mat = matrix(cos(x),1,1))
                  )                          

Run the code above in your browser using DataLab