confint.segmented(segmented)
confint.segmented()所属R语言包:segmented
Confidence intervals for breakpoints
的置信区间断点
译者:生物统计家园网 机器人LoveR
描述----------Description----------
Computes confidence intervals for the breakpoints in a fitted "segmented" model.
计算置信区间的中断点在装配的“分段”模式。
用法----------Usage----------
## S3 method for class 'segmented'
confint(object, parm, level=0.95, rev.sgn=FALSE, var.diff=FALSE,
digits=max(3, getOption("digits") - 3), ...)
参数----------Arguments----------
参数:object
a fitted segmented object.
一个装有segmented对象。
参数:parm
the segmented variable of interest. If missing all the segmented variables are considered.
分段变量的兴趣。如果被认为是丢失了所有的分段变量。
参数:level
the confidence level required (default to 0.95).
置信水平(默认0.95)。
参数:rev.sgn
vector of logicals. The length should be equal to the length of parm; recycled otherwise. when TRUE it is assumed that the current parm is "minus" the actual segmented variable, therefore the sign is reversed before printing. This is useful when a null-constraint has been set on the last slope.
向量,逻辑值。长度应等于的长度parm;回收,否则。当TRUE,假设当前parm是减去的实际分段变量,因此,该标志在打印前拨回。这是非常有用的,在过去的斜坡上设置了一个空的约束时。
参数:var.diff
logical. If var.diff=TRUE and there is a single segmented variable, the standard error is based on sandwich-type formula of the covariance matrix. See Details in summary.segmented.
逻辑。如果var.diff=TRUE和有一个单一的分段变量,标准误差是根据对夹芯式公式的协方差矩阵。详细,在summary.segmented。
参数:digits
controls the number of digits to print when printing the output.
控制打印时,打印输出的数字位数。
参数:...
additional parameters
额外的参数
Details
详细信息----------Details----------
Currently confint.segmented computes confidence limits for the breakpoints using the standard error coming from the Delta method for the ratio of two random variables. This value is an approximation (slightly) better than the one reported in the "psi" component of the list returned by any segmented method. The resulting confidence intervals are based on the asymptotic Normal distribution of the breakpoint estimator which is reliable just for clear-cut kink relationships. See Details in segmented.
目前confint.segmented的断点使用标准的错误,两个随机变量的比率从Delta法计算的置信区间。这个值是比任何segmented方法返回一个列表中的“防扩散安全倡议”的组成部分,在报告的近似值(略)。的渐近正态分布的断点估计是可靠的,鲜明的扭结关系的基础上产生的置信区间。详细,在segmented。
值----------Value----------
A list of matrices. Each matrix includes point estimate and confidence limits of the breakpoint(s) for each segmented variable in the model.
矩阵的名单。每个矩阵包括点估计和置信限的断点(S)的各分段模型中的变量。
(作者)----------Author(s)----------
Vito M.R. Muggeo
参见----------See Also----------
segmented
segmented
实例----------Examples----------
set.seed(10)
x<-1:100
z<-runif(100)
y<-2+1.5*pmax(x-35,0)-1.5*pmax(x-70,0)+10*pmax(z-.5,0)+rnorm(100,0,2)
out.lm<-lm(y~x)
o<-segmented(out.lm,seg.Z=~x+z,psi=list(x=c(30,60),z=.4))
confint(o)
转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。
注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|