quasipoissonff(VGAM)
quasipoissonff()所属R语言包:VGAM
Quasi-Poisson Family Function
准泊松家庭功能
译者:生物统计家园网 机器人LoveR
描述----------Description----------
Fits a generalized linear model to a Poisson response, where the dispersion parameter is unknown.
适用于广义线性模型的泊松响应,分散参数是未知的。
用法----------Usage----------
quasipoissonff(link = "loge", onedpar = FALSE,
parallel = FALSE, zero = NULL)
参数----------Arguments----------
参数:link
Link function. See Links for more choices.
Link功能。见Links更多的选择。
参数:onedpar
One dispersion parameter? If the response is a matrix, then a separate dispersion parameter will be computed for each response (column), by default. Setting onedpar=TRUE will pool them so that there is only one dispersion parameter to be estimated.
一个分散参数?如果响应是一个矩阵,然后将一个单独的分散体参数计算每个响应(列),默认情况下。设置onedpar=TRUE集中,所以只有一个分散参数进行估计。
参数:parallel
A logical or formula. Used only if the response is a matrix.
一个逻辑或公式。仅用于如果响应是一个矩阵。
参数:zero
An integer-valued vector specifying which linear/additive predictors are modelled as intercepts only. The values must be from the set {1,2,...,M}, where M is the number of columns of the matrix response.
指定一个整数值向量线性/添加剂的预测模型仅作为拦截。这些值必须是从集合{1,2,...,M},其中M是数列的矩阵响应。
Details
详细信息----------Details----------
M defined above is the number of linear/additive predictors.
M上面定义的线性/添加剂预测变量的数目。
If the dispersion parameter is unknown, then the resulting estimate is not fully a maximum likelihood estimate.
如果分散参数是未知的,那么所得到的估计是不完全的最大似然估计。
A dispersion parameter that is less/greater than unity corresponds to under-/over-dispersion relative to the Poisson model. Over-dispersion is more common in practice.
一个的分散参数是小于/大于团结对应under-/over-dispersion相对于泊松模型。过度分散在实践中是比较常见的。
When fitting a Quadratic RR-VGLM, the response is a matrix of M, say, columns (e.g., one column per species). Then there will be M dispersion parameters (one per column of the response matrix).
当安装一个二次RR-VGLM,响应是一个矩阵的M,也就是说,列(例如,每个物种的一列)。然后会出现M的分散参数(每列的响应矩阵)。
值----------Value----------
An object of class "vglmff" (see vglmff-class). The object is used by modelling functions such as vglm, vgam, rrvglm, cqo, and cao.
类的一个对象"vglmff"(见vglmff-class)。该对象被用于建模功能,如vglm,vgam,rrvglm,cqo和cao。
注意----------Note----------
This function will handle a matrix response automatically.
此功能将自动处理矩阵响应。
The call poissonff(dispersion = 0, ...) is equivalent to quasipoissonff(...). The latter was written so that R users of quasipoisson() would only need to add a “ff” to the end of the family function name.
呼叫poissonff(dispersion = 0, ...)是相当于quasipoissonff(...)。后者是使Rquasipoisson()用户只需要添加一个“ff”家庭的功能名称。
Regardless of whether the dispersion parameter is to be estimated or not, its value can be seen from the output from the summary() of the object.
无论是否分散参数是要估计或没有,可以看出,它的值从输出从summary()的对象。
(作者)----------Author(s)----------
Thomas W. Yee
参考文献----------References----------
Generalized Linear Models, 2nd ed. London: Chapman & Hall.
参见----------See Also----------
poissonff, negbinomial, loge, rrvglm, cqo, cao, binomialff, quasibinomialff, quasipoisson.
poissonff,negbinomial,loge,rrvglm,cqo,cao,binomialff,quasibinomialff,quasipoisson。
实例----------Examples----------
quasipoissonff()
## Not run: [#不运行:]
n = 200; p = 5; S = 5
mydata = rcqo(n, p, S, fam="poisson", EqualTol=FALSE)
myform = attr(mydata, "formula")
p1 = cqo(myform, fam=quasipoissonff, EqualTol=FALSE, data=mydata)
sort(p1@misc$deviance.Bestof) # A history of all the iterations[历史上所有的迭代]
lvplot(p1, y=TRUE, lcol=1:S, pch=1:S, pcol=1:S)
summary(p1) # The dispersion parameters are estimated[分散参数估计]
## End(Not run)[#(不执行)]
转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。
注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|