Home » date » 2008 » Dec » 13 »

"(§(yery

*Unverified author*
R Software Module: rwasp_autocorrelation.wasp (opens new window with default values)
Title produced by software: (Partial) Autocorrelation Function
Date of computation: Sat, 13 Dec 2008 09:20:45 -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/13/t1229185420nedug7h86ezsx81.htm/, Retrieved Sat, 13 Dec 2008 17:23:42 +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/13/t1229185420nedug7h86ezsx81.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 «
554.79 562.33 560.85 555.33 543.6 536.66 542.72 593.53 610.76 612.61 611.32 594.17 595.45 590.87 589.38 584.43 573.1 567.46 569.03 620.74 628.88 628.23 612.12 595.4 597.14 593.41 590.07 579.8 574.21 572.78 572.94 619.57 625.81 619.92 587.63 565.74 557.27 560.58 548.85 531.67 525.92 511.04 498.66 555.36 564.59 541.66 527.07 509.85 514.26 516.92 507.56 492.62 490.24 469.36 477.58 528.38 533.59 517.95 506.17 501.87
 
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'George Udny Yule' @ 72.249.76.132


Autocorrelation Function
Time lag kACF(k)T-STATP-value
10.8850426.85550
20.7227425.59830
30.605584.69088e-06
40.5548374.29773.2e-05
50.5498024.25883.7e-05
60.5091533.94390.000106
70.4330083.35410.000692
80.3616692.80150.003419
90.3368752.60940.005717
100.367112.84360.003045
110.4309523.33810.000726
120.4391643.40170.000599
130.300352.32650.011693
140.1432711.10980.135763
150.0303770.23530.407387
16-0.015087-0.11690.453681
17-0.02922-0.22630.410853
18-0.082474-0.63880.262678
19-0.151827-1.1760.122111
20-0.214896-1.66460.050606
21-0.232126-1.7980.038601
22-0.203175-1.57380.060398
23-0.156536-1.21250.115033
24-0.150511-1.16590.124143
25-0.236841-1.83460.035765
26-0.332105-2.57250.006295
27-0.376243-2.91440.002501
28-0.370266-2.86810.002846
29-0.340966-2.64110.00526
30-0.341933-2.64860.005157
31-0.35907-2.78130.003612
32-0.373535-2.89340.002652
33-0.352236-2.72840.004168
34-0.304222-2.35650.010866
35-0.245507-1.90170.031008
36-0.20757-1.60780.056561
37-0.236926-1.83520.035716
38-0.267643-2.07320.02123
39-0.261964-2.02920.023443
40-0.227624-1.76320.041482
41-0.185015-1.43310.078507
42-0.176953-1.37070.087791
43-0.181925-1.40920.081972
44-0.177554-1.37530.087072
45-0.148701-1.15180.126979
46-0.110965-0.85950.196734
47-0.068168-0.5280.299715
48-0.039992-0.30980.378903
49-0.042362-0.32810.371975
50-0.039069-0.30260.381611
51-0.021676-0.16790.433612
520.0078590.06090.475829
530.0341780.26470.396059
540.028330.21940.413523
550.0132970.1030.459153
560.0032680.02530.489943
570.0009920.00770.496947
580.0018310.01420.494367
590.0031910.02470.49018
60NANANA


Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
10.8850426.85550
2-0.279454-2.16460.017202
30.1726781.33760.093045
40.1565431.21260.115022
50.119470.92540.179229
6-0.18368-1.42280.079989
7-0.018087-0.14010.444523
80.040070.31040.378672
90.1245230.96450.169321
100.1206210.93430.17694
110.1892391.46580.073957
12-0.178134-1.37980.086381
13-0.582263-4.51021.5e-05
140.0692260.53620.296893
15-0.074474-0.57690.283092
16-0.041682-0.32290.373959
17-0.04601-0.35640.361398
180.0718260.55640.290017
190.0297070.23010.409396
20-0.175726-1.36120.089275
210.0414230.32090.374717
22-0.03012-0.23330.408158
23-0.046261-0.35830.360675
240.0432210.33480.369475
250.0158070.12240.451479
26-0.045843-0.35510.361879
270.0690930.53520.297247
28-0.078005-0.60420.273987
290.0701850.54360.294349
300.0036520.02830.488763
31-0.006806-0.05270.479066
32-0.045209-0.35020.363713
33-0.008845-0.06850.472802
34-0.038391-0.29740.383605
35-0.010169-0.07880.46874
360.1023610.79290.215485
37-0.034891-0.27030.393942
380.0159160.12330.451147
39-0.02764-0.21410.415599
40-0.02566-0.19880.42156
41-0.141872-1.09890.138094
42-0.035465-0.27470.39224
430.0470680.36460.358352
440.0146680.11360.454959
45-0.003544-0.02740.489097
46-0.042295-0.32760.372172
470.0220710.1710.432416
48-0.07816-0.60540.273589
490.1314041.01790.156418
50-0.015476-0.11990.45249
51-0.013365-0.10350.458947
52-0.015855-0.12280.451335
530.0209980.16260.435672
54-0.077205-0.5980.276037
55-0.053936-0.41780.338798
560.0087170.06750.473196
57-0.08199-0.63510.263892
58-0.007612-0.0590.47659
59-0.046961-0.36380.358658
60NANANA
 
Charts produced by software:
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/13/t1229185420nedug7h86ezsx81/158v61229185243.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/13/t1229185420nedug7h86ezsx81/158v61229185243.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/13/t1229185420nedug7h86ezsx81/2jzvg1229185243.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/13/t1229185420nedug7h86ezsx81/2jzvg1229185243.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