Skip to content
Back to formatted view

Raw Message

Message-ID: <opr1aqrjnfndboo6@mail.bio.ntnu.no>
Date: 2004-01-05T09:46:21Z
From: Ivar Herfindal
Subject: r: lm question
In-Reply-To: <3FF92EBF.59C35255@stats.uct.ac.za>

I think this should work:

lm(y ~ x - 1)

Ivar

On Mon, 05 Jan 2004 11:30:39 +0200, allan clark <allan at stats.uct.ac.za> 
wrote:

> Hi all
>
> this is a silly question since i should know the answer.
>
> lm(y~x) perfroms linear regression with the intercept included.
>
> How  do i estimate the equation without the intercept?
>
> cheers
>
> ______________________________________________
> R-help at stat.math.ethz.ch mailing list
> https://www.stat.math.ethz.ch/mailman/listinfo/r-help
>