Re: [R] intercept in multiple regression

2007-11-30 Thread Bernardo Rangel Tura
On Tue, 2007-11-20 at 16:39 +0100, Irene Mantzouni wrote: > Hi all! > > Is it possible to model a multiple regression in which the response becomes > zero when one of the two covariates is zero? > lm(y~ x1+x2) and y=0 if x1=0. > However, when x1=0, y=x2+1(intercept). > Does this mean I cann

[R] intercept in multiple regression

2007-11-20 Thread Irene Mantzouni
Hi all! Is it possible to model a multiple regression in which the response becomes zero when one of the two covariates is zero? lm(y~ x1+x2) and y=0 if x1=0. However, when x1=0, y=x2+1(intercept). Does this mean I cannot have a second covariate and intercept or should I eliminate only the