阅读背景:

具有分类变量的CVlm:因子有新的水平

来源:互联网 

I am using lm for MLR and CVlm for cross-validation. My data contains two categorical variables (one of them with 11 levels and the other one with only 2). Everything seems to work fine when using lm, the problem is when I try to use CVlm. I have errors because of the factor levels. I read some post about that, although I don't understand very well (for CVlm I am using the same data that for CVlm so, I don't know why this error and how I could handle it). Here, it is a sample of my data:I am using lm for MLR and CVlm for cross-valida




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: