Skip to content
Prev 65902 / 398513 Next

cv.glm {boot}

On Mon, 14 Mar 2005, Trevor Wiens wrote:

            
Cross-validation assumes exchangeability of units.  You can easily write 
your own code (lots of examples in MASS), but first you would need to 
prove the validity of what you are attempting.  For example, dropping 
chunks in the middle of a time series is not valid unless your prediction 
somehow takes the temporal structure into account (and glm does not).