Skip to content
Prev 273593 / 398506 Next

anova.rq {quantreg) - Why do different level of nesting changes the P values?!

Hi Tal,
you are comparing different things. The "Details"-section of ?anova.qr
states "test the hypothesis that smaller models are adequate relative to
the largest specified model". So in your first anova you compare fit2
with fit1 and fit0, in your second attempt fit1 with fit0, so you have
different "base"-models to compare with, and consequently different
p-values.

hth.

Am 06.10.2011 10:05, schrieb Tal Galili: