Send output to:
Browser Blue - Charts White
Browser Black/White
CSV
Data X:
2 210907 79 30 94 112285 4 179321 108 30 103 101193 0 149061 43 26 93 116174 0 237213 78 38 123 66198 -4 173326 86 44 148 71701 4 133131 44 30 90 57793 4 258873 104 40 124 80444 0 324799 158 47 168 97668 -1 230964 102 30 115 133824 0 236785 77 31 71 101481 1 344297 80 30 108 67654 0 174724 123 34 120 69112 3 174415 73 31 114 82753 -1 223632 105 33 120 72654 4 294424 107 33 124 101494 3 325107 84 36 126 79215 1 106408 33 14 37 31081 0 96560 42 17 38 22996 -2 265769 96 32 120 83122 -3 269651 106 30 93 70106 -4 149112 56 35 95 60578 2 152871 59 28 90 79892 2 362301 76 34 110 100708 -4 183167 91 39 138 82875 3 277965 115 39 133 139077 2 218946 76 29 96 80670 2 244052 101 44 164 143558 0 341570 94 21 78 117105 5 233328 92 28 102 120733 -2 206161 75 28 99 73107 0 311473 128 38 129 132068 -2 207176 56 32 114 87011 -3 196553 41 29 99 95260 2 143246 67 27 104 106671 2 182192 77 40 138 70054 2 194979 66 40 151 74011 0 167488 69 28 72 83737 4 143756 105 34 120 69094 4 275541 116 33 115 93133 2 152299 62 33 98 61370 2 193339 100 35 71 84651 -4 130585 67 29 107 95364 3 112611 46 20 73 26706 3 148446 135 37 129 126846 2 182079 124 33 118 102860 -1 243060 58 29 104 111813 -3 162765 68 28 107 120293 0 85574 37 21 36 24266 1 225060 93 41 139 109825 -3 133328 56 20 56 40909 3 100750 83 30 93 140867 0 101523 59 22 87 61056 0 243511 133 42 110 101338 0 152474 106 32 83 65567 3 132487 71 36 98 40735 -3 317394 116 31 82 91413 0 244749 98 33 115 76643 -4 184510 64 40 140 110681 2 128423 32 38 120 92696 -1 97839 25 24 66 94785 3 172494 46 43 139 86687 2 229242 63 31 119 91721 5 351619 95 40 141 115168 2 324598 113 37 133 135777 -2 195838 111 31 98 102372 0 254488 120 39 117 103772 3 199476 87 32 105 135400 -2 92499 25 18 55 21399 0 224330 131 39 132 130115 6 181633 47 30 73 64466 -3 271856 109 37 86 54990 3 95227 37 32 48 34777 0 98146 15 17 48 27114 -2 118612 54 12 43 30080 1 65475 16 13 46 69008 0 108446 22 17 65 46300 2 121848 37 17 52 30594 2 76302 29 20 68 30976 -3 98104 55 17 47 25568 -2 30989 5 17 41 4154 1 31774 0 17 47 4143 -4 150580 27 22 71 45588 0 54157 37 15 30 18625 1 59382 29 12 24 26263 0 84105 17 17 63 20055
Names of X columns:
SCORE time_in_rfc blogged_computations compendiums_reviewed feedback_messages_p120 totsize
Type of Correlation
kendall
pearson
spearman
kendall
Chart options
Title:
R Code
panel.tau <- function(x, y, digits=2, prefix='', cex.cor) { usr <- par('usr'); on.exit(par(usr)) par(usr = c(0, 1, 0, 1)) rr <- cor.test(x, y, method=par1) r <- round(rr$p.value,2) txt <- format(c(r, 0.123456789), digits=digits)[1] txt <- paste(prefix, txt, sep='') if(missing(cex.cor)) cex <- 0.5/strwidth(txt) text(0.5, 0.5, txt, cex = cex) } panel.hist <- function(x, ...) { usr <- par('usr'); on.exit(par(usr)) par(usr = c(usr[1:2], 0, 1.5) ) h <- hist(x, plot = FALSE) breaks <- h$breaks; nB <- length(breaks) y <- h$counts; y <- y/max(y) rect(breaks[-nB], 0, breaks[-1], y, col='grey', ...) } bitmap(file='test1.png') pairs(t(y),diag.panel=panel.hist, upper.panel=panel.smooth, lower.panel=panel.tau, main=main) dev.off() load(file='createtable') n <- length(y[,1]) n a<-table.start() a<-table.row.start(a) a<-table.element(a,paste('Correlations for all pairs of data series (method=',par1,')',sep=''),n+1,TRUE) a<-table.row.end(a) a<-table.row.start(a) a<-table.element(a,' ',header=TRUE) for (i in 1:n) { a<-table.element(a,dimnames(t(x))[[2]][i],header=TRUE) } a<-table.row.end(a) for (i in 1:n) { a<-table.row.start(a) a<-table.element(a,dimnames(t(x))[[2]][i],header=TRUE) for (j in 1:n) { r <- cor.test(y[i,],y[j,],method=par1) a<-table.element(a,round(r$estimate,3)) } a<-table.row.end(a) } a<-table.end(a) table.save(a,file='mytable.tab') a<-table.start() a<-table.row.start(a) a<-table.element(a,'Correlations for all pairs of data series with p-values',4,TRUE) a<-table.row.end(a) a<-table.row.start(a) a<-table.element(a,'pair',1,TRUE) a<-table.element(a,'Pearson r',1,TRUE) a<-table.element(a,'Spearman rho',1,TRUE) a<-table.element(a,'Kendall tau',1,TRUE) a<-table.row.end(a) cor.test(y[1,],y[2,],method=par1) for (i in 1:(n-1)) { for (j in (i+1):n) { a<-table.row.start(a) dum <- paste(dimnames(t(x))[[2]][i],';',dimnames(t(x))[[2]][j],sep='') a<-table.element(a,dum,header=TRUE) rp <- cor.test(y[i,],y[j,],method='pearson') a<-table.element(a,round(rp$estimate,4)) rs <- cor.test(y[i,],y[j,],method='spearman') a<-table.element(a,round(rs$estimate,4)) rk <- cor.test(y[i,],y[j,],method='kendall') a<-table.element(a,round(rk$estimate,4)) a<-table.row.end(a) a<-table.row.start(a) a<-table.element(a,'p-value',header=T) a<-table.element(a,paste('(',round(rp$p.value,4),')',sep='')) a<-table.element(a,paste('(',round(rs$p.value,4),')',sep='')) a<-table.element(a,paste('(',round(rk$p.value,4),')',sep='')) a<-table.row.end(a) } } a<-table.end(a) table.save(a,file='mytable1.tab')
Compute
Summary of computational transaction
Raw Input
view raw input (R code)
Raw Output
view raw output of R engine
Computing time
0 seconds
R Server
Big Analytics Cloud Computing Center
Click here to blog (archive) this computation