unable to use a factor in linear regression
Posted: Sun Jul 21, 2019 8:01 pm
I'm receiving an error message: "contrasts can be applied only to factors with 2 or more levels"
However, I'm using a factor that has 2 levels, and I verified that there are several observations in each. Unfortunately, this is with proprietary data for consulting work, so I can't share the data file. I've tried to show the relevant information in the attached screen shot. Any ideas about what I'm doing wrong, or is this a bug?
However, I'm using a factor that has 2 levels, and I verified that there are several observations in each. Unfortunately, this is with proprietary data for consulting work, so I can't share the data file. I've tried to show the relevant information in the attached screen shot. Any ideas about what I'm doing wrong, or is this a bug?