Extracts and computes information criteria and fits statistics for kfold cross validated partial least squares beta regression models
Extracts and computes information criteria and fits statistics for kfold cross validated partial least squares beta regression models
This function extracts and computes information criteria and fits statistics for kfold cross validated partial least squares beta regression models for both formula or classic specifications of the model.
kfolds2CVinfos_beta(pls_kfolds, MClassed =FALSE)
Arguments
pls_kfolds: an object computed using PLS_beta_kfoldcv
MClassed: should number of miss classed be computed
Returns
list: table of fit statistics for first group partition
list(): ... - list: table of fit statistics for last group partition
Details
The Mclassed option should only set to TRUE if the response is binary.
Examples
## Not run:data("GasolineYield",package="betareg")bbb <- PLS_beta_kfoldcv_formula(yield~.,data=GasolineYield,nt=3,modele="pls-beta")kfolds2CVinfos_beta(bbb)## End(Not run)