Dear all,
I have tried to modify the code of MASS:::stepAIC.default(), dropterm() and
addterm() to use AICc instead of AIC for model selection.
The code is appended below. Somehow the calculations are still not correct and
I would be grateful if anyone could have a look at what might be wrong
w
keep <- sapply(strsplit(nmadd, ":", fixed = TRUE),
function(x){
whereMarginal <- match(x, names(marginal))
if(!all(is.na(whereMarginal))){
if(length(x) == 1){
Dear R users,
Would it be difficult to change the code of stepAIC (from the MASS
library) to use AICc instead of AIC?
It would be great to know of someone has tried this already.
Best wishes
Christoph.
__
R-help@r-project.org mailing list
https://stat
3 matches
Mail list logo