anova.negbin(MASS)
anova.negbin()所属R语言包:MASS
Likelihood Ratio Tests for Negative Binomial GLMs
为负二项分布GLMs的可能性比检验
译者:生物统计家园网 机器人LoveR
描述----------Description----------
Method function to perform sequential likelihood ratio tests for Negative Binomial generalized linear models.
方法函数来执行序贯似然比检验为负二项分布的广义线性模型。
用法----------Usage----------
## S3 method for class 'negbin'
anova(object, ..., test = "Chisq")
参数----------Arguments----------
参数:object
Fitted model object of class "negbin", inheriting from classes "glm" and "lm", specifying a Negative Binomial fitted GLM. Typically the output of glm.nb().
拟合模型对象类"negbin",从类继承"glm"和"lm",指定一个负二项分布拟合的GLM。通常情况下,glm.nb()输出。
参数:...
Zero or more additional fitted model objects of class "negbin". They should form a nested sequence of models, but need not be specified in any particular order.
零个或多个其他类"negbin"拟合模型对象。他们应该形成一个嵌套序列模型,但需要在指定任何特定的顺序。
参数:test
Argument to match the test argument of anova.glm. Ignored (with a warning if changed) if a sequence of two or more Negative Binomial fitted model objects is specified, but possibly used if only one object is specified. </table>
testanova.glm参数相匹配的参数。忽略(如果改变警告)如果指定了两个或两个以上的负二项分布拟合模型对象序列,但如果只指定了一个对象可能使用。 </ TABLE>
Details
详情----------Details----------
This function is a method for the generic function anova() for class "negbin". It can be invoked by calling anova(x) for an object x of the appropriate class, or directly by calling anova.negbin(x) regardless of the class of the object.
这个函数是一个泛型函数anova()类"negbin"方法。它可以通过调用调用anova(x)对象x适当的类,或直接致电anova.negbin(x)不管对象的类。
注意----------Note----------
If only one fitted model object is specified, a sequential analysis of deviance table is given for the fitted model. The theta parameter is kept fixed. If more than one fitted model object is specified they must all be of class "negbin" and likelihood ratio tests are done of each model within the next. In this case theta is assumed to have been re-estimated for each model.
如果只有一个拟合模型对象指定,越轨表的序列分析给出的拟合模型。 theta参数保持固定。如果指定一个以上的拟合模型对象,他们都必须是类的"negbin"和似然比测试的每个模型在未来完成。在这种情况下theta假设已为每个模型重新估计。
参考文献----------References----------
Modern Applied Statistics with S. Fourth edition. Springer.
参见----------See Also----------
glm.nb, negative.binomial, summary.negbin
glm.nb,negative.binomial,summary.negbin
举例----------Examples----------
m1 <- glm.nb(Days ~ Eth*Age*Lrn*Sex, quine, link = log)
m2 <- update(m1, . ~ . - Eth:Agern:Sex)
anova(m2, m1)
anova(m2)
转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。
注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|