"L2ParamFamily"
.L2ParamFamily(name, distribution = Norm(), distrSymm,
main = main(param), nuisance = nuisance(param),
fixed = fixed(param), trafo = trafo(param),
param = ParamFamParameter(name = paste("Parameter of", name),
main = main, nuisance = nuisance,
fixed = fixed, trafo = trafo),
props = character(0),
startPar = NULL, makeOKPar = NULL,
modifyParam = function(theta){ Norm(mean=theta) },
L2deriv.fct = function(param) {force(theta <- param@main)
return(function(x) {x-theta})},
L2derivSymm, L2derivDistr, L2derivDistrSymm,
FisherInfo.fct, FisherInfo = FisherInfo.fct(param),
.returnClsName = NULL)
"Distribution"
:
member of the family"DistributionSymmetry"
:
symmetry of distribution
.param
or matrix: transformation of the parameter"ParamFamParameter"
:
parameter of the familystartPar
is a function in the observations x
returning initial information for MCEstimator
used
by optimize
resp. optim
; i.e; if (total) parameter is of
length 1, star
makeOKPar
is a function in the (total)
parameter param
; used if optim
resp. optimize
---
try to use ``illegal'' parameter values; then makeOKPar
makes
a valid par"param"
) to the distribution space
(represented by "distribution"
).param
of class "ParamFamParameter"
) to a mapping from
observation x
to the value of the L2derivative;
L2deriv.fct
is used by m
"FunSymmList"
:
symmetry of the maps contained in L2deriv
"UnivarDistrList"
:
distribution of L2deriv
"DistrSymmList"
:
symmetry of the distributions contained in L2derivDistr
param
of class "ParamFamParameter"
) to the set of positive
semidefinite matrices; FisherInfo.fct
is used by modifyModel
to
move the Fi"PosSemDefSymmMatrix"
:
Fisher information of the familyNULL
whereupon the return class will be
L2ParamFamily
; but, internally, this generating function is also
used to produce objects of class Binomia
"L2ParamFamily"
name
is missing, the default
distrSymm
is missing it is set to
NoSymmetry()
.
If param
is missing, the parameter is created via
main
, nuisance
and trafo
as described
in ParamFamParameter
. In case L2derivSymm
is
missing, it is filled with an object of class FunSymmList
with entries NonSymmetric()
. In case L2derivDistr
is missing,
it is computed via imageDistr
. If L2derivDistrSymm
is missing,
it is set to an object of class DistrSymmList
with entries
NoSymmetry()
. In case FisherInfo
is missing, it is computed
from L2deriv
using E
.L2ParamFamily-class
F1 <- L2ParamFamily()
plot(F1)
Run the code above in your browser using DataCamp Workspace