permcoefs.plsRbetanp function

Coefficients for permutation bootstrap computations of PLSBeta models

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 )

Arguments

  • dataRepYtt: components' coordinates to bootstrap
  • ind: indices for resampling
  • nt: number of components to use
  • modele: type of modele to use, see plsRbeta
  • family: glm family to use, see plsRbeta
  • maxcoefvalues: maximum values allowed for the estimates of the coefficients to discard those coming from singular bootstrap samples
  • wwetoile: values of the Wstar matrix in the original fit
  • ifbootfail: value to return if the estimation fails on a bootstrap sample

Returns

estimates on a bootstrap sample or ifbootfail value if the bootstrap computation fails.

Note

some notes

Examples

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

See also bootplsbeta

Author(s)

Frédéric Bertrand

frederic.bertrand@utt.fr

https://fbertran.github.io/homepage/