evidence(x, y, type = c("AIC", "AICc", "BIC"))
AIC, AICc or BIC
.x
being more likely than the second model y
. If large, first model is better. If small, second model is better.## compare two four-parameter and five-parameter
## log-logistic models
m1 <- pcrfit(reps, 1, 2, l4)
m2 <- pcrfit(reps, 1, 2, l5)
evidence(m2, m1)
## ratio of two AIC's
evidence(-120, -123)
Run the code above in your browser using DataLab