Learn R Programming

gllm (version 0.38)

anova.gllm: Summarize multiple results from gllm

Description

Compare likelihood ratio test statistics from multiple calls to gllm.

Usage

# S3 method for gllm
anova(object, ..., test=c("Chisq","none"))

Value

A list with components:

Model

name of each object being compared

Resid.df

residual degrees of freedom for each model

Deviance

likelihood ratio test statistic for model versus saturated model

Pr.Fit

chi-square based P-value for model

Test

models compared in stepwise testing

Df

degrees of freedom of model comparson

LRtest

likelihood ratio test statistic comparing models

Prob

chi-square based P-value for LRTS

.

Arguments

object

is an object output from gllm.

...

other objects from gllm.

test

evaluate LRTS for model, or nothing.

Author

David L Duffy