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 05:46:58 -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/t1229518086oej87l8u4x5rk1l.htm/, Retrieved Wed, 17 Dec 2008 13:48:08 +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/t1229518086oej87l8u4x5rk1l.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 «
15023.6 12083 15761.3 16943 15070.3 13659.6 14768.9 14725.1 15998.1 15370.6 14956.9 15469.7 15101.8 11703.7 16283.6 16726.5 14968.9 14861 14583.3 15305.8 17903.9 16379.4 15420.3 17870.5 15912.8 13866.5 17823.2 17872 17420.4 16704.4 15991.2 16583.6 19123.5 17838.7 17209.4 18586.5 16258.1 15141.6 19202.1 17746.5 19090.1 18040.3 17515.5 17751.8 21072.4 17170 19439.5 19795.4 17574.9 16165.4 19464.6 19932.1 19961.2 17343.4 18924.2 18574.1 21350.6 18840.1 20304.8 21132.4 19753.9
 
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
10.5664464.42412e-05
20.4104653.20580.001072
30.5063423.95470.000101
40.52324.08636.5e-05
50.4575113.57330.000348
60.552644.31633e-05
70.3572482.79020.00351
80.4300893.35910.000676
90.3678992.87340.00279
100.1791121.39890.083452
110.2928412.28720.012835
120.5649354.41232.1e-05
130.2417841.88840.031866
140.147541.15230.126842
150.1703311.33030.094182
160.1505851.17610.122061
170.147961.15560.126174
180.1826761.42670.079376
190.0131070.10240.459398
200.0750760.58640.279898
210.0140670.10990.456437
22-0.162571-1.26970.104503
23-0.018918-0.14780.441513
240.1351891.05590.147598
25-0.081769-0.63860.262725
26-0.127487-0.99570.161663
27-0.137694-1.07540.14321
28-0.144994-1.13240.13094
29-0.128897-1.00670.159023
30-0.127171-0.99320.162259
31-0.218722-1.70830.046335
32-0.135962-1.06190.146234
33-0.224122-1.75040.042535
34-0.3221-2.51570.007265
35-0.217428-1.69820.047286
36-0.113579-0.88710.189259
37-0.249025-1.94490.028197
38-0.283003-2.21030.015422
39-0.299624-2.34010.011282
40-0.266959-2.0850.02063
41-0.269014-2.10110.019887
42-0.271806-2.12290.018916
43-0.315777-2.46630.008239
44-0.216632-1.69190.047879
45-0.268195-2.09470.020181
46-0.318023-2.48380.00788
47-0.24717-1.93050.029101
48-0.147931-1.15540.12622
49-0.199015-1.55440.062636
50-0.224269-1.75160.042435
51-0.214045-1.67170.049849
52-0.160739-1.25540.107058
53-0.154371-1.20570.1163
54-0.158104-1.23480.110814
55-0.160995-1.25740.106699
56-0.10002-0.78120.218858
57-0.091948-0.71810.237707
58-0.110225-0.86090.196337
59-0.078857-0.61590.270129
60-0.019881-0.15530.438559


Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
10.5664464.42412e-05
20.1319381.03050.153429
30.3443292.68930.004611
40.1998061.56050.061903
50.1013640.79170.215809
60.2932912.29070.012726
7-0.248276-1.93910.02856
80.2621242.04730.022474
9-0.281235-2.19650.015933
10-0.269301-2.10330.019785
110.260872.03750.022974
120.3114692.43270.008968
13-0.283189-2.21180.015369
14-0.068154-0.53230.298227
15-0.130898-1.02230.155327
16-0.07501-0.58580.280071
17-0.051057-0.39880.345728
18-0.039388-0.30760.379704
190.0431020.33660.368774
20-0.159325-1.24440.109062
210.0221050.17260.43175
22-0.047467-0.37070.356062
230.1247550.97440.166862
24-0.047218-0.36880.356783
250.0091010.07110.471783
260.0076490.05970.47628
27-0.108747-0.84930.199506
280.083750.65410.257749
29-0.220244-1.72020.045236
300.0458370.3580.360789
31-0.000309-0.00240.499041
32-0.004352-0.0340.486499
330.0003530.00280.498905
340.0599560.46830.32063
35-0.104713-0.81780.208317
360.0224330.17520.430748
37-0.082908-0.64750.259858
38-0.073134-0.57120.284984
390.0211170.16490.434772
40-0.088069-0.68780.24708
410.0109030.08520.466208
42-0.050239-0.39240.348074
430.0117730.0920.463519
440.0519960.40610.343043
450.1262650.98620.163975
46-0.037702-0.29450.384701
470.0620710.48480.31478
48-0.027252-0.21280.416079
490.0078270.06110.475728
50-0.008874-0.06930.472486
51-0.017264-0.13480.446594
520.0260980.20380.419583
53-0.022603-0.17650.430228
540.0226940.17720.429951
55-0.00345-0.02690.489295
56-0.016506-0.12890.448924
570.0304160.23760.406512
580.0523940.40920.341909
59-0.040247-0.31430.377169
60-0.090347-0.70560.24155
 
Charts produced by software:
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/17/t1229518086oej87l8u4x5rk1l/1ld981229518016.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/17/t1229518086oej87l8u4x5rk1l/1ld981229518016.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/17/t1229518086oej87l8u4x5rk1l/2332l1229518016.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/17/t1229518086oej87l8u4x5rk1l/2332l1229518016.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