Description Usage Arguments Details Value Author(s) See Also
This function develops a prediction algorithm based on the top 10 features in 'x' that are most predictive of 'y'.
1 | topten(x, y)
|
x |
a n x p matrix of n observations and p predictors |
y |
a vector of length n representing the response |
This function runs a univariate regression of y on each predictor in x and calculates a p-value indicating the significance of the association. The final set of 10 predictors is taken from 10 smallest p-values.
a vector of coefficients from the final model with top 10 features
Jean Marie Cimula
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.