Home » date » 2008 » Dec » 19 »

Paper statistiek_Autocorrelation function (d=0, D=1)_NDC

*The author of this computation has been verified*
R Software Module: rwasp_autocorrelation.wasp (opens new window with default values)
Title produced by software: (Partial) Autocorrelation Function
Date of computation: Fri, 19 Dec 2008 03:50:19 -0700
 
Cite this page as follows:
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL http://www.freestatistics.org/blog/date/2008/Dec/19/t1229683901qwckmt5t886uxby.htm/, Retrieved Fri, 19 Dec 2008 11:51:41 +0100
 
BibTeX entries for LaTeX users:
@Manual{KEY,
    author = {{YOUR NAME}},
    publisher = {Office for Research Development and Education},
    title = {Statistical Computations at FreeStatistics.org, URL http://www.freestatistics.org/blog/date/2008/Dec/19/t1229683901qwckmt5t886uxby.htm/},
    year = {2008},
}
@Manual{R,
    title = {R: A Language and Environment for Statistical Computing},
    author = {{R Development Core Team}},
    organization = {R Foundation for Statistical Computing},
    address = {Vienna, Austria},
    year = {2008},
    note = {{ISBN} 3-900051-07-0},
    url = {http://www.R-project.org},
}
 
Original text written by user:
 
IsPrivate?
No (this computation is public)
 
User-defined keywords:
 
Dataseries X:
» Textbox « » Textfile « » CSV «
98.6 98 106.8 96.7 100.2 107.7 92 98.4 107.4 117.7 105.7 97.5 99.9 98.2 104.5 100.8 101.5 103.9 99.6 98.4 112.7 118.4 108.1 105.4 114.6 106.9 115.9 109.8 101.8 114.2 110.8 108.4 127.5 128.6 116.6 127.4 105 108.3 125 111.6 106.5 130.3 115 116.1 134 126.5 125.8 136.4 114.9 110.9 125.5 116.8 116.8 125.5 104.2 115.1 132.8 123.3 124.8 122 117.4 117.9 137.4 114.6 124.7 129.6 109.4 120.9 134.9 136.3 133.2 127.2 122.7 120.5 137.8 119.1 124.3 134.4 121.1 122.2 127.7 137.4 132.2 129.2 124.9 124.8 128.2 134.4 118.6 132.6 123.2 112.8 138.3
 
Output produced by software:


Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time5 seconds
R Server'Herman Ole Andreas Wold' @ 193.190.124.10:1001


Autocorrelation Function
Time lag kACF(k)T-STATP-value
10.1110290.99930.160322
20.1618941.4570.074484
30.2502522.25230.013506
40.0426390.38380.351083
50.1895791.70620.0459
60.1873371.6860.047819
7-0.091896-0.82710.205315
80.087680.78910.216173
90.2147731.9330.028368
10-0.140284-1.26260.105186
11-0.05627-0.50640.306966
12-0.139942-1.25950.105737
13-0.202908-1.82620.035754
140.0615970.55440.290425
15-0.049145-0.44230.329724
16-0.145919-1.31330.096399
170.1358921.2230.112433
18-0.075621-0.68060.249037
19-0.172498-1.55250.062222
20-0.004177-0.03760.485054
21-0.036954-0.33260.370154
22-0.07565-0.68080.248955
230.1689381.52040.066147
24-0.247335-2.2260.014396
25-0.0756-0.68040.249097
260.0140310.12630.449911
27-0.021591-0.19430.423206
28-0.098393-0.88550.189244
29-0.030401-0.27360.392542
30-0.05937-0.53430.297289
310.0349650.31470.376904
320.0957090.86140.195786
33-0.161285-1.45160.075242
34-0.023289-0.20960.417251
350.059380.53440.297257
360.0294840.26540.395704
370.1671631.50450.068176
380.0560380.50430.307695
39-0.058483-0.52630.300042
400.101730.91560.181304
410.0125090.11260.455319
42-0.032549-0.29290.385158
430.0686690.6180.269148
440.0672810.60550.27326
45-0.062303-0.56070.288265
460.1290691.16160.1244
47-0.079686-0.71720.237665
48-0.122116-1.0990.137503
49-0.021577-0.19420.423257
50-0.113435-1.02090.155167
51-0.119877-1.07890.141919
520.0610450.54940.292119
53-0.101965-0.91770.180755
54-0.046375-0.41740.338754
55-0.015956-0.14360.443083
56-0.218451-1.96610.026359
57-0.060273-0.54250.294497
58-0.040595-0.36540.357898
59-0.093823-0.84440.200465
60-0.006856-0.06170.475475


Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
10.1110290.99930.160322
20.1514341.36290.088345
30.2260932.03480.022569
4-0.020248-0.18220.42793
50.1300641.17060.122601
60.1198371.07850.141999
7-0.171897-1.54710.062872
80.0002550.00230.499088
90.2070711.86360.032998
10-0.183163-1.64850.051565
11-0.184365-1.65930.050463
12-0.152136-1.36920.087357
13-0.089312-0.80380.21193
140.0791290.71220.239206
150.0556120.50050.309038
160.0210940.18980.424952
170.1966071.76950.04029
18-0.048453-0.43610.331972
19-0.192986-1.73690.043105
20-0.041172-0.37050.355972
210.1690161.52110.066059
22-0.072401-0.65160.258249
230.0336260.30260.381474
24-0.277047-2.49340.007344
25-0.093255-0.83930.201887
26-0.096875-0.87190.192928
270.2593462.33410.011034
280.0193510.17420.431087
290.0443750.39940.345335
30-0.011645-0.10480.458394
31-0.056407-0.50770.306534
32-0.034196-0.30780.379526
330.0450960.40590.342957
340.0132190.1190.452798
350.0792420.71320.238893
36-0.043703-0.39330.347554
370.0610920.54980.291976
38-0.058657-0.52790.299501
39-0.030448-0.2740.392379
40-0.050094-0.45080.326652
410.0736990.66330.254515
420.0288740.25990.397815
430.0172430.15520.438528
44-0.048105-0.43290.333102
45-0.081845-0.73660.231745
46-0.001856-0.01670.493356
470.0336870.30320.381263
48-0.143792-1.29410.09965
490.0001640.00150.499412
50-0.056872-0.51180.305076
51-0.01723-0.15510.438577
52-0.007044-0.06340.474804
53-0.025718-0.23150.40877
540.0143210.12890.448881
550.033490.30140.381938
56-0.053357-0.48020.316185
57-0.054286-0.48860.313231
58-0.108463-0.97620.165943
590.0259460.23350.407977
60-0.033056-0.29750.383423
 
Charts produced by software:
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/19/t1229683901qwckmt5t886uxby/1gtez1229683809.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/19/t1229683901qwckmt5t886uxby/1gtez1229683809.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/19/t1229683901qwckmt5t886uxby/2qa2x1229683809.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/19/t1229683901qwckmt5t886uxby/2qa2x1229683809.ps (open in new window)


 
Parameters (Session):
par1 = 60 ; par2 = 1 ; par3 = 0 ; par4 = 1 ; par5 = 12 ;
 
Parameters (R input):
par1 = 60 ; par2 = 1 ; par3 = 0 ; par4 = 1 ; par5 = 12 ;
 
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 (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='lags',ylab='ACF')
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')
 





Copyright

Creative Commons License

This work is licensed under a Creative Commons Attribution-Noncommercial-Share Alike 3.0 License.

Software written by Ed van Stee & Patrick Wessa


Disclaimer

Information provided on this web site is provided "AS IS" without warranty of any kind, either express or implied, including, without limitation, warranties of merchantability, fitness for a particular purpose, and noninfringement. We use reasonable efforts to include accurate and timely information and periodically update the information, and software without notice. However, we make no warranties or representations as to the accuracy or completeness of such information (or software), and we assume no liability or responsibility for errors or omissions in the content of this web site, or any software bugs in online applications. Your use of this web site is AT YOUR OWN RISK. Under no circumstances and under no legal theory shall we be liable to you or any other person for any direct, indirect, special, incidental, exemplary, or consequential damages arising from your access to, or use of, this web site.


Privacy Policy

We may request personal information to be submitted to our servers in order to be able to:

  • personalize online software applications according to your needs
  • enforce strict security rules with respect to the data that you upload (e.g. statistical data)
  • manage user sessions of online applications
  • alert you about important changes or upgrades in resources or applications

We NEVER allow other companies to directly offer registered users information about their products and services. Banner references and hyperlinks of third parties NEVER contain any personal data of the visitor.

We do NOT sell, nor transmit by any means, personal information, nor statistical data series uploaded by you to third parties.

We carefully protect your data from loss, misuse, alteration, and destruction. However, at any time, and under any circumstance you are solely responsible for managing your passwords, and keeping them secret.

We store a unique ANONYMOUS USER ID in the form of a small 'Cookie' on your computer. This allows us to track your progress when using this website which is necessary to create state-dependent features. The cookie is used for NO OTHER PURPOSE. At any time you may opt to disallow cookies from this website - this will not affect other features of this website.

We examine cookies that are used by third-parties (banner and online ads) very closely: abuse from third-parties automatically results in termination of the advertising contract without refund. We have very good reason to believe that the cookies that are produced by third parties (banner ads) do NOT cause any privacy or security risk.

FreeStatistics.org is safe. There is no need to download any software to use the applications and services contained in this website. Hence, your system's security is not compromised by their use, and your personal data - other than data you submit in the account application form, and the user-agent information that is transmitted by your browser - is never transmitted to our servers.

As a general rule, we do not log on-line behavior of individuals (other than normal logging of webserver 'hits'). However, in cases of abuse, hacking, unauthorized access, Denial of Service attacks, illegal copying, hotlinking, non-compliance with international webstandards (such as robots.txt), or any other harmful behavior, our system engineers are empowered to log, track, identify, publish, and ban misbehaving individuals - even if this leads to ban entire blocks of IP addresses, or disclosing user's identity.


FreeStatistics.org is powered by