Home » date » 2009 » Nov » 24 »

ws4

*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: Tue, 24 Nov 2009 03:25:36 -0700
 
Cite this page as follows:
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL http://www.freestatistics.org/blog/date/2009/Nov/24/t1259058391x0xhtr2ql3x7vty.htm/, Retrieved Tue, 24 Nov 2009 11:26:33 +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/2009/Nov/24/t1259058391x0xhtr2ql3x7vty.htm/},
    year = {2009},
}
@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 = {2009},
    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 «
395.3 395.1 403.5 403.3 405.7 406.7 407.2 412.4 415.9 414 411.8 409.9 412.4 415.9 416.3 417.2 421.8 421.4 415.1 412.4 411.8 408.8 404.5 402.5 409.4 410.7 413.4 415.2 417.7 417.8 417.9 418.4 418.2 416.6 418.9 421 423.5 432.3 432.3 428.6 426.7 427.3 428.5 437 442 444.9 441.4 440.3 447.1 455.3 478.6 486.5 487.8 485.9 483.8 488.4 494 493.6 487.3 482.1 484.2 496.8 501.1 499.8 495.5 498.1 503.8 516.2 526.1 527.1 525.1 528.9 540.1 549 556 568.9 589.1 590.3 603.3 638.8 643 656.7 656.1 654.1 659.9 662.1 669.2 673.1 678.3 677.4 678.5 672.4 665.3 667.9 672.1 662.5 682.3 692.1 702.7 721.4 733.2 747.7 737.6 729.3 706.1 674.3 659 645.7
 
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.5114555.29050
20.3240573.35210.000555
30.1638561.69490.046498
4-0.056721-0.58670.279312
5-0.017145-0.17740.429784
6-0.092105-0.95270.171434
7-0.056982-0.58940.278408
8-0.147196-1.52260.065404
9-0.143409-1.48340.070449
10-0.026076-0.26970.393943
110.0729770.75490.225989
120.143491.48430.070339
130.0919550.95120.171825
140.0147260.15230.43961
150.009630.09960.46042
16-0.097288-1.00640.158258
170.0606120.6270.266006
180.1062821.09940.137033
19-0.000603-0.00620.497517
200.0664160.6870.24678
210.0111320.11510.454271
220.0717170.74180.229903
230.0147770.15290.4394
240.0203530.21050.416827
25-0.042642-0.44110.330017
26-0.172278-1.78210.038788
27-0.168199-1.73990.042379
28-0.124535-1.28820.100228
29-0.048278-0.49940.309264
30-0.083202-0.86060.195679
31-0.049528-0.51230.304741
32-0.093667-0.96890.167389
33-0.080361-0.83130.203839
34-0.051137-0.5290.298961
350.0020040.02070.491752
360.0143110.1480.441299
37-0.050926-0.52680.299718
38-0.057773-0.59760.275682
39-0.096429-0.99750.160394
40-0.084934-0.87860.190804
41-0.044184-0.4570.324283
42-0.032533-0.33650.368566
43-0.036853-0.38120.3519
44-0.033785-0.34950.363712
45-0.031728-0.32820.371702
460.0277330.28690.387383
470.039920.41290.340241
480.0787310.81440.208612
490.0523260.54130.294724
500.0197750.20460.419154
510.0405190.41910.337982
52-0.022382-0.23150.408677
53-0.041314-0.42740.334991
54-0.135878-1.40550.08138
55-0.147757-1.52840.064681
56-0.136453-1.41150.080502
57-0.137984-1.42730.0782
58-0.079284-0.82010.206987
59-0.01558-0.16120.436137
60-0.033772-0.34930.36376


Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
10.5114555.29050
20.0846020.87510.191733
3-0.042465-0.43930.330677
4-0.19973-2.0660.020621
50.1052821.0890.13929
6-0.081511-0.84320.20051
70.0382310.39550.346642
8-0.193197-1.99840.024103
90.0220150.22770.410145
100.0999791.03420.151689
110.1600881.6560.05033
12-0.013901-0.14380.442966
13-0.077516-0.80180.212215
14-0.092011-0.95180.17168
150.0955930.98880.162491
16-0.130076-1.34550.090652
170.2227572.30420.011571
180.0096120.09940.460492
19-0.078403-0.8110.209581
200.0473840.49010.312517
210.0612060.63310.264004
220.0368660.38130.351851
23-0.1307-1.3520.089617
240.003520.03640.485512
25-0.084581-0.87490.191792
26-0.031177-0.32250.373854
27-0.056488-0.58430.280118
280.0816480.84460.200117
29-0.034597-0.35790.360572
30-0.11563-1.19610.117153
310.0190740.19730.421983
32-0.119299-1.2340.109947
330.0473490.48980.312646
34-0.046268-0.47860.316601
35-0.009164-0.09480.46233
36-0.000827-0.00860.496597
37-0.024896-0.25750.398634
38-0.007248-0.0750.470188
39-0.098114-1.01490.156222
40-0.034149-0.35320.362301
410.0331570.3430.366145
42-0.050545-0.52280.301084
430.0232840.24090.405064
440.0342170.35390.362041
450.0232930.24090.405029
46-0.032161-0.33270.370016
470.0664270.68710.246745
480.0455950.47160.319074
49-0.039157-0.4050.343128
500.034010.35180.362838
510.0226810.23460.407477
52-0.013723-0.1420.443692
53-0.148893-1.54020.063236
54-0.063205-0.65380.257322
55-0.013996-0.14480.442579
56-0.017757-0.18370.427305
57-0.030366-0.31410.377026
58-0.083732-0.86610.194179
590.0721990.74680.228403
60-0.115575-1.19550.117264
 
Charts produced by software:
http://www.freestatistics.org/blog/date/2009/Nov/24/t1259058391x0xhtr2ql3x7vty/134rm1259058335.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/24/t1259058391x0xhtr2ql3x7vty/134rm1259058335.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Nov/24/t1259058391x0xhtr2ql3x7vty/2kb6o1259058335.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/24/t1259058391x0xhtr2ql3x7vty/2kb6o1259058335.ps (open in new window)


 
Parameters (Session):
par1 = 60 ; par2 = 1 ; par3 = 1 ; par4 = 0 ; par5 = 12 ; par6 = MA ; par7 = 0.95 ;
 
Parameters (R input):
par1 = 60 ; par2 = 1 ; par3 = 1 ; par4 = 0 ; par5 = 12 ; par6 = MA ; par7 = 0.95 ;
 
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 (par6 == 'White Noise') par6 <- 'white' else par6 <- 'ma'
par7 <- as.numeric(par7)
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='time lag', ylab='ACF', ci.type=par6, ci=par7, sub=paste('(lambda=',par2,', d=',par3,', D=',par4,', CI=', par7, ', CI type=',par6,')',sep=''))
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