On Fri, Jan 07, 2005 at 05:14:29PM +0100, Peter Dalgaard wrote:
> "Gudrun Jonasdottir" <[EMAIL PROTECTED]> writes:
>
> > Dear R-help list members,
> >
> > I am currently trying to fit a generalized linear model using a binomial
> > with the canonical link. The usual solution is to use the R funct
On Fri, 7 Jan 2005, Gudrun Jonasdottir wrote:
I am currently trying to fit a generalized linear model using a binomial
with the canonical link. The usual solution is to use the R function glm()
in the package "stats". However, I run into problem when I want to fit a
glm without an intercept. It is
As in any modelling situation in R or S, to suppress the
intercept you simply put a ``-1'' in the formula. E.g.:
fit <- glm(y~x-1,family=binomial)
cheers,
Rolf Turner
[EMAIL PROTECTED]
"Gudrun Jonasdottir" <[EMAIL PROTECTED]> writes:
> Dear R-help list members,
>
> I am currently trying to fit a generalized linear model using a binomial
> with the canonical link. The usual solution is to use the R function glm()
> in the package "stats". However, I run into problem when I want
nuary 07, 2005 3:40 PM
Subject: [R] glm fit with no intercept
Dear R-help list members,
I am currently trying to fit a generalized linear model using a
binomial
with the canonical link. The usual solution is to use the R function
glm()
in the package "stats". However, I run into problem w
Dear R-help list members,
I am currently trying to fit a generalized linear model using a binomial
with the canonical link. The usual solution is to use the R function glm()
in the package "stats". However, I run into problem when I want to fit a
glm without an intercept. It is indicated that the