Estimator
provides a general way to compute
estimates.Estimator(x, estimator, name, Infos, asvar = NULL, nuis.idx,
trafo = NULL, fixed = NULL, asvar.fct, ...)
x
.MatrixorFunction
-- a transformation
for the main parameterasvar.fct
takes arguments
L2Fam
((the parametric model as object of class L2ParamFamily
))
and param
(the pestimator
."Estimate"
.criterion
has to be a function with arguments the
empirical data as well as an object of class "Distribution"
and possibly ...
.Estimate-class
x <- rnorm(100)
Estimator(x, estimator = mean, name = "mean")
X <- matrix(rnorm(1000), nrow = 10)
Estimator(X, estimator = rowMeans, name = "mean")
Run the code above in your browser using DataLab