Skip to content
Prev 32939 / 398503 Next

Regression slopes

No modification needed.  Fit either of

lm(y-x ~ x + z)
lm(y ~ x + z + offset(x))

and the t-test in the summary will be a test of the coefficient of x being 
one.

You can also use such models to do an anova against a modle with unit 
coefficient.
On Thu, 5 Jun 2003, Martin Biuw wrote: