Free Statistics

of Irreproducible Research!

Author's title

Author*Unverified author*
R Software Modulerwasp_autocorrelation.wasp
Title produced by software(Partial) Autocorrelation Function
Date of computationThu, 07 Apr 2011 17:50:26 +0000
Cite this page as followsStatistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?v=date/2011/Apr/07/t1302198548dmgl2kangb3c8bo.htm/, Retrieved Thu, 09 May 2024 17:51:33 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=120410, Retrieved Thu, 09 May 2024 17:51:33 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywordsKDGP2W12
Estimated Impact205
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-       [(Partial) Autocorrelation Function] [opgave 6bis opdra...] [2011-04-07 17:50:26] [93d78dde8d64c5a73537ad1fcc88d508] [Current]
Feedback Forum

Post a new message
Dataseries X:
5939520,00
89948768,00
80953652,00
85942882,00
8944937,00
82975432,00
24940816,00
21973899,00
37950221,00
45949881,00
85950373,00
48960313,00
81954506,00
24960419,00
65973338,00
22950513,00
54963528,00
90995659,00
91967517,00
28999053,00
96990529,00
38979852,00
81496957,00
74982424,00
70976192,00
90990000,00
12998850,00
92986156,00
67994976,00
91022206,00
87992489,00
421022698,00
11018942,00
79100042,00
65996442,00
51000620,00
12996871,00
44994249,00
99996135,00
91977037,00
63974211,00
15998036,00
65974265,00
33984410,00
45939098,00
67935827,00
66921032,00
89911836,00
71890975,00
72880342,00
28871286,00
41844334,00
82847667,00
24871401,00
3867451,00
99896846,00
41890361,00
45884264,00
69884586,00
95896400,00
39904491,00
81900399,00
27909863,00
88900470,00
89917101,00
2945005,00
4934411,00
61957264,00
31946515,00
3938309,00
52933321,00
21947613,00




Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time2 seconds
R Server'George Udny Yule' @ 216.218.223.82

\begin{tabular}{lllllllll}
\hline
Summary of computational transaction \tabularnewline
Raw Input & view raw input (R code)  \tabularnewline
Raw Output & view raw output of R engine  \tabularnewline
Computing time & 2 seconds \tabularnewline
R Server & 'George Udny Yule' @ 216.218.223.82 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=120410&T=0

[TABLE]
[ROW][C]Summary of computational transaction[/C][/ROW]
[ROW][C]Raw Input[/C][C]view raw input (R code) [/C][/ROW]
[ROW][C]Raw Output[/C][C]view raw output of R engine [/C][/ROW]
[ROW][C]Computing time[/C][C]2 seconds[/C][/ROW]
[ROW][C]R Server[/C][C]'George Udny Yule' @ 216.218.223.82[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=120410&T=0

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=120410&T=0

As an alternative you can also use a QR Code:  

The GUIDs for individual cells are displayed in the table below:

Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time2 seconds
R Server'George Udny Yule' @ 216.218.223.82







Autocorrelation Function
Time lag kACF(k)T-STATP-value
1-0.065894-0.55910.288905
20.0870130.73830.231358
30.0203990.17310.431533
40.0771530.65470.257384
5-0.195821-1.66160.050471
60.0300640.25510.399685
70.0817760.69390.24499
80.0860560.73020.233816
90.0910670.77270.221105
10-0.155695-1.32110.095324
110.089430.75880.225213
12-0.119191-1.01140.157612
130.0544730.46220.322658
140.0047150.040.484097
150.0623630.52920.299157
16-0.047684-0.40460.343481
170.0694960.58970.278621
18-0.05643-0.47880.316757

\begin{tabular}{lllllllll}
\hline
Autocorrelation Function \tabularnewline
Time lag k & ACF(k) & T-STAT & P-value \tabularnewline
1 & -0.065894 & -0.5591 & 0.288905 \tabularnewline
2 & 0.087013 & 0.7383 & 0.231358 \tabularnewline
3 & 0.020399 & 0.1731 & 0.431533 \tabularnewline
4 & 0.077153 & 0.6547 & 0.257384 \tabularnewline
5 & -0.195821 & -1.6616 & 0.050471 \tabularnewline
6 & 0.030064 & 0.2551 & 0.399685 \tabularnewline
7 & 0.081776 & 0.6939 & 0.24499 \tabularnewline
8 & 0.086056 & 0.7302 & 0.233816 \tabularnewline
9 & 0.091067 & 0.7727 & 0.221105 \tabularnewline
10 & -0.155695 & -1.3211 & 0.095324 \tabularnewline
11 & 0.08943 & 0.7588 & 0.225213 \tabularnewline
12 & -0.119191 & -1.0114 & 0.157612 \tabularnewline
13 & 0.054473 & 0.4622 & 0.322658 \tabularnewline
14 & 0.004715 & 0.04 & 0.484097 \tabularnewline
15 & 0.062363 & 0.5292 & 0.299157 \tabularnewline
16 & -0.047684 & -0.4046 & 0.343481 \tabularnewline
17 & 0.069496 & 0.5897 & 0.278621 \tabularnewline
18 & -0.05643 & -0.4788 & 0.316757 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=120410&T=1

[TABLE]
[ROW][C]Autocorrelation Function[/C][/ROW]
[ROW][C]Time lag k[/C][C]ACF(k)[/C][C]T-STAT[/C][C]P-value[/C][/ROW]
[ROW][C]1[/C][C]-0.065894[/C][C]-0.5591[/C][C]0.288905[/C][/ROW]
[ROW][C]2[/C][C]0.087013[/C][C]0.7383[/C][C]0.231358[/C][/ROW]
[ROW][C]3[/C][C]0.020399[/C][C]0.1731[/C][C]0.431533[/C][/ROW]
[ROW][C]4[/C][C]0.077153[/C][C]0.6547[/C][C]0.257384[/C][/ROW]
[ROW][C]5[/C][C]-0.195821[/C][C]-1.6616[/C][C]0.050471[/C][/ROW]
[ROW][C]6[/C][C]0.030064[/C][C]0.2551[/C][C]0.399685[/C][/ROW]
[ROW][C]7[/C][C]0.081776[/C][C]0.6939[/C][C]0.24499[/C][/ROW]
[ROW][C]8[/C][C]0.086056[/C][C]0.7302[/C][C]0.233816[/C][/ROW]
[ROW][C]9[/C][C]0.091067[/C][C]0.7727[/C][C]0.221105[/C][/ROW]
[ROW][C]10[/C][C]-0.155695[/C][C]-1.3211[/C][C]0.095324[/C][/ROW]
[ROW][C]11[/C][C]0.08943[/C][C]0.7588[/C][C]0.225213[/C][/ROW]
[ROW][C]12[/C][C]-0.119191[/C][C]-1.0114[/C][C]0.157612[/C][/ROW]
[ROW][C]13[/C][C]0.054473[/C][C]0.4622[/C][C]0.322658[/C][/ROW]
[ROW][C]14[/C][C]0.004715[/C][C]0.04[/C][C]0.484097[/C][/ROW]
[ROW][C]15[/C][C]0.062363[/C][C]0.5292[/C][C]0.299157[/C][/ROW]
[ROW][C]16[/C][C]-0.047684[/C][C]-0.4046[/C][C]0.343481[/C][/ROW]
[ROW][C]17[/C][C]0.069496[/C][C]0.5897[/C][C]0.278621[/C][/ROW]
[ROW][C]18[/C][C]-0.05643[/C][C]-0.4788[/C][C]0.316757[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=120410&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=120410&T=1

As an alternative you can also use a QR Code:  

The GUIDs for individual cells are displayed in the table below:

Autocorrelation Function
Time lag kACF(k)T-STATP-value
1-0.065894-0.55910.288905
20.0870130.73830.231358
30.0203990.17310.431533
40.0771530.65470.257384
5-0.195821-1.66160.050471
60.0300640.25510.399685
70.0817760.69390.24499
80.0860560.73020.233816
90.0910670.77270.221105
10-0.155695-1.32110.095324
110.089430.75880.225213
12-0.119191-1.01140.157612
130.0544730.46220.322658
140.0047150.040.484097
150.0623630.52920.299157
16-0.047684-0.40460.343481
170.0694960.58970.278621
18-0.05643-0.47880.316757







Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
1-0.065894-0.55910.288905
20.0830310.70450.241684
30.0314810.26710.39507
40.0740250.62810.265955
5-0.194065-1.64670.051989
6-0.006035-0.05120.47965
70.1178961.00040.160239
80.1108280.94040.175077
90.1176770.99850.160684
10-0.231293-1.96260.02678
110.0321130.27250.393013
12-0.064393-0.54640.293244
130.0987520.83790.202419
140.0910760.77280.221084
15-0.063065-0.53510.297106
16-0.060345-0.5120.305093
170.0164680.13970.44463
180.0126620.10740.45737

\begin{tabular}{lllllllll}
\hline
Partial Autocorrelation Function \tabularnewline
Time lag k & PACF(k) & T-STAT & P-value \tabularnewline
1 & -0.065894 & -0.5591 & 0.288905 \tabularnewline
2 & 0.083031 & 0.7045 & 0.241684 \tabularnewline
3 & 0.031481 & 0.2671 & 0.39507 \tabularnewline
4 & 0.074025 & 0.6281 & 0.265955 \tabularnewline
5 & -0.194065 & -1.6467 & 0.051989 \tabularnewline
6 & -0.006035 & -0.0512 & 0.47965 \tabularnewline
7 & 0.117896 & 1.0004 & 0.160239 \tabularnewline
8 & 0.110828 & 0.9404 & 0.175077 \tabularnewline
9 & 0.117677 & 0.9985 & 0.160684 \tabularnewline
10 & -0.231293 & -1.9626 & 0.02678 \tabularnewline
11 & 0.032113 & 0.2725 & 0.393013 \tabularnewline
12 & -0.064393 & -0.5464 & 0.293244 \tabularnewline
13 & 0.098752 & 0.8379 & 0.202419 \tabularnewline
14 & 0.091076 & 0.7728 & 0.221084 \tabularnewline
15 & -0.063065 & -0.5351 & 0.297106 \tabularnewline
16 & -0.060345 & -0.512 & 0.305093 \tabularnewline
17 & 0.016468 & 0.1397 & 0.44463 \tabularnewline
18 & 0.012662 & 0.1074 & 0.45737 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=120410&T=2

[TABLE]
[ROW][C]Partial Autocorrelation Function[/C][/ROW]
[ROW][C]Time lag k[/C][C]PACF(k)[/C][C]T-STAT[/C][C]P-value[/C][/ROW]
[ROW][C]1[/C][C]-0.065894[/C][C]-0.5591[/C][C]0.288905[/C][/ROW]
[ROW][C]2[/C][C]0.083031[/C][C]0.7045[/C][C]0.241684[/C][/ROW]
[ROW][C]3[/C][C]0.031481[/C][C]0.2671[/C][C]0.39507[/C][/ROW]
[ROW][C]4[/C][C]0.074025[/C][C]0.6281[/C][C]0.265955[/C][/ROW]
[ROW][C]5[/C][C]-0.194065[/C][C]-1.6467[/C][C]0.051989[/C][/ROW]
[ROW][C]6[/C][C]-0.006035[/C][C]-0.0512[/C][C]0.47965[/C][/ROW]
[ROW][C]7[/C][C]0.117896[/C][C]1.0004[/C][C]0.160239[/C][/ROW]
[ROW][C]8[/C][C]0.110828[/C][C]0.9404[/C][C]0.175077[/C][/ROW]
[ROW][C]9[/C][C]0.117677[/C][C]0.9985[/C][C]0.160684[/C][/ROW]
[ROW][C]10[/C][C]-0.231293[/C][C]-1.9626[/C][C]0.02678[/C][/ROW]
[ROW][C]11[/C][C]0.032113[/C][C]0.2725[/C][C]0.393013[/C][/ROW]
[ROW][C]12[/C][C]-0.064393[/C][C]-0.5464[/C][C]0.293244[/C][/ROW]
[ROW][C]13[/C][C]0.098752[/C][C]0.8379[/C][C]0.202419[/C][/ROW]
[ROW][C]14[/C][C]0.091076[/C][C]0.7728[/C][C]0.221084[/C][/ROW]
[ROW][C]15[/C][C]-0.063065[/C][C]-0.5351[/C][C]0.297106[/C][/ROW]
[ROW][C]16[/C][C]-0.060345[/C][C]-0.512[/C][C]0.305093[/C][/ROW]
[ROW][C]17[/C][C]0.016468[/C][C]0.1397[/C][C]0.44463[/C][/ROW]
[ROW][C]18[/C][C]0.012662[/C][C]0.1074[/C][C]0.45737[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=120410&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=120410&T=2

As an alternative you can also use a QR Code:  

The GUIDs for individual cells are displayed in the table below:

Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
1-0.065894-0.55910.288905
20.0830310.70450.241684
30.0314810.26710.39507
40.0740250.62810.265955
5-0.194065-1.64670.051989
6-0.006035-0.05120.47965
70.1178961.00040.160239
80.1108280.94040.175077
90.1176770.99850.160684
10-0.231293-1.96260.02678
110.0321130.27250.393013
12-0.064393-0.54640.293244
130.0987520.83790.202419
140.0910760.77280.221084
15-0.063065-0.53510.297106
16-0.060345-0.5120.305093
170.0164680.13970.44463
180.0126620.10740.45737



Parameters (Session):
par1 = Default ; par2 = 1 ; par3 = 0 ; par4 = 0 ; par5 = 12 ; par6 = White Noise ; par7 = 0.95 ;
Parameters (R input):
par1 = Default ; par2 = 1 ; par3 = 0 ; par4 = 0 ; par5 = 12 ; par6 = White Noise ; par7 = 0.95 ; par8 = ;
R code (references can be found in the software module):
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 (par8 != '') par8 <- as.numeric(par8)
ox <- x
if (par8 == '') {
if (par2 == 0) {
x <- log(x)
} else {
x <- (x ^ par2 - 1) / par2
}
} else {
x <- log(x,base=par8)
}
if (par3 > 0) x <- diff(x,lag=1,difference=par3)
if (par4 > 0) x <- diff(x,lag=par5,difference=par4)
bitmap(file='picts.png')
op <- par(mfrow=c(2,1))
plot(ox,type='l',main='Original Time Series',xlab='time',ylab='value')
if (par8=='') {
mytitle <- paste('Working Time Series (lambda=',par2,', d=',par3,', D=',par4,')',sep='')
mysub <- paste('(lambda=',par2,', d=',par3,', D=',par4,', CI=', par7, ', CI type=',par6,')',sep='')
} else {
mytitle <- paste('Working Time Series (base=',par8,', d=',par3,', D=',par4,')',sep='')
mysub <- paste('(base=',par8,', d=',par3,', D=',par4,', CI=', par7, ', CI type=',par6,')',sep='')
}
plot(x,type='l', main=mytitle,xlab='time',ylab='value')
par(op)
dev.off()
bitmap(file='pic1.png')
racf <- acf(x, par1, main='Autocorrelation', xlab='time lag', ylab='ACF', ci.type=par6, ci=par7, sub=mysub)
dev.off()
bitmap(file='pic2.png')
rpacf <- pacf(x,par1,main='Partial Autocorrelation',xlab='lags',ylab='PACF',sub=mysub)
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('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('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')