Home » date » 2009 » Dec » 20 »

Sören Van Donink Paper 2009

*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: Sun, 20 Dec 2009 14:21:47 -0700
 
Cite this page as follows:
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL http://www.freestatistics.org/blog/date/2009/Dec/20/t12613441773tg9zf79d0di4q4.htm/, Retrieved Sun, 20 Dec 2009 22:23:00 +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/2009/Dec/20/t12613441773tg9zf79d0di4q4.htm/},
    year = {2009},
}
@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 = {2009},
    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 «
101.0 98.7 105.1 98.4 101.7 102.9 92.2 94.9 92.8 98.5 94.3 87.4 103.4 101.2 109.6 111.9 108.9 105.6 107.8 97.5 102.4 105.6 99.8 96.2 113.1 107.4 116.8 112.9 105.3 109.3 107.9 101.1 114.7 116.2 108.4 113.4 108.7 112.6 124.2 114.9 110.5 121.5 118.1 111.7 132.7 119.0 116.7 120.1 113.4 106.6 116.3 112.6 111.6 125.1 110.7 109.6 114.2 113.4 116.0 109.6 117.8 115.8 125.3 113.0 120.5 116.6 111.8 115.2 118.6 122.4 116.4 114.5 119.8 115.8 127.8 118.8 119.7 118.6 120.8 115.9 109.7 114.8 116.2 112.2
 
Output produced by software:


Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time1 seconds
R Server'Gwilym Jenkins' @ 72.249.127.135


Autocorrelation Function
Time lag kACF(k)T-STATP-value
1-0.459392-3.87090.000119
2-0.020466-0.17250.431786
30.1648251.38880.084611
4-0.183048-1.54240.063712
5-0.067198-0.56620.286516
60.1002240.84450.200612
70.0005990.0050.497995
8-0.189806-1.59930.057094
90.3999013.36960.00061
10-0.319118-2.68890.004463
110.2711892.28510.012649
12-0.181148-1.52640.065679
13-0.171881-1.44830.075968
140.2223791.87380.032537
15-0.09472-0.79810.213729
16-0.070686-0.59560.276663
170.1543881.30090.09875
180.0013060.0110.495625
19-0.255709-2.15460.017292
200.3769893.17660.001103
21-0.199708-1.68280.048406
22-0.079166-0.66710.253446
230.183371.54510.063383
24-0.1479-1.24620.108389
25-0.019239-0.16210.43584
260.1315721.10860.135662
27-0.049546-0.41750.338794
28-0.056234-0.47380.318535
290.1884021.58750.058421
30-0.152027-1.2810.102181
310.0880990.74230.230168
320.0038480.03240.487113
33-0.135807-1.14430.128165
340.0685410.57750.282703
350.0408960.34460.365707
36-0.129853-1.09420.138792
370.1659921.39870.083131
38-0.043265-0.36460.358263
39-0.115419-0.97250.167041
400.164831.38890.084605
41-0.155038-1.30640.097821
420.0048870.04120.483636
430.071280.60060.275004
440.0170230.14340.443175
45-0.064788-0.54590.293419
460.1201621.01250.157367
47-0.08205-0.69140.245796
48-0.028494-0.24010.405475
490.0771070.64970.258986
50-0.097658-0.82290.206664
510.0522020.43990.330688
52-0.017883-0.15070.440327
530.0357750.30140.381977
540.0148820.12540.450282
55-0.023434-0.19750.422016
56-0.01121-0.09450.462506
570.0171380.14440.442795
58-0.018064-0.15220.439727
59-0.010382-0.08750.465269
600.0433450.36520.358012


Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
1-0.459392-3.87090.000119
2-0.293434-2.47250.007907
30.0247740.20880.41762
4-0.111897-0.94290.174474
5-0.246342-2.07570.020772
6-0.147417-1.24220.109133
7-0.011908-0.10030.460179
8-0.261068-2.19980.015539
90.1997281.68290.04839
10-0.11807-0.99490.161588
110.3050752.57060.006125
12-0.14911-1.25640.106541
13-0.261163-2.20060.015509
14-0.032567-0.27440.392282
150.0082850.06980.472271
16-0.163057-1.37390.086891
170.046820.39450.347192
18-0.162754-1.37140.087286
19-0.160827-1.35520.089832
20-0.061867-0.52130.301891
210.0358560.30210.381717
22-0.01044-0.0880.465076
230.0264550.22290.412123
24-0.105142-0.88590.189321
25-0.170377-1.43560.07775
26-0.101571-0.85590.19748
270.0371290.31290.377653
28-0.011478-0.09670.461614
290.0547470.46130.322996
300.0402240.33890.36783
31-0.01545-0.13020.448394
320.0005130.00430.49828
330.061630.51930.302581
34-0.043739-0.36860.356779
350.0913770.770.22194
36-0.113239-0.95420.171618
370.002480.02090.491694
38-0.137431-1.1580.125369
390.0084570.07130.471696
40-0.045961-0.38730.349855
41-0.119617-1.00790.15846
42-0.046395-0.39090.348508
43-0.027994-0.23590.407103
440.0383010.32270.373923
450.1479481.24660.108315
46-0.050643-0.42670.335435
470.0598590.50440.307777
48-0.034413-0.290.386342
49-0.033733-0.28420.388526
500.0670580.5650.286914
51-0.021622-0.18220.427975
52-0.058363-0.49180.312199
53-0.027893-0.2350.407431
54-0.02446-0.20610.418651
55-0.046792-0.39430.347278
560.0598090.5040.307925
570.0086030.07250.471209
58-0.017267-0.14550.442366
59-0.026266-0.22130.41274
60-0.044786-0.37740.353511
 
Charts produced by software:
http://www.freestatistics.org/blog/date/2009/Dec/20/t12613441773tg9zf79d0di4q4/1cik51261344105.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Dec/20/t12613441773tg9zf79d0di4q4/1cik51261344105.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Dec/20/t12613441773tg9zf79d0di4q4/2ev6q1261344105.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Dec/20/t12613441773tg9zf79d0di4q4/2ev6q1261344105.ps (open in new window)


 
Parameters (Session):
par1 = 60 ; par2 = 1 ; par3 = 1 ; par4 = 0 ; par5 = 12 ; par6 = White Noise ;
 
Parameters (R input):
par1 = 60 ; par2 = 1 ; par3 = 1 ; par4 = 1 ; par5 = 12 ; par6 = White Noise ;
 
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