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 intercept?
 
thank you!

______________________________________________
R-help@r-project.org 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.

Reply via email to