Internals
Contents
Index
Internals
MEstimation.MEstimation_results
— TypeMEstimation_results(results::Union{NLsolve.SolverResults, Optim.MultivariateOptimizationResults, Optim.UnivariateOptimizationResults},
theta::Vector,
data::Any,
template::Union{objective_function_template, estimating_function_template},
regularizer::Function,
br::Bool,
has_objective::Bool,
has_regularizer::Bool,
br_method::String)
Composite type for the output of fit
for an objective_function_template
or an estimating_function_template
.
Arguments
results
: aUnion{NLsolve.SolverResults, Optim.MultivariateOptimizationResults, Optim.UnivariateOptimizationResults}
object holding the optimization results as returned fromOptim.optimize
orNLsolve.nlsolve
.theta
: aVector{Float64}
with the M-estimates or their reduced-bias version.data
: an object of composite type with all the data required to compute the objective function or the estimating functions; seeobjective_function
and [
estimating_function`](@ref).template
: anobjective_function_template
orestimating_function_template
object.regularizer
: a function oftheta
anddata
returning either aVector{Float64}
of dimension equal to the number of the estimating functions (forestimating_function_template
) or aFloat64
(forobjective_function_template
). Seefit
for details.br
: aBool
; iffalse
thenresults
are from the computation of M-estimates, otherwise from the computation of the RBM-estimates.has_objective
: aBool
; iftrue
thentemplate
is anobjective_function_template
.has_regularizer
: aBool
; iftrue
then a regularizer function has been used during optimization; seefit
.br_method
: either "implicittrace" (default) or "explicittrace"; seefit
.
Base.show
— Functionshow(io::IO,
results::MEstimation_results;
digits::Int64 = 4)
show
method for MEstimation_results
objects.
Arguments
io
: anIO
object; seeshow
for details.results
: aMEstimation_results
object.
digits
: anInt64
indicating the number of digits to display for the various summaries. Default is4
.
Details
If MEstimation_results.has_objective == true
, then the result of aic(results)
and tic(results)
are also printed.