Home » date » 2010 » Dec » 21 »

*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, 21 Dec 2010 18:59:10 +0000
 
Cite this page as follows:
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL http://www.freestatistics.org/blog/date/2010/Dec/21/t1292957819aqmi982em1dwyqf.htm/, Retrieved Tue, 21 Dec 2010 19:57:00 +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/2010/Dec/21/t1292957819aqmi982em1dwyqf.htm/},
    year = {2010},
}
@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 = {2010},
    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 «
2981.85 3080.58 3106.22 3119.31 3061.26 3097.31 3161.69 3257.16 3277.01 3295.32 3363.99 3494.17 3667.03 3813.06 3917.96 3895.51 3801.06 3570.12 3701.61 3862.27 3970.10 4138.52 4199.75 4290.89 4443.91 4502.64 4356.98 4591.27 4696.96 4621.40 4562.84 4202.52 4296.49 4435.23 4105.18 4116.68 3844.49 3720.98 3674.40 3857.62 3801.06 3504.37 3032.60 3047.03 2962.34 2197.82 2014.45 1862.83 1905.41 1810.99 1670.07 1864.44 2052.02 2029.60 2070.83 2293.41 2443.27 2513.17 2466.92 2502.66 2539.91
 
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'RServer@AstonUniversity' @ vre.aston.ac.uk


Autocorrelation Function
Time lag kACF(k)T-STATP-value
10.2848562.20650.015594
20.0750370.58120.28163
30.2233611.73010.044373
40.2429251.88170.032366
50.2610592.02220.023813
6-0.028876-0.22370.411886
7-0.045413-0.35180.363123
80.1516451.17460.12239
90.0285790.22140.412777
10-0.168079-1.30190.098958
110.1180050.91410.182171
12-0.020106-0.15570.43838
13-0.054262-0.42030.337879
140.0284810.22060.413071
15-0.076448-0.59220.277983
160.0431980.33460.369543
17-0.128343-0.99410.162074
18-0.196738-1.52390.06639
190.0038570.02990.488133
20-0.097051-0.75180.227569
21-0.17561-1.36030.089417
22-0.18669-1.44610.076677
23-0.174961-1.35520.090211
24-0.13038-1.00990.158295
25-0.079168-0.61320.27102
26-0.121719-0.94280.174775
27-0.032175-0.24920.402019
280.0427370.3310.370885
29-0.043928-0.34030.367423
30-0.041417-0.32080.374732
31-0.06774-0.52470.300859
32-0.015997-0.12390.450899
33-0.043715-0.33860.368042
34-0.080318-0.62210.268103
35-0.109648-0.84930.199538
36-0.02888-0.22370.411874
370.0009080.0070.497206
38-0.025144-0.19480.423118
39-0.053352-0.41330.340445
40-0.038518-0.29840.383231
410.0286490.22190.412567
420.0291380.22570.4111
430.0154350.11960.452617
44-0.006575-0.05090.479775
450.032490.25170.40108
460.0242910.18820.425693
470.0141160.10930.456647
480.0126020.09760.461282
490.0220060.17050.432611
500.0298610.23130.408932
510.0104590.0810.46785
520.0015280.01180.495298
530.0093320.07230.471306
540.0197690.15310.439406
550.009410.07290.471068
560.0028630.02220.491189
57-0.000926-0.00720.49715
580.0031280.02420.490375
590.0024490.0190.492464
60NANANA


Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
10.2848562.20650.015594
2-0.006645-0.05150.479559
30.2217381.71760.045516
40.1381051.06980.144508
50.1855471.43720.077922
6-0.204606-1.58490.059126
7-0.062329-0.48280.315499
80.0756380.58590.280074
9-0.067706-0.52440.30095
10-0.178847-1.38530.085538
110.3011032.33230.011528
12-0.180949-1.40160.083089
13-0.00198-0.01530.493907
140.0998230.77320.221212
15-0.059314-0.45940.323787
16-0.072147-0.55880.289172
17-0.093018-0.72050.237003
18-0.077516-0.60040.275239
19-0.007041-0.05450.478342
20-0.086989-0.67380.251508
210.0480920.37250.355409
22-0.19911-1.54230.064129
23-0.006912-0.05350.478741
24-0.065724-0.50910.306276
250.0455640.35290.362685
260.0464270.35960.360197
270.0392150.30380.381181
280.1031730.79920.21367
29-0.00627-0.04860.480713
30-0.174035-1.34810.091352
310.0044220.03420.486396
32-0.075591-0.58550.280194
33-0.08953-0.69350.245338
340.0075660.05860.476729
35-0.059627-0.46190.322923
360.0501520.38850.349518
370.0199790.15480.438767
380.0827960.64130.261874
39-0.14336-1.11050.135615
40-0.05665-0.43880.331189
410.0142980.11080.456092
42-0.048915-0.37890.353051
430.0035230.02730.489159
440.0300290.23260.408429
45-0.041343-0.32020.374948
460.0109340.08470.466394
47-0.050828-0.39370.347595
480.014950.11580.454098
490.0129020.09990.460364
500.0354090.27430.392408
510.0112270.0870.465494
52-0.045353-0.35130.363295
53-0.050287-0.38950.349135
54-0.026976-0.2090.417596
55-0.05503-0.42630.335722
56-0.048043-0.37210.355549
57-0.092157-0.71380.239045
580.0658740.51030.305871
59-0.00078-0.0060.4976
60NANANA
 
Charts produced by software:
http://www.freestatistics.org/blog/date/2010/Dec/21/t1292957819aqmi982em1dwyqf/1epyn1292957946.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/21/t1292957819aqmi982em1dwyqf/1epyn1292957946.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/21/t1292957819aqmi982em1dwyqf/2epyn1292957946.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/21/t1292957819aqmi982em1dwyqf/2epyn1292957946.ps (open in new window)


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