I'm currently working on a logistic regression analysis and want to determine if my model validates well. I used the following R code using the "boot" package:
results <- glm(R0A1 ~ SeasonNew * (MP_Scaled + MPHW_Scaled + HW_Scaled + YP_Scaled + AG_Scaled + Shrub_Scaled), family = binomial, data = turkey2nd)
cost <- function(r, pi = 0) mean(abs(r - pi ) > 0.5)
(output <- cv.glm(turkey2nd, results, K=10)$delta)
My estimated delta was 0.23; therefore, is the correct classification 1 - 0.23 = 0.77 or 77% accuracy? Thanks for the assistance!