fsrfan.object {fsdaR} | R Documentation |
Objects returned by the function fsrfan
Description
An object of class fsrfan.object
holds information about
the result of a call to fsrfan
.
Value
The functions print()
and summary()
are used to obtain and print a
summary of the results. An object of class fsrfan
is a list containing at least the following components:
-
la
vector containing the values of lambda for which fan plot is constructed -
bs
matrix of sizep X length(la)
containing the units forming the initial subset for each value of lambda -
Score
a matrix containing the values of the score test for each value of the transformation parameter:1st col = fwd search index;
2nd col = value of the score test in each step of the fwd search for la[1]
...
-
Scorep
matrix containing the values of the score test for positive observations for each value of the transformation parameter.Note: this output is present only if input option
family='YJpn'
orfamily='YJall'
. -
Scoren
matrix containing the values of the score test for negative observations for each value of the transformation parameter.Note: this output is present only if input option 'family' is 'YJpn' or 'YJall'.
-
Scoreb
matrix containing the values of the score test for the joint presence of both constructed variables (associated with positive and negative observations) for each value of the transformation parameter. In this case the reference distribution is theF
with 2 andsubset_size - p
degrees of freedom.Note: this output is present only if input option
family='YJall'
. -
Un
a three-dimensional array containinglength(la)
matrices of sizeretnUn=(n-init) X retpUn=11
. Each matrix contains the unit(s) included in the subset at each step in the search associated with the corresponding element ofla
.REMARK: at each step the new subset is compared with the old subset.
Un
contains the unit(s) present in the new subset but not in the old one.
Examples
## Not run:
data(wool)
XX <- wool
y <- XX[, ncol(XX)]
X <- XX[, 1:(ncol(XX)-1), drop=FALSE]
out <- fsrfan(X, y)
class(out)
summary(out)
## End(Not run)