rhobit(VGAM)
rhobit()所属R语言包:VGAM
Rhobit Link Function
Rhobit链接功能
译者:生物统计家园网 机器人LoveR
描述----------Description----------
Computes the rhobit link transformation, including its inverse and the first two derivatives.
计算的rhobit的链接的改造,包括它的逆和前两个衍生工具。
用法----------Usage----------
rhobit(theta, earg = list(), inverse = FALSE, deriv = 0,
short = TRUE, tag = FALSE)
参数----------Arguments----------
参数:theta
Numeric or character. See below for further details.
数字或字符。请参阅下面进一步的细节。
参数:earg
Optional list. Extra argument for passing in additional information. Values of theta which are less than or equal to -1 can be replaced by the bminvalue component of the list earg before computing the link function value. Values of theta which are greater than or equal to 1 can be replaced by the bmaxvalue component of the list earg before computing the link function value. See Links for general information about earg.
可选列表。额外的信息传递额外的参数。 theta的值是小于或等于-1bminvalue组件的列表可以被替换earg计算链接函数值之前。 theta是大于或等于1的值,可以由bmaxvalue组件的列表替换earg计算链接函数值之前。见Links的一般信息,关于earg。
参数:inverse
Logical. If TRUE the inverse function is computed.
逻辑。如果TRUE的逆函数计算。
参数:deriv
Order of the derivative. Integer with value 0, 1 or 2.
订购的衍生工具。值0,1或2的整数,带。
参数:short
Used for labelling the blurb slot of a vglmff-class object.
用于标签blurb插槽的vglmff-class对象。
参数:tag
Used for labelling the linear/additive predictor in the initialize slot of a vglmff-class object. Contains a little more information if TRUE.
用于标注线性/对添加剂的预测在initialize插槽的vglmff-class对象。如果TRUE包含了一些信息。
Details
详细信息----------Details----------
The rhobit link function is commonly used for parameters that lie between -1 and 1. Numerical values of theta close to -1 or 1 or out of range result in Inf, -Inf, NA or NaN. The arguments short and tag are used only if theta is character.
常用的参数介于rhobit和-11链接功能。数值theta-1或1或范围Inf,-Inf,NA或NaN 。的参数short和tag只有theta是字符。
值----------Value----------
For deriv = 0, the rhobit of theta, i.e., log((1 + theta)/(1 - theta)) when inverse = FALSE, and if inverse = TRUE then (exp(theta) - 1)/(exp(theta) + 1).
对于deriv = 0,theta,即的rhobit log((1 + theta)/(1 - theta))inverse = FALSE,并如果inverse = TRUE(exp(theta) - 1)/(exp(theta) + 1)的。
For deriv = 1, then the function returns d theta / d eta as a function of theta if inverse = FALSE, else if inverse = TRUE then it returns the reciprocal.
对于deriv = 1,则该函数返回Dtheta / Deta的函数,theta如果inverse = FALSE如果inverse = TRUE然后它返回的倒数。
注意----------Note----------
Numerical instability may occur when theta is close to -1 or 1. One way of overcoming this is to use earg.
数值可能会出现不稳定时theta是-1或1。克服这一点的方法之一是使用earg。
The correlation parameter of a standard bivariate normal distribution lies between -1 and 1, therefore this function can be used for modelling this parameter as a function of explanatory variables.
一个标准二元正态分布的相关参数介乎-1和1,因此,此功能可以用于此参数建模作为解释变量的函数。
The link function rhobit is very similar to fisherz, e.g., just twice the value of fisherz.
链接功能rhobit是非常相似fisherz的,例如,刚值的两倍fisherz。
(作者)----------Author(s)----------
Thomas W. Yee
参考文献----------References----------
http://www.stat.auckland.ac.nz/~yee contains further information and examples.
参见----------See Also----------
Links, binom2.rho, fisherz.
Links,binom2.rho,fisherz。
实例----------Examples----------
theta = seq(-0.99, 0.99, by=0.01)
y = rhobit(theta)
## Not run: [#不运行:]
plot(theta, y, type="l", las=1, ylab="", main="rhobit(theta)")
abline(v=0, h=0, lty=2)
## End(Not run)[#(不执行)]
x = c(seq(-1.02, -0.98, by=0.01), seq(0.97, 1.02, by=0.01))
rhobit(x) # Has NAs[有来港定居]
rhobit(x, earg=list(bminvalue= -1 + .Machine$double.eps,
bmaxvalue= 1 - .Machine$double.eps)) # Has no NAs[有没有来港定居]
转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。
注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|