negative.binomial(MASS)
negative.binomial()所属R语言包:MASS
Family function for Negative Binomial GLMs
负二项分布GLMs家庭功能
译者:生物统计家园网 机器人LoveR
描述----------Description----------
Specifies the information required to fit a Negative Binomial generalized linear model, with known theta parameter, using glm().
指定所需的信息,以适应负二项式的广义线性模型,称为theta参数,使用glm()。
用法----------Usage----------
negative.binomial(theta = stop("'theta' must be specified"), link = "log")
参数----------Arguments----------
参数:theta
The known value of the additional parameter, theta.
额外的参数,theta已知值。
参数:link
The link function, as a character string, name or one-element character vector specifying one of log, sqrt or identity, or an object of class "link-glm".
链接功能,指定为一个字符串,名称或一个元素特征向量log,sqrt或identity,或对象类"link-glm"。
值----------Value----------
An object of class "family", a list of functions and expressions needed by glm() to fit a Negative Binomial generalized linear model.
一个类的对象"family",需要的功能和表达的列表glm()符合负二项式的广义线性模型。
参考文献----------References----------
Modern Applied Statistics with S-PLUS. Third Edition. Springer.
参见----------See Also----------
glm.nb, anova.negbin, summary.negbin
glm.nb,anova.negbin,summary.negbin
举例----------Examples----------
# Fitting a Negative Binomial model to the quine data[奎因数据拟合负二项分布模型]
# with theta = 2 assumed known.[θ= 2假设已知。]
#[]
glm(Days ~ .^4, family = negative.binomial(2), data = quine)
转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。
注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|