anova.cdfqr {cdfquantreg} | R Documentation |
Likelihood Ratio Tests for fitted cdfqr Objects.
## S3 method for class 'cdfqr'
anova(object, ..., test = "LRT")
object |
The fitted cdfqr model. |
... |
One or more cdfqr model objects for model comparison. |
test |
The model comparison test, currently only 'LRT' is implemented. |
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)