glpls1a(gpls)
glpls1a()所属R语言包:gpls
Fit IRWPLS and IRWPLSF model
适合IRWPLS和IRWPLSF模型
译者:生物统计家园网 机器人LoveR
描述----------Description----------
Fit Iteratively ReWeighted Least Squares (IRWPLS) with an option of Firth's bias reduction procedure (IRWPLSF) for two-group classification
适合迭代加权最小二乘(IRWPLS弗斯的偏见减少程序(IRWPLSF)选项为两个组分类)
用法----------Usage----------
glpls1a(X, y, K.prov = NULL, eps = 0.001, lmax = 100, b.ini = NULL,
denom.eps = 1e-20, family = "binomial", link = NULL, br = TRUE)
参数----------Arguments----------
参数:X
n by p design matrix (with no intercept term)
由p的设计矩阵N(无截距项)
参数:y
response vector 0 or 1
响应向量0或1
参数:K.prov
number of PLS components, default is the rank of X
PLS的组件的数量,默认是X的秩
参数:eps
tolerance for convergence
收敛公差
参数:lmax
maximum number of iteration allowed
迭代允许的最大数量
参数:b.ini
initial value of regression coefficients
回归系数的初始值
参数:denom.eps
small quanitity to guarantee nonzero denominator in deciding convergence
小quanitity非零分母,以保证在决定收敛
参数:family
glm family, binomial is the only relevant one here
GLM家庭,binomial是这里唯一有关
参数:link
link function, logit is the only one practically implemented now
链接功能,logit是唯一一个现在切实执行
参数:br
TRUE if Firth's bias reduction procedure is used
TRUE,如果用于弗斯的偏见减少程序
值----------Value----------
参数:coefficients
regression coefficients
回归系数
参数:convergence
whether convergence is achieved
是否达到收敛
参数:niter
total number of iterations
迭代总数
参数:bias.reduction
whether Firth's procedure is used
弗斯的程序是否使用
参数:loading.matrix
the matrix of loadings
载荷矩阵
作者(S)----------Author(s)----------
Beiying Ding, Robert Gentleman
参考文献----------References----------
generalized partial least squares.
estimation for generalized linear regression. Technometrics 38(4): 374-381.
参见----------See Also----------
glpls1a.mlogit, glpls1a.logit.all, glpls1a.train.test.error,
glpls1a.mlogit,glpls1a.logit.all,glpls1a.train.test.error
举例----------Examples----------
x <- matrix(rnorm(20),ncol=2)
y <- sample(0:1,10,TRUE)
## no bias reduction[#没有偏见减少]
glpls1a(x,y,br=FALSE)
## no bias reduction and 1 PLS component[#没有偏见减少1 PLS成分]
glpls1a(x,y,K.prov=1,br=FALSE)
## bias reduction[#偏见减少]
glpls1a(x,y,br=TRUE)
转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。
注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|