Home » date » 2008 » Dec » 08 »

*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: Mon, 08 Dec 2008 11:57:28 -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/08/t1228762713ia140kfdfoy8azh.htm/, Retrieved Mon, 08 Dec 2008 18:58:35 +0000
 
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/08/t1228762713ia140kfdfoy8azh.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},
}
 
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
 
Feedback Forum:
2008-11-27 13:41:43 [a2386b643d711541400692649981f2dc] [reply
test

Post a new message
 
Original text written by user:
 
IsPrivate?
No (this computation is public)
 
User-defined keywords:
 
Dataseries X:
» Textbox « » Textfile « » CSV «
14897 13063 12604 13630 14421 13978 12928 13430 13470 14786 14292 14309 14013 13241 12153 14290 15669 14170 14570 14469 14265 15321 14434 13692 14194 13519 11858 14616 15643 14077 14888 14160 14643 17193 15386 14287 17527 14497 14398 16630 16671 16615 16869 15664 16360 18448 16889 16505 18321 15052 15700 18135 16769 18883 19021 18102 17776 21490 17065 18690 18953 16399 16896 18553 19270 19422 17579 18637 18077 20439 18075 19563 19899 19228 17790 19221 22059 21231 19504 23913 23166 23574 25002 22604 23409
 
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.404446-3.70680.000188
2-0.250422-2.29520.012109
30.3370233.08890.001362
4-0.170477-1.56240.060971
5-0.114105-1.04580.149329
60.3144472.8820.002508
7-0.218417-2.00180.024265
8-0.043523-0.39890.345492
90.2333562.13870.01768
10-0.273471-2.50640.007062
11-0.1267-1.16120.124419
120.5523255.06211e-06
13-0.259793-2.3810.009763
14-0.123421-1.13120.130602
150.1610181.47580.071874
16-0.157658-1.4450.076095
170.0490150.44920.327211
180.1299871.19140.118435
19-0.14953-1.37050.087097
200.0324810.29770.383337
210.0751320.68860.246488
22-0.210471-1.9290.028554
230.0689050.63150.264707
240.2043851.87320.032258
25-0.057962-0.53120.298332
26-0.058553-0.53660.296466
270.0109980.10080.459976
28-0.067318-0.6170.269458
290.1143181.04770.148882
30-0.062035-0.56860.285586
31-0.019104-0.17510.430715
320.0436820.40040.344956
33-0.014809-0.13570.446181
34-0.116626-1.06890.14409
350.0358980.3290.371482
360.1464531.34230.091563
37-0.001575-0.01440.494258
38-0.082187-0.75330.2267
39-0.015641-0.14340.443176
400.014320.13120.447946
410.040410.37040.356022
42-0.056741-0.520.302203
430.035810.32820.371788
440.029450.26990.393943
45-0.077134-0.70690.240779
460.0364720.33430.369504
47-0.077644-0.71160.239335
480.1397131.28050.101949
490.0464340.42560.335754
50-0.123452-1.13150.130541
51-0.011099-0.10170.459609
520.0532680.48820.313336
53-0.038896-0.35650.361185
540.0273250.25040.401432
550.0004480.00410.498366
56-0.035768-0.32780.371932
570.0153270.14050.44431
58-0.018115-0.1660.434266
59-0.051259-0.46980.319859
600.1089270.99830.160493


Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
1-0.404446-3.70680.000188
2-0.494962-4.53649e-06
3-0.02308-0.21150.416491
4-0.157851-1.44670.075847
5-0.187072-1.71450.045058
60.1171181.07340.143081
7-0.058594-0.5370.296337
8-0.017965-0.16460.434808
90.0833290.76370.223587
10-0.153427-1.40620.081679
11-0.375956-3.44570.000446
120.2486812.27920.012596
130.2177791.9960.024588
140.2016021.84770.034082
15-0.069038-0.63270.264309
16-0.135389-1.24090.109055
170.0049960.04580.481794
18-0.085098-0.77990.218811
190.0109070.10.460305
200.0009380.00860.496582
21-0.043028-0.39440.347158
22-0.106908-0.97980.164992
230.0217840.19970.421116
24-0.058969-0.54050.295156
250.1410341.29260.099847
260.1050730.9630.169154
270.1065260.97630.165852
280.0456540.41840.338351
290.0523660.47990.316258
30-0.11756-1.07750.14218
31-0.100744-0.92330.179238
32-0.08177-0.74940.227845
330.0567650.52030.302125
340.0430720.39480.34701
35-0.13493-1.23670.10983
360.0393740.36090.359552
37-0.001403-0.01290.494885
380.0084240.07720.469322
39-0.006964-0.06380.47463
400.0608830.5580.289162
410.0195520.17920.429109
42-0.021167-0.1940.423324
43-0.005208-0.04770.481021
440.0631190.57850.282238
45-0.061034-0.55940.288694
460.1340161.22830.111387
470.0363950.33360.369769
480.0490320.44940.327154
49-0.010159-0.09310.463021
50-0.057284-0.5250.300478
51-0.051226-0.46950.319968
52-0.094151-0.86290.195323
53-0.027087-0.24830.402272
540.0490090.44920.327232
550.021310.19530.422812
56-0.08293-0.76010.224671
570.0357090.32730.372134
58-0.097673-0.89520.186623
590.0752230.68940.246227
60-0.026226-0.24040.405318
 
Charts produced by software:
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/08/t1228762713ia140kfdfoy8azh/1bghp1228762646.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/08/t1228762713ia140kfdfoy8azh/1bghp1228762646.ps (open in new window)


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