Description Usage Arguments Details Value References Examples
View source: R/cross_val_pfc.R
Computes the dimension of the sufficient reduction subspace by cross-validation
1 | cross_val_pfc(X, Fy, dmax, aux, grafico = TRUE)
|
X |
vector of response variables in the inverse model |
Fy |
vector of covariates in the inverse problem, vector containing functions of the response variable in the original problem |
dmax |
maximum value of the dimension to be evaluated |
aux |
list containing the constants for the tau-scale |
grafico |
a logical, if TRUE, shows graphs of the Cross-Validation function versus dimension |
The dimension of the reduction subspace, using both maximum likelihood and robust tau estimators to select is computed using five fold cross validation for the PFC model. See Bergesio et al. (2020).
Computes standard deviations of both objective functions and gives back the smaller value that satisfies the one standard deviation rule from the minimum. See Hastie et al. (2009)
List with the following components
d.crossval.ml |
dimension selected by cross-validation using ML estimator |
obj.ml |
objective function values for the ML estimator, for values of d between 0 and |
obj.ml.sd |
standard deviation of the objective function for the ML estimator, for values of d between 0 and |
d.crossval.rob |
dimension selected by cross-validation using tau estimator |
obj.rob |
objective function values for the robust estimator |
obj.rob.sd |
standard deviation of the objective function for the robust estimator |
...
Hastie, T., Tibshirani, R., Friedman, J. H. (2009). The elements of statistical learning: data mining, inference, and prediction. 2nd. ed. New York: Springer.
Bergesio, A., Szretter Noste, M. E. and Yohai, V. J. (2020). A robust proposal of estimation for the sufficient dimension reduction problem
1 2 3 4 5 6 7 8 9 10 11 12 13 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.