Determine whether models can be compared by AIC. Incompatibility may be due to difference in the data or the specifications of the groups, hcov or binomN arguments to
1 2 3 4
The capthist objects are checked for strict identity with the function
All elements in the output must be TRUE for valid AIC comparison or model averaging using AIC or AICc.
Named logical vector with elements ‘data’, ‘CL’, ‘groups’, ‘hcov’ and ‘binomN’.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
AICcompatible(secrdemo.0, secrdemo.CL) ## Not run: ## A common application of AICcompatible() is to determine ## the compatibility of models fitted with and without the ## fastproximity option. ovenCHp1 <- reduce(ovenCHp, by = 'all', outputdetector = 'count') ob1 <- secr.fit(ovenCHp, buffer = 300, details = list(fastproximity = TRUE)) ob2 <- secr.fit(ovenCHp1, buffer = 300, details = list(fastproximity = FALSE)) ob3 <- secr.fit(ovenCHp1, buffer = 300, details = list(fastproximity = FALSE), binomN = 1) AICcompatible(ob1,ob2) AICcompatible(ob1,ob3) ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.