FSR_control | R Documentation |
FSR_control
object
Creates an object of class FSR_control
to be used with the fsreg()
function,
containing various control parameters.
FSR_control(intercept = TRUE, h, nsamp = 1000, lms = 1, init, nocheck = FALSE,
bonflev = "", msg = TRUE, bsbmfullrank = TRUE,
plot = FALSE, bivarfit = FALSE, multivarfit = FALSE,
labeladd = FALSE, nameX, namey, ylim, xlim)
intercept |
Indicator for constant term. Scalar. If |
h |
The number of observations that have determined the least trimmed squares
estimator, scalar. |
nsamp |
Number of subsamples which will be extracted to find the robust estimator,
scalar. If |
lms |
Criterion to use to find the initial subset to initialize the search
(LMS, LTS with concentration steps, LTS without concentration steps
or subset supplied directly by the user). The default value is 1
(Least Median of Squares is computed to initialize the search).
On the other hand, if the user wants to initialze the search with
LTS with all the default options for concentration steps then lms=2.
If the user wants to use LTS without concentration steps, lms can be
a scalar different from 1 or 2. If lms is a list it is possible
to control a series of options for concentration steps (for more
details see option
|
init |
Search initialization, scalar. It specifies the initial subset size to
start monitoring exceedances of minimum deletion residual, if init is
not specified it set equal to: |
nocheck |
Check input arguments, scalar. If |
bonflev |
Option to be used if the distribution of the data is strongly non normal and, thus, the general signal detection rule based on consecutive exceedances cannot be used. In this case bonflev can be:
Default value is ”, which means to rely on general rules based on consecutive exceedances. |
msg |
Controls whether to display or not messages on the screen If |
bsbmfullrank |
How to behave in case subset at step m (say bsbm) produces a singular X.
In other words, this options controls what to do when |
plot |
Plot on the screen. Scalar. If |
bivarfit |
Wheather to superimpose bivariate least square lines on the plot (if |
multivarfit |
Wheather to superimpose multivariate least square lines.
This option adds one or more least square lines, based on MULTIVARIATE REGRESSION
of y on X, to the plots of y|Xi.
The default is |
labeladd |
Add outlier labels in plot. If |
nameX |
Add variable labels in plot. A vector of strings of length |
namey |
Add response label. A string containing the label of the response |
ylim |
Control |
xlim |
Control |
Creates an object of class FSR_control
to be used with the fsreg()
function,
containing various control parameters.
An object of class "FSR_control"
which is basically a
list
with components the input arguments of
the function mapped accordingly to the corresponding Matlab function.
FSDA team
See Also Sreg_control
, MMreg_control
, LXS_control
,
FSReda_control
, Sregeda_control
and MMregeda_control
.
## Not run:
data(hbk, package="robustbase")
(out <- fsreg(Y~., data=hbk, method="FS", control=FSR_control(h=56, nsamp=500, lms=2)))
summary(out)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.