search for: baic

Displaying 7 results from an estimated 7 matches for "baic".

Did you mean: aic
2009 Apr 30
1
stepAICc
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.
2009 May 05
0
stepAICc function (based on MASS:::stepAIC.default)
...st", steps) if (!is.null(keep)) keep.list <- vector("list", steps) if (is.list(object) && (nmm <- match("nobs", names(object), 0)) > 0) n <- object[[nmm]] else n <- length(residuals(object)) fit <- object bAIC<- extractAIC(fit, scale, k = k, ...) edf <- bAIC[1L] #extracts the number of parameters, k=edf bAIC <- bAIC[2L]+((2*edf*(edf+1))/(n-edf-1)) if (is.na(bAIC)) stop("AICc is not defined for this model, so stepAIC cannot proceed") nm <- 1 Terms <-...
2007 May 09
1
step() in sink() and Sweave()
Dear developers, I just noticed that step() function currently prints the current model using message(), but the resulting model using print(). The relevant commands within the step() body are: if (trace) message("Start: AIC=", format(round(bAIC, 2)), "\n", cut.string(deparse(as.vector(formula(fit)))), "\n") (with example() output:) Start: AIC=190.69 Fertility ~ Agriculture + Examination + Education + Catholic + Infant.Mortality And later: if (trace) print(aod[o, ]) (with example() output:)...
2008 May 13
1
R help: problems with step function
...m additions Model: pheno.dat ~ rs13479085 + rs13480057 + rs13482096 + rs8254221 Df Deviance AIC <none> 233.82 841.18 rs13480057:rs13475933 6 215.95 851.12 (***) Another problem is that the final model seems to be the first model that satisfies (bAIC >= AIC + 1e-07) if steps haven't used up, rather than the one before that. Please see below. > formula(step2.bic.out) pheno.dat ~ rs13479085 + rs13480057 + rs13482096 + rs8254221 + rs13482096:rs13483699 > step2.bic.out$anova Step Df Deviance Resid. Df Resid. Dev AIC 1 N...
2007 May 15
0
step in Sweave
...Sweave document which demonstrates the usage of step() function. With current R version 2.5.0 the step() function was changed so that the heading of trace=TRUE output for each model is printed using command message(): if (trace) message("\nStep: AIC=", format(round(bAIC, 2)), "\n", cut.string(deparse(as.vector(formula(fit)))), "\n") And the actual models concerned with true blue print(): if (trace) print(aod[o, ]) The problem here is that these parts go to different places: messa...
2008 May 14
0
Problems with step function
...m additions Model: pheno.dat ~ rs13479085 + rs13480057 + rs13482096 + rs8254221 Df Deviance AIC <none> 233.82 841.18 rs13480057:rs13475933 6 215.95 851.12 (***) Another problem is that the final model seems to be the first model that satisfies (bAIC >= AIC + 1e-07) if steps haven't used up, rather than the one before that. Please see below. > formula(step2.bic.out) pheno.dat ~ rs13479085 + rs13480057 + rs13482096 + rs8254221 + rs13482096:rs13483699 > step2.bic.out$anova Step Df Deviance Resid. Df Resid. Dev AIC 1 N...
2009 Jun 25
9
WINE install of Dreamweaver MX fails
Hello. I'm new to this forum. Before I posted this, I did due diligence searching for an answer to my problem. I found and tried 2 possibles; but neither would work for me. First my machine specs: 64 machine dual boot between WinXP and Ubuntu Janty Jackalope 9.04. When I used Hardy Heron 8.04 last year, I was able to install Version 7.0 of Dreamweaver MX on a fluke.. I still don't know