Home » date » 2009 » Dec » 17 »

*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, 17 Dec 2009 07:49:59 -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/Dec/17/t1261061445xddqhesmj7nzsmq.htm/, Retrieved Thu, 17 Dec 2009 15:50: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/2009/Dec/17/t1261061445xddqhesmj7nzsmq.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 «
9.3 9.3 8.7 8.2 8.3 8.5 8.6 8.5 8.2 8.1 7.9 8.6 8.7 8.7 8.5 8.4 8.5 8.7 8.7 8.6 8.5 8.3 8 8.2 8.1 8.1 8 7.9 7.9 8 8 7.9 8 7.7 7.2 7.5 7.3 7 7 7 7.2 7.3 7.1 6.8 6.4 6.1 6.5 7.7 7.9 7.5 6.9 6.6 6.9 7.7 8 8 7.7 7.3 7.4 8.1 8.3 8.3
 
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.8543046.72680
20.6344944.9963e-06
30.5094754.01168.2e-05
40.5316514.18624.6e-05
50.6266064.93393e-06
60.6746715.31241e-06
70.597224.70257e-06
80.4474053.52290.000404
90.3277872.5810.006116
100.2966982.33620.011364
110.348142.74130.003993
120.3643872.86920.00281
130.2879272.26710.01344
140.1871071.47330.072867
150.1116480.87910.191365
160.0736290.57980.282089
170.0545480.42950.33452
180.0213750.16830.433444
19-0.038828-0.30570.380415
20-0.104869-0.82570.206059
21-0.158305-1.24650.108637
22-0.188462-1.4840.071444
23-0.189838-1.49480.070021
24-0.211074-1.6620.050781
25-0.26361-2.07570.02104
26-0.297692-2.3440.011148
27-0.299473-2.35810.01077
28-0.276893-2.18030.016522
29-0.258389-2.03460.023089
30-0.26725-2.10430.019705
31-0.303072-2.38640.01004
32-0.344236-2.71050.004339
33-0.364448-2.86970.002806
34-0.332591-2.61880.005538
35-0.277961-2.18870.016198
36-0.276069-2.17380.016775
37-0.316829-2.49470.007642
38-0.337983-2.66130.00495
39-0.321827-2.53410.006908
40-0.260774-2.05330.022132
41-0.205133-1.61520.055671
42-0.192132-1.51280.0677
43-0.22846-1.79890.038451
44-0.266964-2.10210.019808
45-0.244384-1.92430.029456
46-0.147286-1.15970.125302
47-0.053435-0.42070.337697
48-0.047101-0.37090.355999
49-0.098177-0.7730.221215
50-0.140585-1.1070.136292
51-0.130347-1.02640.154357
52-0.063548-0.50040.30929
53-0.000158-0.00120.499506
540.017770.13990.444589
55-0.001177-0.00930.496317
56-0.031555-0.24850.402297
57-0.033233-0.26170.397218
580.00430.03390.48655
590.04250.33460.36951
600.0403380.31760.37592


Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
10.8543046.72680
2-0.352902-2.77880.003606
30.3281742.5840.006067
40.3222922.53770.006843
50.1907371.50190.069104
60.0287420.22630.410851
7-0.171783-1.35260.090544
8-0.089088-0.70150.242815
9-0.074104-0.58350.280838
10-0.048661-0.38320.351456
110.0837120.65920.25612
12-0.186286-1.46680.07374
13-0.084157-0.66260.255006
140.1312721.03360.152661
15-0.083896-0.66060.255657
16-0.106659-0.83980.202115
17-0.105043-0.82710.205673
18-0.065518-0.51590.303882
19-0.032692-0.25740.398854
20-0.057598-0.45350.325877
21-0.042627-0.33560.369137
22-0.037527-0.29550.384306
230.0774860.61010.272003
24-0.040158-0.31620.376456
25-0.072423-0.57030.285282
260.0927440.73030.233988
270.0317120.24970.401821
280.0683890.53850.296081
290.0076010.05980.476235
30-0.013933-0.10970.456498
31-0.02829-0.22280.41223
32-0.101291-0.79760.214083
33-0.034763-0.27370.392602
340.0500770.39430.347355
35-0.045247-0.35630.361423
36-0.117013-0.92140.180217
370.0053430.04210.483289
380.0870530.68550.247807
39-0.037473-0.29510.384465
400.074990.59050.27851
41-0.056669-0.44620.328498
42-0.031611-0.24890.40213
43-0.093302-0.73470.232657
44-0.032976-0.25970.397996
450.1182440.93110.177718
460.0712430.5610.28842
470.0216480.17050.432603
48-0.030617-0.24110.405145
490.0139930.11020.456311
50-0.003532-0.02780.48895
51-0.08828-0.69510.244788
52-0.019635-0.15460.438817
53-0.071821-0.56550.286882
54-0.000762-0.0060.497616
550.0767290.60420.273969
56-0.059001-0.46460.321932
57-0.014353-0.1130.455191
58-0.06668-0.5250.300714
59-0.00325-0.02560.489834
60-0.040296-0.31730.376044
 
Charts produced by software:
http://www.freestatistics.org/blog/date/2009/Dec/17/t1261061445xddqhesmj7nzsmq/1djvm1261061397.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Dec/17/t1261061445xddqhesmj7nzsmq/1djvm1261061397.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Dec/17/t1261061445xddqhesmj7nzsmq/2fdsw1261061397.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Dec/17/t1261061445xddqhesmj7nzsmq/2fdsw1261061397.ps (open in new window)


 
Parameters (Session):
par1 = 12 ;
 
Parameters (R input):
par1 = 60 ; par2 = 1 ; par3 = 0 ; 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