MCEstimator and
MLEstimator in package ``distrMod''..negLoglikelihood(x, Distribution, ...)
.process.meCalcRes(res, PFam, trafo, res.name, call, asvar.fct, check.validity, ..., .withEvalAsVar = TRUE)
.callParamFamParameter(PFam, theta, idx, nuis, fixed)Distribution;
the distribution at which to evaluate the negative log likelihood.negLoglikelihood simply to be able to use
the general calling for the criterion function;
in case of .process.meCalcRes further arguments to be passed
to function asvar.fctmleCalc or mceCalcParamFamily;
the parametric family at which to evaluate the MCENULLNULL.asVar be evaluated
(if asvar.fct is given) or
just the call be returned?MCEstimateParamFamParameter
or if necessary a corresponding subclass..negLoglikelihood uses the log -argument of the corresponding d-slot
of the distribution if available; else produces log(d(Distribution)(x)).
.get.criterion.fct produces a function criterion.fct
to fill slot minuslogl when an object of class MCEstimate
is coerced to class mle (from package stats4);
this way we may use profiling methods introduced there also for objects
of our classes. More specifically, we produce a function where all
coordinates/components of theta appear as separate named
arguments, which then calls fun with these separate arguments
again stacked to one (named) vector argument;.process.meCalcRes processes the resulting return value list of methods
mceCalc and mleCalc to give a corresponding object of
class MCEstimate.
.callParamFamParameter determines by means of the family-slot
parameter whether this is of a subclass of ParamFamParameter,
and if so manipulates the call to generating function ParamFamParameter
accordingly (such that the result has the convenient type and the
convenient extra slots).
MCEstimate-class,
mle-class,