Coefficients for permutation bootstrap computations of PLSBeta models
A function passed to boot
to perform bootstrap.
permcoefs.plsRbetanp( dataRepYtt, ind, nt, modele, family = NULL, maxcoefvalues, wwetoile, ifbootfail )
dataRepYtt
: components' coordinates to bootstrapind
: indices for resamplingnt
: number of components to usemodele
: type of modele to use, see plsRbetafamily
: glm family to use, see plsRbetamaxcoefvalues
: maximum values allowed for the estimates of the coefficients to discard those coming from singular bootstrap sampleswwetoile
: values of the Wstar matrix in the original fitifbootfail
: value to return if the estimation fails on a bootstrap sampleestimates on a bootstrap sample or ifbootfail
value if the bootstrap computation fails.
some notes
data("GasolineYield",package="betareg") modplsbeta <- plsRbeta(yield~.,data=GasolineYield,nt=3, modele="pls-beta") bootplsbeta(modplsbeta, R=250, statistic=permcoefs.plsRbetanp, typeboot="fmodel_np")
See also bootplsbeta
Frédéric Bertrand
Useful links