Re: [R] Regression model when dependent variable can only take positive values

2011-12-06 Thread ONKELINX, Thierry
d from a given body of data. ~ John Tukey -Oorspronkelijk bericht- Van: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org] Namens Michael Haenlein Verzonden: dinsdag 6 december 2011 14:09 Aan: r-help@r-project.org Onderwerp: [R] Regression model when dependent variable can o

[R] Regression model when dependent variable can only take positive values

2011-12-06 Thread Michael Haenlein
Dear all, I would like to run a regression of the form lm(y ~ x1+x2) where the dependent variable y can only take positive values. Assume, for example, that y is the height of a person (measured in cm), x1 is the gender (measured as a binary indicator with 0=male and 1=female) and x2 is the age of