Re: [R] glm predict issue

2011-12-26 Thread Giovanni Azua
Hi Ben, Yes thanks you are right, I was able to fix it but first I had to fix the data frame over which I built my model to use numeric for those and then making the grid values also numeric it finally worked thanks! Thank you for your help! Best regards, Giovanni On Dec 26, 2011, at 4:57 PM,

Re: [R] glm predict issue

2011-12-26 Thread Ben Bolker
Giovanni Azua gmail.com> writes: > > Hello, > > I have tried reading the documentation and googling for the answer but reviewing the online matches I end up > more confused than before. > > My problem is apparently simple. I fit a glm model (2^k experiment), and then I would like to predict th

Re: [R] glm predict issue

2011-12-26 Thread Weidong Gu
Hi, This might be due to the fact that factor levels are arbitary unless they are ordinal, even that quantitative relationships between levels are unclear. Therefore, the model has no way to predict unseen factor levels. Does it make sense to treat 'No_databases' as numeric instead of a factor va

[R] glm predict issue

2011-12-26 Thread Giovanni Azua
Hello, I have tried reading the documentation and googling for the answer but reviewing the online matches I end up more confused than before. My problem is apparently simple. I fit a glm model (2^k experiment), and then I would like to predict the response variable (Throughput) for unseen fact