Home » date » 2008 » Dec » 17 »

*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, 17 Dec 2008 11:57:05 -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/17/t1229540255448kptb45q8kx6g.htm/, Retrieved Wed, 17 Dec 2008 19:57:35 +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/17/t1229540255448kptb45q8kx6g.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 «
1721 1476 1842 2171 1670 1540 1266 897 1266 1519 1074 1435 1385 1440 1883 1822 1661 1774 1133 1361 1688 2216 2896 1382 1330 1419 1662 2040 2126 1649 1610 1952 2102 1749 2091 3036 2414 2097 2705 2431 4192 3990 2854 1966 2431 2763 2831 2023 2934 2489 3252 3018 3193 3976 2584 2512 2169 2504 1843 1408 2179 3690 2372 2494 3872 2786 2312 1599 3167 3433 2648 1978 1947 3113 2856 3174 3507 4174 2978 4428 2832 2930 3681 3253 1660 2208 3139 3409 3445 2410 3262 2897 2526 3982 4097 3403 3362 2708 3129 3550 2696 2885 2945 3600 3808 3671 4005
 
Output produced by software:


Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time2 seconds
R Server'Sir Ronald Aylmer Fisher' @ 193.190.124.24


Autocorrelation Function
Time lag kACF(k)T-STATP-value
10.6526456.7510
20.4736264.89922e-06
30.4596574.75473e-06
40.4782714.94731e-06
50.4617544.77643e-06
60.3957674.09384.1e-05
70.3798033.92877.6e-05
80.4032174.17093.1e-05
90.3547673.66970.00019
100.3291423.40470.000467
110.4128814.27092.1e-05
120.4074934.21512.6e-05
130.4279864.42711.2e-05
140.282712.92440.002107
150.2498332.58430.005553
160.247262.55770.005969
170.2243112.32030.011111
180.2574252.66280.004473
190.179431.8560.0331
200.128831.33260.092742
210.0771020.79760.213448
220.1099851.13770.128894
230.1498321.54990.062062
240.2042992.11330.018451
250.1764351.82510.035391
260.182191.88460.0311
270.0982831.01660.155807
280.0680140.70350.241624
290.1463191.51350.066546
300.0467310.48340.314902
31-0.035837-0.37070.355796
32-0.068185-0.70530.241074
33-0.015241-0.15770.437513
34-0.065483-0.67740.249819
35-0.032056-0.33160.370423
36-0.034079-0.35250.362571
370.0099150.10260.459252
38-0.004976-0.05150.479524
39-0.041336-0.42760.334908
40-0.043931-0.45440.325222
410.0375580.38850.349206
420.0766120.79250.214918
43-0.041277-0.4270.335127
44-0.102043-1.05550.146777
45-0.106189-1.09840.137241
46-0.084028-0.86920.193343
47-0.042675-0.44140.329895
48-0.041661-0.43090.333687
49-0.0762-0.78820.216156
50-0.081775-0.84590.199752
51-0.05405-0.55910.288631
52-0.023543-0.24350.404028
530.0163010.16860.433206
54-0.015711-0.16250.435603
55-0.020784-0.2150.41509
56-0.090153-0.93260.176576
57-0.114123-1.18050.12021
58-0.083795-0.86680.193999
59-0.107203-1.10890.134975
60-0.12236-1.26570.104184


Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
10.6526456.7510
20.0830610.85920.196079
30.2140232.21390.01448
40.1709751.76860.039907
50.0999211.03360.151829
60.001650.01710.493205
70.0683340.70690.240598
80.0902450.93350.176331
9-0.039209-0.40560.342931
100.0346350.35830.360423
110.1992152.06070.020878
120.0082560.08540.466052
130.1405111.45350.074512
14-0.226663-2.34460.010446
150.0038380.03970.484202
16-0.093563-0.96780.167658
17-0.031287-0.32360.373425
180.1029641.06510.14462
19-0.156031-1.6140.054737
20-0.023012-0.2380.406153
21-0.152927-1.58190.058313
220.0764330.79060.215456
230.0440780.45590.324676
240.090250.93360.176317
250.0740310.76580.222744
260.0210510.21780.414017
27-0.072145-0.74630.228571
28-0.040628-0.42030.337568
290.120431.24570.107792
30-0.222827-2.30490.01155
31-0.138364-1.43120.077637
320.0296320.30650.379903
330.0462490.47840.31667
34-0.110202-1.13990.128429
350.098671.02070.15486
36-0.08048-0.83250.203493
370.0181170.18740.42585
380.0327990.33930.367534
390.0525190.54330.29404
40-0.026933-0.27860.390545
410.1979682.04780.021515
420.035710.36940.356283
43-0.05565-0.57560.283032
44-0.08874-0.91790.180358
450.0110720.11450.454515
46-0.090552-0.93670.175516
470.1538191.59110.057267
48-0.06164-0.63760.262545
49-0.056877-0.58830.27877
50-0.05467-0.56550.286454
510.0045710.04730.481189
520.0074230.07680.469469
530.0191860.19850.421532
540.007930.0820.467388
55-0.035736-0.36970.356186
56-0.000553-0.00570.497721
570.0511630.52920.298868
58-0.014554-0.15050.440309
59-0.136658-1.41360.08019
60-0.010313-0.10670.457623
 
Charts produced by software:
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/17/t1229540255448kptb45q8kx6g/1y9xq1229540220.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/17/t1229540255448kptb45q8kx6g/1y9xq1229540220.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/17/t1229540255448kptb45q8kx6g/2x28s1229540220.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/17/t1229540255448kptb45q8kx6g/2x28s1229540220.ps (open in new window)


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