Description Usage Arguments Value See Also Examples
This function outputs the variable selection results from either one-stage algorithm or two-stage algorithm.
1 2 3 4 5 6 7 |
x |
Independent variables, can be a |
y |
Dependent variable, can be a |
stage |
Algorithm indicator. 1 denotes the one-stage algorithm and
2 denotes the two-stage algorithm. Default is 2. When |
family |
A description of the error distribution and link function to be
used in the model. It can take the value of |
gvif |
A logical operator indicating whether a generalized variance inflation factor-adjusted null bound is used. Default is FALSE. See Fox (1992) doi: 10.1080/01621459.1992.10475190 for more details on how to calculate GVIF |
A list of following components:
A vector of indices of selected variables
A vector of labels of selected variables
lambda
selected by generalized information criterion in the two-stage algorithm. NULL
for the one-stage algorithm
Input data x
Input data y
family
from the input
stage
from the input
Null bound in the SGPV screening
Point estimates in the candidate set
Lower bounds of CI in the candidate set
Upper bounds of CI in the candidate set
print.sgpv()
prints the variable selection results
coef.sgpv()
extracts coefficient estimates
summary.sgpv()
summarizes the OLS outputs
predict.sgpv()
predicts the outcome
plot.sgpv()
plots variable selection results
1 2 3 4 5 6 7 8 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.