[R] glm.cv delta value?

2008-03-06 Thread ¿½hlbacher
Hi! When I use the glm.cv function I get a value called "delta" which is explained as the "raw cross-validation estimate of prediction error". I recently found a formula for that term in literature where it is defined as: alpha = 1 / N * sum over( yi - yi,pred,CV) Well it is somehow similar to

[R] Multiple linear regression with for loop

2008-02-26 Thread ¿½hlbacher
Hi everyone! I have an array containing the following fields for over hundred compounds: cpd, activity, fixterm, energy1, energy2, energy3, ... I want to run a multiple linear regression on all entries of an array. Therefore I tried to do this with a for loop. (Maybe there is a direct way of c