Send output to:
Browser Blue - Charts White
Browser Black/White
CSV
Data:
115.65 116.00 115.92 116.10 116.44 116.65 117.45 117.58 117.43 117.24 117.25 117.29 117.83 118.22 118.11 118.23 118.15 118.23 119.03 119.38 118.97 118.78 118.97 118.94 119.86 120.09 120.13 120.15 119.90 120.00 120.84 121.17 120.81 121.00 121.12 121.29 122.09 121.88 121.31 121.33 121.45 121.67 122.78 122.84 122.34 122.37 122.72 122.68 122.78 123.08 122.92 123.51 124.18 124.05 124.36 123.87 123.84 123.85 123.83 123.84 124.27 124.56 124.57 124.87 125.08 124.86 124.89 124.58 124.83 124.97 125.19 125.42 125.74 126.07 126.35 126.69 126.85 127.12 127.43 127.49 128.05 127.85 128.35 128.29 128.38 128.80 129.18 130.14 130.77 131.19 131.32 131.41 131.61 131.69 131.94 131.70 132.54 132.74 133.02 132.76 133.05 132.74 133.16 133.10 133.37 133.15 133.18 133.29 133.76 134.51 134.82 134.71 134.52 134.86 135.11 135.28 135.61 135.22 135.47 135.42 135.85 136.27 136.30 136.85 137.05 137.03 137.45 137.49 137.55 138.04 138.03 137.75 138.27 138.99 139.74 139.70 139.97 140.21 140.78 140.80 140.64 140.42 140.85 140.96 141.04 141.71 141.60 142.11 142.59 142.56 143.00 143.18 143.15 143.10 143.45 143.59 143.92 144.66 144.34 144.82 144.49 144.41 144.99 144.95 145.00 145.66 146.68 147.38 147.94 149.12 149.95 150.19 151.16 151.74 152.56 152.09 152.46 152.66 152.38 152.59 152.88 153.29 152.35 152.49 152.20 151.57 151.55 151.79 151.52 151.76 151.92 152.20 152.75 153.49 153.78 154.10 154.62 154.65 154.81 154.92 155.40 155.63 155.76
Sample Range:
(leave blank to include all observations)
From:
To:
Number of time lags
Default
Default
5
6
7
8
9
10
11
12
24
36
48
60
Box-Cox transformation parameter (Lambda)
1
1
-2.0
-1.9
-1.8
-1.7
-1.6
-1.5
-1.4
-1.3
-1.2
-1.1
-1.0
-0.9
-0.8
-0.7
-0.6
-0.5
-0.4
-0.3
-0.2
-0.1
0.0
0.1
0.2
0.3
0.4
0.5
0.6
0.7
0.8
0.9
1.0
1.1
1.2
1.3
1.4
1.5
1.6
1.7
1.8
1.9
2.0
Degree of non-seasonal differencing (d)
0
0
1
2
Degree of seasonal differencing (D)
0
0
1
2
Seasonality
12
12
1
2
3
4
6
12
CI type
White Noise
White Noise
MA
Confidence Interval
Use logarithms with this base
(overrules the Box-Cox lambda parameter)
(?)
Chart options
R Code
if (par1 == 'Default') { par1 = 10*log10(length(x)) } else { par1 <- as.numeric(par1) } par2 <- as.numeric(par2) par3 <- as.numeric(par3) par4 <- as.numeric(par4) par5 <- as.numeric(par5) if (par6 == 'White Noise') par6 <- 'white' else par6 <- 'ma' par7 <- as.numeric(par7) if (par2 == 0) { x <- log(x) } else { x <- (x ^ par2 - 1) / par2 } if (par3 > 0) x <- diff(x,lag=1,difference=par3) if (par4 > 0) x <- diff(x,lag=par5,difference=par4) bitmap(file='pic1.png') racf <- acf(x, par1, main='Autocorrelation', xlab='time lag', ylab='ACF', ci.type=par6, ci=par7, sub=paste('(lambda=',par2,', d=',par3,', D=',par4,', CI=', par7, ', CI type=',par6,')',sep='')) dev.off() bitmap(file='pic2.png') rpacf <- pacf(x,par1,main='Partial Autocorrelation',xlab='lags',ylab='PACF') dev.off() (myacf <- c(racf$acf)) (mypacf <- c(rpacf$acf)) lengthx <- length(x) sqrtn <- sqrt(lengthx) load(file='createtable') a<-table.start() a<-table.row.start(a) a<-table.element(a,'Autocorrelation Function',4,TRUE) a<-table.row.end(a) a<-table.row.start(a) a<-table.element(a,'Time lag k',header=TRUE) a<-table.element(a,hyperlink('http://www.xycoon.com/basics.htm','ACF(k)','click here for more information about the Autocorrelation Function'),header=TRUE) a<-table.element(a,'T-STAT',header=TRUE) a<-table.element(a,'P-value',header=TRUE) a<-table.row.end(a) for (i in 2:(par1+1)) { a<-table.row.start(a) a<-table.element(a,i-1,header=TRUE) a<-table.element(a,round(myacf[i],6)) mytstat <- myacf[i]*sqrtn a<-table.element(a,round(mytstat,4)) a<-table.element(a,round(1-pt(abs(mytstat),lengthx),6)) 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,'Partial Autocorrelation Function',4,TRUE) a<-table.row.end(a) a<-table.row.start(a) a<-table.element(a,'Time lag k',header=TRUE) a<-table.element(a,hyperlink('http://www.xycoon.com/basics.htm','PACF(k)','click here for more information about the Partial Autocorrelation Function'),header=TRUE) a<-table.element(a,'T-STAT',header=TRUE) a<-table.element(a,'P-value',header=TRUE) a<-table.row.end(a) for (i in 1:par1) { a<-table.row.start(a) a<-table.element(a,i,header=TRUE) a<-table.element(a,round(mypacf[i],6)) mytstat <- mypacf[i]*sqrtn a<-table.element(a,round(mytstat,4)) a<-table.element(a,round(1-pt(abs(mytstat),lengthx),6)) 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
1 seconds
R Server
Big Analytics Cloud Computing Center
Click here to blog (archive) this computation