Home » date » 2008 » Dec » 19 »

Paper7

*Unverified author*
R Software Module: rwasp_autocorrelation.wasp (opens new window with default values)
Title produced by software: (Partial) Autocorrelation Function
Date of computation: Fri, 19 Dec 2008 06:10:38 -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/19/t1229692269j05qounfo7cw5cw.htm/, Retrieved Fri, 19 Dec 2008 14:11:16 +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/19/t1229692269j05qounfo7cw5cw.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 «
528 478 469 490 493 508 517 514 510 527 542 565 555 499 511 526 532 549 561 557 566 588 620 626 620 573 573 574 580 590 593 597 595 612 628 629 621 569 567 573 584 589 591 595 594 611 613 611 594 543 537 544 555 561 562 555 547 565 578 580
 
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'George Udny Yule' @ 72.249.76.132


Autocorrelation Function
Time lag kACF(k)T-STATP-value
10.8840376.84770
20.6956795.38871e-06
30.5426374.20324.4e-05
40.4573383.54250.000387
50.425863.29870.000818
60.3916053.03340.001785
70.3250282.51770.007251
80.2472391.91510.030125
90.2292161.77550.040443
100.2799362.16840.017053
110.371522.87780.00277
120.409033.16830.001206
130.285182.2090.015502
140.1113060.86220.196013
15-0.029172-0.2260.410997
16-0.107884-0.83570.203329
17-0.142286-1.10210.1374
18-0.176713-1.36880.08808
19-0.231782-1.79540.038815
20-0.293486-2.27330.0133
21-0.292951-2.26920.013433
22-0.233198-1.80630.03794
23-0.1421-1.10070.137711
24-0.092402-0.71570.238462
25-0.152357-1.18020.121298
26-0.252666-1.95710.027494
27-0.323023-2.50210.007544
28-0.344759-2.67050.004866
29-0.338928-2.62530.005483
30-0.334089-2.58780.006048
31-0.344898-2.67160.004853
32-0.355603-2.75450.003885
33-0.32058-2.48320.007917
34-0.247387-1.91630.03005
35-0.150708-1.16740.123838
36-0.086254-0.66810.253309
37-0.102586-0.79460.21498
38-0.154117-1.19380.11863
39-0.17959-1.39110.084667
40-0.175508-1.35950.089542
41-0.157398-1.21920.11377
42-0.142878-1.10670.136414
43-0.138979-1.07650.143
44-0.135431-1.0490.149183
45-0.103034-0.79810.21398
46-0.041874-0.32440.373399
470.0298540.23120.408955
480.0712040.55150.291655
490.0669590.51870.302953
500.040190.31130.378323
510.0197980.15340.439316
520.0115610.08950.464472
530.0079260.06140.475623
540.0048820.03780.484979
55-0.005537-0.04290.482965
56-0.021603-0.16730.433835
57-0.029779-0.23070.409178
58-0.020247-0.15680.437951
59-0.006195-0.0480.480944
60NANANA


Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
10.8840376.84770
2-0.392907-3.04340.001734
30.1804361.39770.083682
40.1066890.82640.205923
50.0795740.61640.269988
6-0.103382-0.80080.213205
7-0.070371-0.54510.293857
80.0197290.15280.439526
90.2637482.0430.022727
100.1123770.87050.193758
110.1565671.21280.114987
12-0.21974-1.70210.046957
13-0.588417-4.55791.3e-05
140.150841.16840.123633
15-0.075507-0.58490.280412
16-0.05411-0.41910.338309
17-0.050067-0.38780.34976
18-0.03615-0.280.390214
190.0851780.65980.255958
20-0.022876-0.17720.429975
210.0329920.25560.399585
22-0.073916-0.57260.284543
23-0.03922-0.30380.381166
240.0355750.27560.391914
250.0146780.11370.45493
26-0.080275-0.62180.268212
270.0519960.40280.344278
28-0.065482-0.50720.306931
290.0049270.03820.484842
300.0155490.12040.452267
31-0.014114-0.10930.456653
320.0549940.4260.335823
33-0.116535-0.90270.185153
34-0.027481-0.21290.416078
350.0778490.6030.274385
36-0.042281-0.32750.372213
37-0.022975-0.1780.429677
38-0.030098-0.23310.408224
390.0440250.3410.367141
40-0.048273-0.37390.354891
410.0168620.13060.448259
42-0.03167-0.24530.403526
430.0227830.17650.430257
44-0.054382-0.42120.337542
450.0159520.12360.451037
460.0212150.16430.435012
47-0.082815-0.64150.261825
48-0.019651-0.15220.439764
490.1538141.19140.119086
50-0.044007-0.34090.367193
51-0.145546-1.12740.132033
520.0385260.29840.383207
53-0.028579-0.22140.412778
540.0440220.3410.367151
55-0.091218-0.70660.241283
56-0.096852-0.75020.22803
57-0.081808-0.63370.264348
58-0.038581-0.29880.383046
590.0156650.12130.451912
60NANANA
 
Charts produced by software:
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/19/t1229692269j05qounfo7cw5cw/1ukvr1229692236.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/19/t1229692269j05qounfo7cw5cw/1ukvr1229692236.ps (open in new window)


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