找回密码
 注册
查看: 1503|回复: 0

R语言 segmented包 seg.lm.fit()函数中文帮助文档(中英文对照)

  [复制链接]
发表于 2012-9-30 00:22:58 | 显示全部楼层 |阅读模式
seg.lm.fit(segmented)
seg.lm.fit()所属R语言包:segmented

                                         Fitter Functions for Segmented Linear Models
                                         钳工函数分段线性模型

                                         译者:生物统计家园网 机器人LoveR

描述----------Description----------

seg.lm.fit is called by segmented.lm to fit segmented linear  (gaussian) models.  Likewise seg.glm.fit is called by segmented.glm to fit   generalized segmented linear models. seg.lm.fit.boot and seg.glm.fit.boot are employed to perform bootstrap restart. These functions should usually not be used directly by the user.
seg.lm.fit被称为segmented.lm,以适应分段线性模型(高斯)。同样seg.glm.fit被称为segmented.glm,以适应广义的分段线性模型。 seg.lm.fit.boot和seg.glm.fit.boot是用来进行引导重启。这些功能应该通常不直接使用由用户提供。


用法----------Usage----------


seg.lm.fit(y, XREG, Z, PSI, w, offs, opz, return.all.sol=FALSE)

seg.lm.fit.boot(y, XREG, Z, PSI, w, offs, opz, n.boot=10,
    size.boot=NULL, jt=FALSE, nonParam=TRUE, random=FALSE)

seg.glm.fit(y, XREG, Z, PSI, w, offs, opz, return.all.sol=FALSE)

seg.glm.fit.boot(y, XREG, Z, PSI, w, offs, opz, n.boot=10,
    size.boot=NULL, jt=FALSE, nonParam=TRUE, random=FALSE)



参数----------Arguments----------

参数:y
vector of observations of length n.  
向量的长度n观察。


参数:XREG
design matrix for standard linear terms.  
设计矩阵为标准线性条款。


参数:Z
appropriate matrix including the segmented variables whose breakpoints have to be estimated.  
合适的基质,包括分段变量断点必须要预测的。


参数:PSI
appropriate matrix including the starting values of the breakpoints to be estimated.  
合适的基质,包括初始值以进行估计的断点。


参数:w
possibe weights vector.  
possibe的权重向量。


参数:offs
possibe offset vector.  
possibe偏移向量。


参数:opz
a list including information useful for model fitting.  
一个列表,其中包括模型拟合有用的信息。


参数:n.boot
the number of bootstrap samples employed in the bootstrap restart algorithm.  
重新启动的bootstrap样本数量在引导算法。


参数:size.boot
the size of the bootstrap resamples. If NULL (default), it is taken equal to the sample size. values smaller than the sample size are expected to increase perturbation in the bootstrap resamples.  
大小自举重新采样。 NULL如果(默认),它取的样本大小。小于样本大小的值,预计,增加扰动在引导重新采样。


参数:jt
logical. If TRUE the values of the segmented variable(s) are jittered before fitting the model to the bootstrap resamples.  
逻辑。如果TRUE分段变量的值(S)抖动,拟合模型前的引导重新采样。


参数:nonParam
if TRUE nonparametric bootstrap (i.e. case-resampling) is used, otherwise residual-based.  
如果TRUE非参数自举(即情况下,重采样),否则剩余。


参数:random
if TRUE, when the algorithm fails to obtain a solution, random values are used as candidate values.  
如果TRUE,该算法失败时,得到一种溶液,随机值作为候选值。


参数:return.all.sol
if TRUE, when the algorithm fails to obtain a solution, the values visited by the algorithm with corresponding deviances are returned.  
如果TRUE,该算法失败时,得到一种溶液,的值由与相应deviances算法访问返回。


Details

详细信息----------Details----------

The functions call iteratively lm.wfit (or glm.fit) with proper design matrix depending on  XREG, Z and PSI. seg.lm.fit.boot implements the bootstrap restarting idea discussed in Wood (2001).
函数调用迭代lm.wfit(glm.fit)根据XREG,Z和PSI适当的设计矩阵。 seg.lm.fit.boot实现了自举木(2001)在讨论重新启动的想法。


值----------Value----------

A list of fit information.
合适的信息列表。


注意----------Note----------

These functions should usually not be used directly by the user.
这些功能应该通常不直接使用由用户提供。


(作者)----------Author(s)----------


Vito Muggeo



参考文献----------References----------



参见----------See Also----------

segmented.lm, segmented.glm
segmented.lm,segmented.glm


实例----------Examples----------


##See ?segmented[#看到了吗?分割]

转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。


注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

手机版|小黑屋|生物统计家园 网站价格

GMT+8, 2025-5-13 04:28 , Processed in 0.025762 second(s), 16 queries .

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

快速回复 返回顶部 返回列表