A number of alternatives, such as: lm(y ~ 0 + x) lm(y ~ x -1)
See ?formula On 8/23/07, Michal Kneifl <[EMAIL PROTECTED]> wrote: > Please could anyone help me? > How can I fit a linear model where an intercept has no sense? > Thanks in advance.. > > Michael > > ______________________________________________ > R-help@stat.math.ethz.ch mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code. > -- ================================= David Barron Said Business School University of Oxford Park End Street Oxford OX1 1HP ______________________________________________ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.