Skip to content
Prev 5681 / 398506 Next

truncated regressor

At 12:29 15/05/00 +0200, Peter Dalgaard wrote:
You are right. I was misled by the fact that

  lm(y ~ as.factor(x < 25))

and

  lm(y ~ x < 25)

give the same result.


Emmanuel Paradis
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._