Skip to content
Prev 243132 / 398500 Next

lm regression

Can you create a small example that replicates your problem?  If not,
at least send the code you are running right before R throws an error
(e.g., the exact call to lm) and some basic information on your data
like the class of each variable and the number of observations.

Is your outcome variable, Y, a factor?  That is what the warning
suggests (model.response extracts the response (outcome, the variable
on the left side of the ~ ) variable from your model.

HTH,

Josh
On Fri, Nov 26, 2010 at 6:06 AM, effeesse <scarpino86 at gmail.com> wrote: