new("MCEstimate", ...).
More frequently they are created via the generating functions
MCEstimator, MDEstimator or MLEstimator.name"character":
name of the estimator. estimate"ANY":
estimate.estimate.call"call":
call by which estimate was produced.criterion"numeric":
minimum value of the considered criterion.criterion.fct"function":
the considered criterion function; used for compatibility with class
"mle" from package stats4; should be a function
returning the criterion; i.e. a numeric of length 1 and should have
as arguments all named components of argument
untransformed.estimatemethod"character":
the method by which the estimate was calculated, i.e.;
"optim", "optimize", or "explicit calculation";
used for compatibility with class "mle" from package
stats4, could be any character value.Infos"matrix"
with two columns named method and message:
additional informations. optimwarn"character"
warnings issued during optimization. startPar"ANY"; filled either
with NULL (no starting value used) or with "numeric"
--- the value of the starting parameter. asvar"OptionalMatrix"
which may contain the asymptotic (co)variance of the estimator. samplesize"numeric" ---
the samplesize at which the estimate was evaluated. nuis.idx"OptionalNumeric":
indices of estimate belonging to the nuisance partfixed"OptionalNumeric":
the fixed and known part of the parameter. trafo"list":
a list with components fct and mat (see below). untransformed.estimate"ANY":
untransformed estimate.untransformed.asvar"OptionalNumericOrMatrix"
which may contain the asymptotic (co)variance of the untransformed
estimator. completecases"logical" ---
complete cases at which the estimate was evaluated. startPar"ANY"; usually filled with
argument startPar of generating function MCEstimator,
MLEstimator, MDEstimator."Estimate", directly.signature(object = "MCEstimate"):
accessor function for slot criterion. signature(object = "MCEstimate"):
replacement function for slot criterion. signature(object = "MCEstimate"):
accessor function for slot optimwarn. signature(object = "MCEstimate"):
accessor function for slot startPar. signature(object = "MCEstimate"):
accessor function for slot criterion.fct. signature(object = "Estimate")signature(from = "MCEstimate", to = "mle"):
create a "mle" object from a "MCEstimate" objectsignature(fitted = "MCEstimate"):
coerces fitted to class "mle" and then calls
the corresponding profile-method
from package stats4; for details we confer to the corresponding
man page.Estimate-class, MCEstimator,
MDEstimator, MLEstimator## (empirical) Data
x <- rgamma(50, scale = 0.5, shape = 3)
## parametric family of probability measures
G <- GammaFamily(scale = 1, shape = 2)
MDEstimator(x, G)
(m <- MLEstimator(x, G))
m.mle <- as(m,"mle")
par(mfrow=c(1,2))
profileM <- profile(m)
## plot-profile throws an error
Run the code above in your browser using DataLab