Skip to content
Prev 255528 / 398506 Next

ANCOVA for linear regressions without intercept

See inline.
On 2011-03-31 22:22, Yusuke Fukuda wrote:
You probably want:

  lm(body_length ~ head_length + sex:head_length-1)

or, in short form:

  lm(body_length ~ head_length/sex-1)

You might then compare the model 'without intercepts'
(i.e. with intercepts forced to zero) with a model that
includes intercepts. If the intercepts turn out to
be significantly nonzero, what will you do?

Peter Ehlers