In recent months, IDV has taken steps to incorporate the powerful statistical engine, R, as a viable connection to Visual Fusion. R has a robust and growing set of libraries and a community that is constantly thumping away on improvements. ...

R news and tutorials contributed by (552) R bloggers

Estimating a proportion at first looks elementary. Hail to aymptotics, right? Well, initially it might seem efficient to iuse the fact that . In other words the classical confidence interval relies on the inversion of Wald’s test. A function to ease the computation is the following (not really needed!).waldci<- function(x,n,level){ phat<-sum(x)/n results<-phat + c(-1,1)*qnorm(1-level/2)*sqrt(phat*(1-phat)/n) print(results) }An exact confidence interval is