Send output to:
Browser Blue - Charts White
Browser Black/White
CSV
Data X:
1418 210907 79 30 146283 1 2 2172 179321 108 30 96933 1 4 1583 149061 43 26 95757 1 0 1764 237213 78 38 143983 1 0 1495 173326 86 44 75851 1 -4 1373 133131 44 30 59238 1 4 2187 258873 104 40 93163 1 4 4041 324799 158 47 151511 1 0 1706 230964 102 30 136368 1 -1 2152 236785 77 31 112642 1 0 2242 344297 80 30 127766 1 1 2515 174724 123 34 85646 1 0 2147 174415 73 31 98579 1 3 1638 223632 105 33 131741 1 -1 2452 294424 107 33 171975 1 4 2662 325107 84 36 159676 1 3 865 106408 33 14 58391 1 1 1793 96560 42 17 31580 0 0 2527 265769 96 32 136815 1 -2 2747 269651 106 30 120642 1 -3 1324 149112 56 35 69107 1 -4 1383 152871 59 28 108016 1 2 4308 362301 76 34 79336 1 2 1831 183167 91 39 93176 1 -4 3373 277965 115 39 161632 1 3 2352 218946 76 29 102996 1 2 2144 244052 101 44 160604 1 2 4691 341570 94 21 158051 0 0 2694 233328 92 28 162647 1 5 1769 206161 75 28 60622 1 -2 3148 311473 128 38 179566 1 0 1954 207176 56 32 96144 1 -2 1226 196553 41 29 129847 1 -3 1496 143246 67 27 71180 1 2 1943 182192 77 40 86767 1 2 1762 194979 66 40 93487 1 2 1403 167488 69 28 82981 1 0 1425 143756 105 34 73815 1 4 1857 275541 116 33 94552 1 4 1420 152299 62 33 67808 1 2 1644 193339 100 35 106175 1 2 1054 130585 67 29 76669 1 -4 937 112611 46 20 57283 0 3 2547 148446 135 37 72413 1 3 1626 182079 124 33 96971 1 2 1964 243060 58 29 120336 1 -1 1381 162765 68 28 93913 1 -3 1290 85574 37 21 32036 0 0 1982 225060 93 41 102255 1 1 1590 133328 56 20 63506 0 -3 1281 100750 83 30 68370 1 3 1272 101523 59 22 50517 0 0 1944 243511 133 42 103950 1 0 1605 152474 106 32 84396 1 0 1386 132487 71 36 55515 1 3 2395 317394 116 31 209056 1 -3 2699 244749 98 33 142775 1 0 1606 184510 64 40 68847 1 -4 1204 128423 32 38 20112 1 2 1138 97839 25 24 61023 1 -1 1111 172494 46 43 112494 1 3 2186 229242 63 31 78876 1 2 3604 351619 95 40 170745 1 5 3261 324598 113 37 122037 1 2 1641 195838 111 31 112283 1 -2 2312 254488 120 39 120691 1 0 2201 199476 87 32 122422 1 3 961 92499 25 18 25899 0 -2 1900 224330 131 39 139296 1 0 1645 181633 47 30 89455 1 6 2429 271856 109 37 147866 1 -3 872 95227 37 32 14336 1 3 1018 98146 15 17 30059 0 0 1403 118612 54 12 41907 0 -2 616 65475 16 13 35885 0 1 1232 108446 22 17 55764 0 0 1255 121848 37 17 35619 0 2 995 76302 29 20 40557 0 2 2048 98104 55 17 44197 0 -3 301 30989 5 17 4103 0 -2 628 31774 0 17 4694 0 1 1597 150580 27 22 62991 0 -4 717 54157 37 15 24261 0 0 652 59382 29 12 21425 0 1 733 84105 17 17 27184 0 0
Names of X columns:
Pageviews Tijd_RFC Blogs Reviews Compendium_uren Pop Testscore
Type of Correlation
pearson
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