coefs.plsRbetanp: Coefficients for bootstrap computations of PLSBeta models

View source: R/coefs.plsRbetanp.R

coefs.plsRbetanpR Documentation

Coefficients for bootstrap computations of PLSBeta models

Description

A function passed to boot to perform bootstrap.

Usage

coefs.plsRbetanp(
  dataRepYtt,
  ind,
  nt,
  modele,
  family = NULL,
  method = "logistic",
  link = NULL,
  link.phi = NULL,
  type = "ML",
  verbose = TRUE,
  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

method

method for beta regression

link

link for beta regression

link.phi

link.phi for beta regression

type

type of estimates

verbose

should info messages be displayed ?

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

Value

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

Note

~~some notes~~

Author(s)

Frédéric Bertrand
frederic.bertrand@utt.fr
https://fbertran.github.io/homepage/

See Also

See also bootplsbeta

Examples


data("GasolineYield",package="betareg")
bootplsbeta(plsRbeta(yield~.,data=GasolineYield,nt=3, modele="pls-beta"), typeboot="fmodel_np", 
R=250, statistic=coefs.plsRbetanp)


plsRbeta documentation built on March 31, 2023, 11:01 p.m.