Home » date » 2010 » Dec » 22 »

*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: Wed, 22 Dec 2010 14:25:47 +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/22/t12930281483fp8awg75crzc50.htm/, Retrieved Wed, 22 Dec 2010 15:29:09 +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/22/t12930281483fp8awg75crzc50.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 «
13.193 15.234 14.718 16.961 13.945 15.876 16.226 18.316 16.748 17.904 17.209 18.950 17.225 18.710 17.236 18.687 17.580 19.568 17.381 19.580 17.260 18.661 15.658 18.674 15.908 17.475 17.725 19.562 16.368 19.555 17.743 19.867 15.703 19.324 18.162 19.074 15.323 19.704 18.375 18.352 13.927 17.795 16.761 18.902 16.239 19.158 18.279 15.698 16.239 18.431 18.414 19.801 14.995 18.706 18.232 19.409 16.263 19.017 20.298 19.891 15.203 17.845 17.502 18.532 15.737 17.770 17.224 17.601 14.940 18.507 17.635 19.392 15.699 17.661 18.243 19.643 15.770 17.344 17.229 17.322 16.152 17.919 16.918 18.114 16.308 17.759 16.021 17.952 15.954 17.762 16.610 17.751 15.458 18.106 15.990 15.349 13.185 15.409 16.007 16.633 14.800 15.974 15.693
 
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'RServer@AstonUniversity' @ vre.aston.ac.uk


Autocorrelation Function
Time lag kACF(k)T-STATP-value
10.3639923.62170.000232
20.1422131.4150.080104
3-0.075009-0.74630.22862
4-0.322744-3.21130.000891
50.0311310.30970.378703
60.0129890.12920.448715
70.1255421.24910.107281
80.0256740.25550.39945
9-0.132777-1.32110.094754
10-0.035751-0.35570.361403
11-0.113808-1.13240.130105
12-0.051267-0.51010.305558
130.0375310.37340.354814
14-0.0442-0.43980.330524
15-0.007137-0.0710.471766
16-0.040149-0.39950.345201
170.0422410.42030.33759
180.1051381.04610.149029
190.0936420.93170.176872
200.1223991.21790.113087
21-0.029635-0.29490.384359
22-0.026516-0.26380.396231
23-0.065863-0.65530.256889
24-0.018554-0.18460.426956
250.1031731.02660.153566
26-0.001664-0.01660.493414
270.0436790.43460.332399
28-0.080626-0.80220.212175
290.0041470.04130.483586
300.0241870.24070.405161
31-0.059535-0.59240.277478
320.0470350.4680.32041
33-0.120723-1.20120.116274
34-0.07588-0.7550.226021
35-0.005273-0.05250.479132
36-0.048109-0.47870.316613
370.0373810.37190.355368
380.0218110.2170.41432
39-0.013041-0.12980.44851
400.0416940.41490.339573
41-0.01-0.09950.46047
420.0865020.86070.195745
430.0743290.73960.230657
44-0.013173-0.13110.447995
450.0515970.51340.304415
46-0.041953-0.41740.338634
470.0350270.34850.364098
480.0680420.6770.24999
490.0321020.31940.375046
50-0.00733-0.07290.471003
51-0.127111-1.26470.104466
52-0.124282-1.23660.109582
53-0.110955-1.1040.136136
540.0345790.34410.365767
550.111351.10790.13529
560.073270.7290.233852
570.0208170.20710.418169
58-0.05815-0.57860.282091
59-0.087367-0.86930.193396
60-0.057318-0.57030.284882


Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
10.3639923.62170.000232
20.0112070.11150.455719
3-0.150187-1.49430.069134
4-0.295147-2.93670.002063
50.3275013.25860.000767
6-0.051837-0.51580.303581
70.0479710.47730.317099
8-0.196396-1.95410.026754
90.0305910.30440.380739
100.0383570.38160.351772
11-0.036505-0.36320.358609
12-0.14075-1.40040.082253
130.0925340.92070.179723
14-0.047451-0.47210.318936
15-0.020954-0.20850.417637
16-0.056579-0.5630.287369
170.1703711.69520.046593
180.0121820.12120.451886
190.0465350.4630.322185
20-0.021002-0.2090.41745
21-0.005897-0.05870.476663
220.0341590.33990.367333
23-0.064931-0.64610.259868
240.0401850.39980.345068
250.0777120.77320.220614
26-0.081308-0.8090.210227
270.0033490.03330.486741
28-0.057594-0.57310.283954
290.2354812.3430.010565
30-0.148016-1.47270.071996
31-0.05643-0.56150.287872
32-0.001477-0.01470.494152
330.0344880.34320.366105
34-0.094102-0.93630.175698
350.0073470.07310.470937
36-0.034873-0.3470.364672
370.0172820.1720.431911
380.0085140.08470.466331
39-0.057088-0.5680.285656
400.0859660.85530.197211
410.038980.38780.349483
420.0354770.3530.362421
43-0.036425-0.36240.358905
44-0.017171-0.17090.432344
450.0512090.50950.305761
460.0053250.0530.478926
470.0266290.2650.395798
480.0318230.31660.376095
490.0004310.00430.498293
50-0.101477-1.00970.157554
51-0.039231-0.39030.34856
52-0.006627-0.06590.473778
530.0289670.28820.38689
540.0471650.46930.31995
550.0166250.16540.434476
56-0.02622-0.26090.397363
570.0016010.01590.493662
580.0302860.30130.381894
59-0.088197-0.87760.191156
60-0.012544-0.12480.450462
 
Charts produced by software:
http://www.freestatistics.org/blog/date/2010/Dec/22/t12930281483fp8awg75crzc50/1m6pp1293027944.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/22/t12930281483fp8awg75crzc50/1m6pp1293027944.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/22/t12930281483fp8awg75crzc50/2m6pp1293027944.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/22/t12930281483fp8awg75crzc50/2m6pp1293027944.ps (open in new window)


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