search for: nbad

Displaying 1 result from an estimated 1 matches for "nbad".

Did you mean: bad
2009 Jun 22
1
How to make try to catch warnings in logistic glm
...9;d like to catch: Warning in glm.fit(x = X, y = Y, weights = weights, start = start, etastart = etastart, ?: ?algorithm did not converge Warning in glm.fit(x = X, y = Y, weights = weights, start = start, etastart = etastart, ?: ?fitted probabilities numerically 0 or 1 occurred script ngood<-28 nbad<-21 resmat<-"DFr" j<-0 nsim<-100 res<-matrix(NA, nrow=nsim, ncol=6) ow <- options("warn") options(warn= 1) outcome<-rep(c("G","B"), times=c(ngood, nbad)) outcome<-as.factor(outcome) agood<-rep(c(0,1), times=c(27,1)) abad<-rep(c(0...