Description Usage Arguments Details Value Author(s) References See Also Examples
Predict categorical responses on new vector data given the fitted DSDA/MSDA model input.
1 2 |
object |
Fitted model object from |
newx |
The matrix of new values for |
z |
Input training covariates matrix. |
ztest |
Input testing covariates matrix. |
gamma |
Coefficients of covariates obtained from |
... |
Other arguments that can be passed to |
The function fits LDA model on selected discriminant vectors. Call predict
or predict.msda
to perform prediction. When covariates exist, users could first call adjvec
to make adjustment and obtain obtain gamma
. The fitted model from msda
should also takes adjusted vector as input. The newx
in predict.msda
shoudl be adjusted vector as well.
Predicted class label(s) at the entire sequence of the penalty parameter lambda
used to create the model.
Yuqing Pan, Qing Mai, Xin Zhang
Mai, Q., Zou, H. and Yuan, M. (2012), "A direct approach to sparse discriminant analysis in ultra-high dimensions." Biometrica, 99, 29-42.
Mai, Q., Yang, Y., and Zou, H. (2017), "Multiclass sparse discriminant analysis." Statistica Sinica, in press.
Pan, Y., Mai, Q., and Zhang, X. (2018), "Covariate-Adjusted Tensor Classification in High-Dimensions." Journal of the American Statistical Association, accepted.
1 2 3 4 5 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.