Home » date » 2009 » Nov » 26 »

ACF 1

*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: Thu, 26 Nov 2009 15:15:53 -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/26/t1259274137a3o6diqht2zd056.htm/, Retrieved Thu, 26 Nov 2009 23:22:19 +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/26/t1259274137a3o6diqht2zd056.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 «
96.2 96.8 109.9 88 91.1 106.4 68.6 100.1 108 106 108.6 91.5 99.2 98 96.6 102.8 96.9 110 70.5 101.9 109.6 107.8 113 93.8 108 102.8 116.3 89.2 106.7 112.1 74.2 108.8 111.5 118.8 118.9 97.6 116.4 107.9 121.2 97.9 113.4 117.6 79.6 115.9 115.7 129.1 123.3 96.7 121.2 118.2 102.1 125.4 116.7 121.3 85.3 114.2 124.4 131 118.3 99.6
 
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.0615160.47650.317724
20.1185560.91830.18106
30.148131.14740.127883
40.0486350.37670.353853
50.3649192.82670.003191
60.008470.06560.473952
70.2986022.3130.012085
80.0910250.70510.241746
90.0538790.41730.338958
100.047780.37010.356305
110.0532320.41230.340782
120.6186934.79246e-06
13-0.001695-0.01310.494784
140.0130640.10120.459867
150.0468820.36310.358885
16-0.088081-0.68230.248847
170.1850231.43320.078499
18-0.095749-0.74170.23059
190.1170240.90650.184158
20-0.034478-0.26710.395168
21-0.040145-0.3110.378454
22-0.113406-0.87840.191604
23-0.020858-0.16160.436095
240.3291012.54920.006686
25-0.124899-0.96750.168598
26-0.075416-0.58420.280649
27-0.096926-0.75080.227859
28-0.167175-1.29490.100152
290.0379070.29360.38503
30-0.169332-1.31160.097319
31-0.011338-0.08780.465156
32-0.110241-0.85390.198272
33-0.145097-1.12390.132762
34-0.153179-1.18650.120047
35-0.114009-0.88310.190351
360.1618261.25350.107443
37-0.17065-1.32180.095618
38-0.110135-0.85310.198498
39-0.15717-1.21740.114102
40-0.173812-1.34630.091628
41-0.017423-0.1350.446547
42-0.144691-1.12080.133426
43-0.065027-0.50370.308159
44-0.073742-0.57120.284998
45-0.185392-1.4360.078092
46-0.093881-0.72720.234965
47-0.064013-0.49580.310908
480.0097520.07550.470018
49-0.072598-0.56230.287989
50-0.077693-0.60180.274785
51-0.088127-0.68260.248735
52-0.103488-0.80160.212969
53-0.034893-0.27030.393938
54-0.038937-0.30160.381998
55-0.024526-0.190.424985
56-0.021661-0.16780.43366
57-0.033744-0.26140.397346
58-0.00569-0.04410.482496
590.0052990.0410.483697
60NANANA


Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
10.0615160.47650.317724
20.1152080.89240.187872
30.1369191.06060.146568
40.0225090.17440.431087
50.3423722.6520.005111
6-0.048942-0.37910.352975
70.2730192.11480.019305
8-0.025801-0.19990.421136
90.0328260.25430.400079
10-0.180825-1.40070.083233
110.090250.69910.243603
120.5296874.10296.2e-05
13-0.088148-0.68280.248684
14-0.183422-1.42080.080278
15-0.110795-0.85820.197095
16-0.160063-1.23980.109931
17-0.149299-1.15650.126037
18-0.080061-0.62020.268753
19-0.051839-0.40150.344723
20-0.11641-0.90170.185409
210.1249190.96760.16856
22-0.098624-0.76390.223948
230.054590.42290.336958
240.0178560.13830.445228
25-0.007861-0.06090.475825
26-0.077272-0.59850.275864
27-0.007284-0.05640.477596
28-0.045462-0.35210.36298
29-0.019309-0.14960.440805
30-0.005798-0.04490.482165
31-0.018372-0.14230.443656
32-0.038256-0.29630.384
33-0.051867-0.40180.344645
340.028740.22260.412293
35-0.091982-0.71250.239462
36-0.004879-0.03780.484991
370.0118710.0920.463521
380.0009440.00730.497096
39-0.03459-0.26790.394836
400.0456020.35320.362577
41-0.009644-0.07470.470349
420.0396070.30680.38003
43-0.033549-0.25990.397928
440.0541250.41920.338266
45-0.130823-1.01340.15748
460.099580.77130.221766
470.0129540.10030.460205
48-0.169581-1.31360.096996
490.030930.23960.405736
500.0864740.66980.25277
510.0049810.03860.484676
52-0.001458-0.01130.495514
53-0.019862-0.15390.439122
540.0003350.00260.498968
55-0.009989-0.07740.469293
560.0430810.33370.369883
570.1015480.78660.217309
580.0515660.39940.345497
59-0.058794-0.45540.325227
60NANANA
 
Charts produced by software:
http://www.freestatistics.org/blog/date/2009/Nov/26/t1259274137a3o6diqht2zd056/1mehs1259273751.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/26/t1259274137a3o6diqht2zd056/1mehs1259273751.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Nov/26/t1259274137a3o6diqht2zd056/208iv1259273751.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/26/t1259274137a3o6diqht2zd056/208iv1259273751.ps (open in new window)


 
Parameters (Session):
par1 = 60 ; par2 = 1 ; par3 = 0 ; par4 = 0 ; par5 = 12 ; par6 = White Noise ; par7 = 0.95 ;
 
Parameters (R input):
par1 = 60 ; par2 = 1 ; par3 = 0 ; par4 = 0 ; par5 = 12 ; par6 = White Noise ; 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