Home » date » 2009 » Dec » 30 »

*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: Wed, 30 Dec 2009 07:41:38 -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/30/t12621854544sz5j06vtdm5yft.htm/, Retrieved Wed, 30 Dec 2009 16:04:16 +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/30/t12621854544sz5j06vtdm5yft.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 «
28029 29383 36438 32034 22679 24319 18004 17537 20366 22782 19169 13807 29743 25591 29096 26482 22405 27044 17970 18730 19684 19785 18479 10698 31956 29506 34506 27165 26736 23691 18157 17328 18205 20995 17382 9367 31124 26551 30651 25859 25100 25778 20418 18688 20424 24776 19814 12738 31566 30111 30019 31934 25826 26835 20205 17789 20520 22518 15572 11509 25447 24090 27786 26195 20516 22759 19028 16971 20036 22485
 
Output produced by software:


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


Autocorrelation Function
Time lag kACF(k)T-STATP-value
1-0.335149-2.7840.003462
2-0.024948-0.20720.418219
3-0.009152-0.0760.469811
4-0.058923-0.48950.313038
50.1112650.92420.179292
6-0.352902-2.93140.002287
70.1229241.02110.155391
8-0.043751-0.36340.3587
9-0.027294-0.22670.410656
10-0.010908-0.09060.464033
11-0.254189-2.11150.019179
120.7640586.34670
13-0.270072-2.24340.014043
140.0011010.00910.496363
15-0.001894-0.01570.493746
16-0.051944-0.43150.333733
170.1054190.87570.192123
18-0.303498-2.5210.007008
190.106190.88210.190399
20-0.041974-0.34870.364202
21-0.041851-0.34760.364585
22-0.013493-0.11210.455542
23-0.152205-1.26430.105187
240.5386994.47481.5e-05
25-0.152615-1.26770.104581
26-0.017893-0.14860.441141
270.0168990.14040.444388
28-0.060755-0.50470.307699
290.0877290.72870.234315
30-0.229058-1.90270.030627
310.0987350.82020.207476
32-0.044419-0.3690.356638
33-0.049412-0.41040.341375
340.0230870.19180.42424
35-0.109246-0.90750.18366
360.3302462.74320.003873
37-0.07036-0.58450.280411
38-0.035698-0.29650.383859
390.0330360.27440.392291
40-0.04973-0.41310.340412
410.0295440.24540.403432
42-0.127119-1.05590.147343
430.0842580.69990.243172
44-0.054368-0.45160.326483
45-0.027451-0.2280.410151
460.0307420.25540.399601
47-0.059519-0.49440.311295
480.16151.34150.092075
49-0.024151-0.20060.420795
50-0.020722-0.17210.431918
510.0236560.19650.422398
52-0.031-0.25750.398777
530.0061550.05110.479686
54-0.01856-0.15420.438961
550.0256160.21280.416062
56-0.045726-0.37980.352621
57-0.014108-0.11720.453525
580.0196090.16290.435544
59-0.007279-0.06050.475981
600.0441640.36690.357426


Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
1-0.335149-2.7840.003462
2-0.154643-1.28460.101621
3-0.081522-0.67720.250281
4-0.10985-0.91250.182346
50.0533410.44310.329544
6-0.360009-2.99050.00193
7-0.16288-1.3530.090238
8-0.185754-1.5430.063704
9-0.199519-1.65730.050997
10-0.265966-2.20930.015239
11-0.636324-5.28571e-06
120.3819783.17290.001127
130.0504740.41930.338161
140.0293850.24410.403943
15-0.042332-0.35160.363093
16-0.030064-0.24970.40177
17-0.027811-0.2310.408992
180.0478670.39760.346072
19-0.017339-0.1440.442949
20-0.040484-0.33630.368838
21-0.070878-0.58880.278973
22-0.107766-0.89520.186904
230.0267040.22180.412556
24-0.126732-1.05270.148072
250.0721120.5990.275565
26-0.065143-0.54110.295083
270.0020190.01680.493335
28-0.083148-0.69070.246042
29-0.051665-0.42920.334571
30-0.01372-0.1140.454797
310.0698580.58030.281806
320.0176960.1470.441783
330.017510.14550.442389
340.1418831.17860.121309
350.06610.54910.292364
36-0.020321-0.16880.433225
37-0.042087-0.34960.363851
38-0.027539-0.22880.409867
39-0.042088-0.34960.363849
400.033560.27880.390629
41-0.153093-1.27170.103877
42-0.039848-0.3310.370822
43-0.038543-0.32020.374906
44-0.055621-0.4620.322758
450.0207220.17210.431921
46-0.031937-0.26530.395788
470.0349260.29010.386299
48-0.082443-0.68480.247875
49-0.069683-0.57880.282293
50-0.044412-0.36890.35666
51-0.040246-0.33430.36958
52-0.046365-0.38510.35066
530.0437830.36370.358603
540.0797330.66230.25499
55-0.019595-0.16280.435588
560.021610.17950.429033
57-0.034898-0.28990.386386
58-0.016931-0.14060.444281
590.0160390.13320.447201
600.0391420.32510.373032
 
Charts produced by software:
http://www.freestatistics.org/blog/date/2009/Dec/30/t12621854544sz5j06vtdm5yft/1cput1262184093.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Dec/30/t12621854544sz5j06vtdm5yft/1cput1262184093.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Dec/30/t12621854544sz5j06vtdm5yft/2xdy01262184093.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Dec/30/t12621854544sz5j06vtdm5yft/2xdy01262184093.ps (open in new window)


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





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