Internal function to call the robust survey regression GM-estimator; this function is only intended for internal use. The function does not check or validate the arguments. In particular, missing values in the data may make the function crash.
robsvyreg(x, y, w, k, psi, type, xwgt, var = NULL, verbose = TRUE, ...)
svyreg_control(tol = 1e-5, maxit = 100, k_Inf = 1e6, init = NULL,
mad_center = TRUE, ...)
[list]
[numeric matrix]
design matrix (NA
values not
allowed).
[numeric vector]
dependent variable (NA
values not
allowed).
[numeric vector]
weights (no NA
's allowed).
[double]
robustness tuning constant
(\(0 < k \leq \infty\)).
[integer]
psi-functions: 0
: Huber, 1
:
asymmetric Huber, and 2
: Tukey biweight.
[integer]
type of estimator; 0
: M-estimator;
1
: Mallows and 2
: Schweppe type GM-estimator.
[numeric vector]
weights for design space used in
GM-estimators (default: NULL
, NA
values not allowed).
[numeric vector]
heteroscedastic variance
(default: NULL
).
[logical]
indicating whether additional information
is printed to the console (default: TRUE
).
[double]
numerical tolerance criterion to stop the
iterations (default: 1e-05
).
[integer]
maximum number of iterations to use
(default: 100
).
[integer]
numerical value that represents Inf
(default: 1e+06
).
either NULL
or [numeric vector]
, if
init = NULL
the regression estimator is initialized by
weighted least squares; otherwise, init
can be specified as
the estimate (i.e., p-vector) to initialize the iteratively
re-weighted least squares method (default: NULL
).
[logical]
if TRUE
, the weighted MAD is
centered about the (weighted) median, otherwise the weighted MAD is
centered about zero (default: TRUE
).
additional arguments passed to the method
(see svyreg_control
).
Not documented