Send output to:
Browser Blue - Charts White
Browser Black/White
CSV
Data X:
95.1 100.6 71.7 105 97 104.3 77.5 108.3 112.7 120.4 89.8 125 102.9 107.5 80.3 111.6 97.4 102.9 78.7 106.5 111.4 125.6 93.8 130.3 87.4 107.5 57.6 115 96.8 108.8 60.6 116.1 114.1 128.4 91 134 110.3 121.1 85.3 126.5 103.9 119.5 77.4 125.8 101.6 128.7 77.3 136.4 94.6 108.7 68.3 114.9 95.9 105.5 69.9 110.9 104.7 119.8 81.7 125.5 102.8 111.3 75.1 116.8 98.1 110.6 69.9 116.8 113.9 120.1 84 125.5 80.9 97.5 54.3 104.2 95.7 107.7 60 115.1 113.2 127.3 89.9 132.8 105.9 117.2 77 123.3 108.8 119.8 85.3 124.8 102.3 116.2 77.6 122 99 111 69.2 117.4 100.7 112.4 75.5 117.9 115.5 130.6 85.7 137.4 100.7 109.1 72.2 114.6 109.9 118.8 79.9 124.7 114.6 123.9 85.3 129.6 85.4 101.6 52.2 109.4 100.5 112.8 61.2 120.9 114.8 128 82.4 134.9 116.5 129.6 85.4 136.3 112.9 125.8 78.2 133.2 102 119.5 70.2 127.2 106 115.7 70.2 122.7 105.3 113.6 69.3 120.5 118.8 129.7 77.5 137.8 106.1 112 66.1 119.1 109.3 116.8 69 124.3 117.2 127 79.2 134.4 92.5 112.1 56.2 121.1 104.2 114.2 63.3 122.2 112.5 121.1 77.8 127.7 122.4 131.6 92 137.4 113.3 125 78.1 132.2 100 120.4 65.1 129.2 110.7 117.7 71.1 124.9 112.8 117.5 70.9 124.8 109.8 120.6 72 128.2 117.3 127.5 81.9 134.4 109.1 112.3 70.6 118.6 115.9 124.5 72.5 132.6 96 115.2 65.1 123.2 NA 104.7 54.9 112.8 NA 130.9 80 138.7 NA 129.2 77.4 137.3 NA 113.5 59.6 122.3 NA 125.6 57.4 136.9 NA 107.6 50.8 117.1
Names of X columns:
TIPr PrCgdrn PrDCgdrn PrNDCgdrn
Type of Correlation
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='kendall') 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') a<-table.start() a<-table.row.start(a) a<-table.element(a,'Kendall tau rank correlations for all pairs of data series',3,TRUE) a<-table.row.end(a) a<-table.row.start(a) a<-table.element(a,'pair',1,TRUE) a<-table.element(a,'tau',1,TRUE) a<-table.element(a,'p-value',1,TRUE) a<-table.row.end(a) n <- length(y[,1]) n cor.test(y[1,],y[2,],method='kendall') for (i in 1:(n-1)) { for (j in (i+1):n) { a<-table.row.start(a) dum <- paste('tau(',dimnames(t(x))[[2]][i]) dum <- paste(dum,',') dum <- paste(dum,dimnames(t(x))[[2]][j]) dum <- paste(dum,')') a<-table.element(a,dum,header=TRUE) r <- cor.test(y[i,],y[j,],method='kendall') a<-table.element(a,r$estimate) a<-table.element(a,r$p.value) a<-table.row.end(a) } } a<-table.end(a) table.save(a,file='mytable.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