search for: dmi_kg

Displaying 1 result from an estimated 1 matches for "dmi_kg".

Did you mean: dikg
2008 Jun 09
1
Cross-validation in R
...s in my homemade version I only use the "test" database. I am confused if the cv.glm generates new glm models for each simulation of if it uses the one provided? (3) is the cv.glm sampling using replacement = TRUE or not? Thanks in advance. LOT ***** cv.glm method glm0.dmi<-glm(DMI_kg~Sex+DOF+Avg_Nem+In_Wt) # Simulation for 50 re-samplings... perr1.vect<-vector() for (j in 1:50) { print(j) cv.dmi<-cv.glm(data.dmi, glm0.dmi, K = 10) perr1<-cv.dmi$delta[2] perr1.vect<-c(perr1.vect,perr1) } x11() hist(perr1.vect) mean(perr1.vect) sd(perr1.vect) ***...