Learn R Programming

ROptEst (version 1.0)

inputGenerators: Input generating functions for function 'robest'

Description

Generating functions to generate structured input for function robest.

Usage

genkStepCtrl(useLast = getRobAStBaseOption("kStepUseLast"), withUpdateInKer = getRobAStBaseOption("withUpdateInKer"), IC.UpdateInKer = getRobAStBaseOption("IC.UpdateInKer"), withICList = getRobAStBaseOption("withICList"), withPICList = getRobAStBaseOption("withPICList"), scalename = "scale", withLogScale = TRUE, withEvalAsVar = NULL) genstartCtrl(initial.est = NULL, initial.est.ArgList = NULL, startPar = NULL, distance = CvMDist, withMDE = NULL) gennbCtrl(neighbor = ContNeighborhood(), eps, eps.lower, eps.upper)

Arguments

useLast
which parameter estimate (initial estimate or k-step estimate) shall be used to fill the slots pIC, asvar and asbias of the return value.
withUpdateInKer
if there is a non-trivial trafo in the model with matrix $D$, shall the parameter be updated on $ker(D)$?
IC.UpdateInKer
if there is a non-trivial trafo in the model with matrix $D$, the IC to be used for this; if NULL the result of getboundedIC(L2Fam,D) is taken; this IC will then be projected onto $ker(D)$.
withICList
logical: shall slot ICList of return value be filled?
withPICList
logical: shall slot pICList of return value be filled?
scalename
character: name of the respective scale component.
withLogScale
logical; shall a scale component (if existing and found with name scalename) be computed on log-scale and backtransformed afterwards? This avoids crossing 0.
withEvalAsVar
logical or NULL: if TRUE (default), tells R to evaluate the asymptotic variance or if FALSE just to produces a call to do so. If withEvalAsVar is NULL (default), the content of slot .withEvalAsVar in the L2 family is used instead to take this decision.
initial.est
initial estimate for unknown parameter. If missing minimum distance estimator is computed.
initial.est.ArgList
a list of arguments to be given to argument start if the latter is a function; this list by default already starts with two unnamed items, the sample x, and the model L2Fam.
startPar
initial information used by optimize resp. optim; i.e; if (total) parameter is of length 1, startPar is a search interval, else it is an initial parameter value; if NULL slot startPar of ParamFamily is used to produce it; in the multivariate case, startPar may also be of class Estimate, in which case slot untransformed.estimate is used.
distance
distance function
withMDE
logical or NULL: Shall a minimum distance estimator be used as starting estimator in roptest() / robest()---in addition to the function given in argument startPar of the current function or, if the argument is NULL, in slot startPar of the L2 family? If NULL (default) the content of slot .withMDE in the L2 family is used instead to take this decision.
neighbor
object of class "UncondNeighborhood"
eps
positive real (0 < eps
eps.lower
positive real (0 <= eps.lower <= eps.upper): lower bound for the amount of gross errors. See details below.
eps.upper
positive real (eps.lower <= eps.upper

Details

All these functions bundle their respective input to (reusable) lists which can be used as arguments in function robest. For details, see this function.

See Also

roblox, L2ParamFamily-class UncondNeighborhood-class, RiskType-class

Examples

Run this code
genkStepCtrl()
genstartCtrl()
gennbCtrl()

Run the code above in your browser using DataLab