fsrfan.object | R Documentation |
fsrfan
An object of class fsrfan.object
holds information about
the result of a call to fsrfan
.
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 size p 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'
or family='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 the F
with 2 and subset_size - p
degrees of freedom.
Note: this output is present only if input option family='YJall'
.
Un
a three-dimensional array containing length(la)
matrices of
size retnUn=(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 of la
.
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.
## 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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.