anova.cdfqr {cdfquantreg}R Documentation

Model comparison test for fitted cdfqr models

Description

Likelihood Ratio Tests for fitted cdfqr Objects.

Usage

## S3 method for class 'cdfqr'
anova(object, ..., test = "LRT")

## S3 method for class 'cdfqrH'
anova(object, ..., test = "LRT")

Arguments

object

The fitted cdfqr model.

...

One or more cdfqr model objects for model comparison.

test

The model comparison test, currently only 'LRT' is implemented.

Examples

data(cdfqrExampleData)
fit_null <- cdfquantreg(crc99 ~ 1 | 1, 't2','t2', data = JurorData)
fit_mod1 <- cdfquantreg(crc99 ~ vert | confl, 't2','t2', data = JurorData)
anova(fit_null, fit_mod1)


[Package cdfquantreg version 1.2.5 Index]