search for: rankhigh

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

2012 Jan 19
1
snow - bootstrapped correlation ranking
...5 rhoboot <- array(0, dim=c(p,nboot)) bootranks <- array(0, dim=c(p,nboot)) bootsamples <- array( floor(runif(n*nboot)*n+1), dim=c(n,nboot)) for (i in 1:nboot){ rhoboot[,i] <- cor(y[bootsamples[,i]],x[bootsamples[,i],]) bootranks[,i] <- p+1rank(abs(rhoboot[,i])) } # Summarise results rankhigh = apply(bootranks, 1, quantile, probs=alpha/2) ranklow = apply(bootranks, 1, quantile, probs=1-alpha/2) Patrik Waldmann [[alternative HTML version deleted]]