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 12:00:06 -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/t122954044799l8k5kd905s0m3.htm/, Retrieved Wed, 17 Dec 2008 20:00:49 +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/t122954044799l8k5kd905s0m3.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 time1 seconds
R Server'Gwilym Jenkins' @ 72.249.127.135


Autocorrelation Function
Time lag kACF(k)T-STATP-value
1-0.251187-2.58610.005531
2-0.250183-2.57580.005689
3-0.038911-0.40060.344755
40.0640820.65980.25542
50.0743470.76540.222853
6-0.075594-0.77830.219068
7-0.091927-0.94640.173036
80.1266361.30380.097563
9-0.018995-0.19560.422661
10-0.193644-1.99370.024378
110.1391951.43310.077386
12-0.061728-0.63550.263226
130.2552532.6280.004932
14-0.121819-1.25420.106263
15-0.058519-0.60250.274066
160.016950.17450.430899
17-0.059021-0.60770.272357
180.1274761.31240.096103
19-0.038059-0.39180.347983
200.0139940.14410.442855
21-0.09333-0.96090.169396
220.0165330.17020.43258
23-0.093835-0.96610.168098
240.1107061.13980.128472
25-0.028651-0.2950.384293
260.1424031.46610.072787
27-0.123551-1.2720.103073
28-0.122052-1.25660.10583
290.226792.33490.010715
30-0.00809-0.08330.466887
31-0.062056-0.63890.262132
32-0.11871-1.22220.112172
330.1430041.47230.071949
34-0.088035-0.90640.183397
350.0681420.70160.242246
36-0.099899-1.02850.153024
370.0607060.6250.266654
380.0495380.510.305546
39-0.00987-0.10160.459627
40-0.120434-1.23990.108868
410.047640.49050.312402
420.1882051.93770.027661
43-0.061315-0.63130.264609
44-0.075586-0.77820.219089
45-0.074111-0.7630.223574
460.0159170.16390.43507
470.0709440.73040.233375
480.0558390.57490.283288
49-0.070907-0.730.23349
50-0.028771-0.29620.383821
51-0.018225-0.18760.425759
52-0.013756-0.14160.44382
530.0805540.82940.204383
54-0.040914-0.42120.337218
550.1010831.04070.150189
56-0.082329-0.84760.199277
57-0.055508-0.57150.284438
580.0572720.58960.27834
590.0063860.06570.473851
60-0.012819-0.1320.447626


Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
1-0.251187-2.58610.005531
2-0.334375-3.44260.000413
3-0.248461-2.55810.005969
4-0.152531-1.57040.059651
5-0.04142-0.42640.335323
6-0.099504-1.02450.153976
7-0.160831-1.65590.050354
8-0.000573-0.00590.497653
9-0.070904-0.730.233498
10-0.276421-2.84590.002659
11-0.068188-0.7020.242097
12-0.256577-2.64160.00475
130.1444351.4870.069985
14-0.032763-0.33730.368274
150.0739750.76160.22399
160.0036580.03770.485013
17-0.127092-1.30850.096768
180.1028471.05890.146032
19-0.045345-0.46690.320781
200.1401841.44330.075945
21-0.061136-0.62940.265211
220.0002570.00260.498949
23-0.10113-1.04120.150077
24-0.109199-1.12430.131719
25-0.045084-0.46420.32174
260.0244880.25210.40072
27-0.070125-0.7220.235948
28-0.16362-1.68460.047506
290.0938790.96650.167986
300.0649860.66910.252451
31-0.071618-0.73730.23127
32-0.11082-1.1410.128227
33-0.009322-0.0960.461861
34-0.147763-1.52130.065579
350.0666830.68650.246936
360.0001560.00160.499362
37-0.048477-0.49910.309372
38-0.026655-0.27440.392146
390.0307240.31630.376188
40-0.142207-1.46410.073061
41-0.005744-0.05910.476479
420.0865170.89070.187542
430.1051441.08250.140738
44-0.030192-0.31080.378263
450.0671760.69160.245343
46-0.17922-1.84520.033902
470.0225190.23180.408552
480.048360.49790.309794
490.039550.40720.342342
500.0242850.250.401526
51-0.067022-0.690.245842
52-0.033728-0.34720.364547
53-0.058731-0.60470.273345
54-0.035677-0.36730.357057
55-0.039259-0.40420.343442
56-0.100308-1.03270.152041
57-0.019256-0.19830.421614
580.0466710.48050.315928
59-0.046637-0.48020.316054
60-0.010935-0.11260.455287
 
Charts produced by software:
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/17/t122954044799l8k5kd905s0m3/153111229540403.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/17/t122954044799l8k5kd905s0m3/153111229540403.ps (open in new window)


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


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