Home » date » 2008 » Dec » 18 »

paper ACF d 1

*Unverified author*
R Software Module: rwasp_autocorrelation.wasp (opens new window with default values)
Title produced by software: (Partial) Autocorrelation Function
Date of computation: Thu, 18 Dec 2008 08:14:11 -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/18/t1229613286nwh6fk06coa81cd.htm/, Retrieved Thu, 18 Dec 2008 16:14:48 +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/18/t1229613286nwh6fk06coa81cd.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:
Severijns Britt
 
Dataseries X:
» Textbox « » Textfile « » CSV «
492865 480961 461935 456608 441977 439148 488180 520564 501492 485025 464196 460170 467037 460070 447988 442867 436087 431328 484015 509673 512927 502831 470984 471067 476049 474605 470439 461251 454724 455626 516847 525192 522975 518585 509239 512238 519164 517009 509933 509127 500857 506971 569323 579714 577992 565464 547344 554788 562325 560854 555332 543599 536662 542722 593530 610763 612613 611324 594167 595454 590865 589379 584428 573100 567456 569028 620735 628884 628232 612117 595404 597141 593408 590072 579799 574205 572775 572942 619567 625809 619916 587625 565742 557274 560576 548854 531673 525919 511038 498662 555362 564591 541657 527070 509846 514258 516922 507561 492622 490243 469357 477580 528379 533590
 
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.26932.73310.003693
2-0.181078-1.83770.034491
3-0.284281-2.88510.002383
4-0.295946-3.00350.001675
50.0205080.20810.417769
60.1822281.84940.033633
70.0383360.38910.349014
8-0.262736-2.66650.004451
9-0.256026-2.59840.005369
10-0.177627-1.80270.037178
110.2648852.68830.004189
120.798698.10580
130.1937941.96680.025948
14-0.123225-1.25060.106957
15-0.261859-2.65760.004562
16-0.270442-2.74470.003574
170.0116710.11840.452972
180.1353611.37380.086249
190.0147180.14940.440775
20-0.257828-2.61670.005107
21-0.243241-2.46860.007604
22-0.126283-1.28160.101425
230.2426172.46230.007732
240.6488566.58520
250.1299821.31920.095019
26-0.141954-1.44070.076354
27-0.233595-2.37070.009807
28-0.214489-2.17680.015889
290.0219680.22290.412008
300.0975260.98980.1623
31-0.00677-0.06870.472678
32-0.237344-2.40880.008891
33-0.204952-2.080.020002
34-0.112077-1.13750.128994
350.2047122.07760.020117
360.56765.76050
370.1215071.23320.110162
38-0.12763-1.29530.099055
39-0.237994-2.41540.00874
40-0.190891-1.93730.027722
410.0069550.07060.471932
420.0875390.88840.188192
43-0.000965-0.00980.4961
44-0.209321-2.12440.018016
45-0.169099-1.71620.044569
46-0.096322-0.97760.165291
470.1659761.68450.047559
480.4692984.76293e-06
490.104731.06290.145157
50-0.110504-1.12150.132343
51-0.183714-1.86450.03255
52-0.151496-1.53750.063616
53-0.018348-0.18620.426322
540.0781730.79340.214693
55-0.005757-0.05840.476763
56-0.165656-1.68120.047875
57-0.118816-1.20580.115319
58-0.081561-0.82780.204863
590.1519931.54260.063002
600.3909313.96756.7e-05


Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
10.26932.73310.003693
2-0.27343-2.7750.003278
3-0.173106-1.75680.040959
4-0.245137-2.48790.007228
50.0862090.87490.191825
60.0085660.08690.465445
7-0.117764-1.19520.117382
8-0.330292-3.35210.000561
9-0.122177-1.240.108904
10-0.255943-2.59750.005382
110.2196672.22940.01398
120.665726.75630
13-0.188871-1.91680.029016
140.1831351.85860.032968
150.0080940.08210.467346
160.0873780.88680.18863
17-0.036226-0.36770.356941
18-0.088016-0.89330.186899
19-0.043942-0.4460.32828
20-0.108024-1.09630.137747
21-0.061365-0.62280.2674
220.065610.66590.253491
23-0.146454-1.48630.070122
240.0861090.87390.1921
25-0.127985-1.29890.098439
26-0.124922-1.26780.10386
270.0671180.68120.248645
28-0.051528-0.5230.301065
290.0094660.09610.461828
30-0.081824-0.83040.20411
31-0.009192-0.09330.462928
320.0774710.78620.216765
33-0.039219-0.3980.345715
34-0.082023-0.83240.203543
35-0.031309-0.31780.375659
360.0661930.67180.251611
370.0957060.97130.166834
38-0.053652-0.54450.293633
39-0.1016-1.03110.152448
400.038280.38850.349225
41-0.115105-1.16820.122714
420.0610920.620.26831
43-0.09643-0.97870.165021
44-0.033992-0.3450.365406
450.0121770.12360.450941
46-0.050952-0.51710.303097
47-0.055008-0.55830.288934
48-0.058497-0.59370.277013
49-0.063014-0.63950.261951
50-0.018629-0.18910.425207
510.0148440.15070.440272
52-0.012068-0.12250.451379
53-0.010988-0.11150.455712
54-0.007695-0.07810.468951
55-0.026206-0.2660.3954
560.0389820.39560.346601
570.013640.13840.445083
58-0.021846-0.22170.41249
590.0328370.33330.369807
60-0.076193-0.77330.220567
 
Charts produced by software:
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/18/t1229613286nwh6fk06coa81cd/1uevt1229613249.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/18/t1229613286nwh6fk06coa81cd/1uevt1229613249.ps (open in new window)


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