Learn R Programming

MASSExtra (version 1.2.2)

default_test: Guess the default test

Description

Find an appropriate test to use in dropterm if not specified

Usage

default_test(object)

# S3 method for default default_test(object)

# S3 method for negbin default_test(object)

# S3 method for lmerMod default_test(object)

# S3 method for glmerMod default_test(object)

# S3 method for multinom default_test(object)

# S3 method for polr default_test(object)

# S3 method for glm default_test(object)

# S3 method for lm default_test(object)

Value

A character string, one of "F", "Chisq", or "none"

Arguments

object

a fitted model object accommodated by dropterm

Examples

Run this code
fm <- glm.nb(Days ~ .^3, quine)
default_test(fm)

Run the code above in your browser using DataLab