search for: minsum

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

Did you mean: minnum
2011 Aug 15
0
Indexing Permutation Values
...seq(minx, maxx, incx) miny = 0.0; maxy = 1; incy = 0.05; y = seq(miny, maxy, incy) for (i in x) { for (e in y) { thresholded = calc.probs(i, e) diff <- abs(dat2$choice - Lag(thresholded)) diff = ifelse(is.na(diff), 0, diff) thesum[j] = sum(diff, na.rm = T) j = j + 1 } } minSum = min(thesum) minErr[s] = min(thesum) bestDeltas[s] = min(which(thesum==minSum)) * incx + minx # bestDeltasGammas[s] <- matrix(min(which(thsum==minSum))*inc + min) betterThanChance[s] = sum(pbinom(0:minSum, length(dat2$choice), 0.5)) -- Edward H. Patzelt Research Assistant – TRiCAM Lab Univer...