Home » date » 2008 » Dec » 12 »

*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: Fri, 12 Dec 2008 07:06: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/2008/Dec/12/t1229091267f0g25uah67u2i8b.htm/, Retrieved Fri, 12 Dec 2008 15:14:29 +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/2008/Dec/12/t1229091267f0g25uah67u2i8b.htm/},
    year = {2008},
}
@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 = {2008},
    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 «
44.9 48.1 52.3 48.9 52.6 60.3 50.5 41.6 56 51.4 52.9 54.9 43.9 51 51.9 54.3 50.3 57.2 48.8 41.1 58 63 53.8 54.7 55.5 56.1 69.6 69.4 57.2 68 53.3 47.9 60.8 61.7 57.8 51.4 50.5 48.1 58.7 54 56.1 60.4 51.2 50.7 56.4 53.3 52.6 47.7 49.5 48.5 55.3 49.8 57.4 64.6 53 41.5 55.9 58.4 53.5 50.6 58.5
 
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.2437761.9040.030818
2-0.085121-0.66480.254337
30.1893261.47870.072186
40.0760910.59430.277258
50.0778450.6080.272725
60.3068662.39670.009812
70.1092910.85360.198335
8-0.086939-0.6790.249848
9-0.012229-0.09550.46211
10-0.208121-1.62550.054608
11-0.025585-0.19980.421141
120.3728952.91240.002502
13-0.048227-0.37670.353865
14-0.269508-2.10490.019712
15-0.092586-0.72310.236186
16-0.052655-0.41120.341166
17-0.125056-0.97670.166283
180.0583470.45570.325111
19-0.041656-0.32530.373017
20-0.221445-1.72950.044385
21-0.140836-1.10.137834
22-0.285188-2.22740.01481
23-0.098465-0.7690.22242
240.1550061.21060.115352
25-0.110167-0.86040.196459
26-0.256748-2.00530.024688
27-0.034349-0.26830.394697
28-0.0477-0.37260.355387
29-0.107192-0.83720.202876
300.0764570.59710.27631
310.0306750.23960.40573
32-0.031484-0.24590.403293
330.0222480.17380.431314
34-0.118187-0.92310.179804
350.0352860.27560.391895
360.1961671.53210.065332
370.0202170.15790.437527
38-0.102196-0.79820.213933
390.0457980.35770.360904
400.0161050.12580.450157
41-0.057497-0.44910.327489
420.0512220.40010.345256
430.048780.3810.352268
44-0.022631-0.17680.430143
450.0155550.12150.451852
46-0.024298-0.18980.425057
470.0305810.23880.406012
480.1125420.8790.19143
490.0202810.15840.437331
50-0.08285-0.64710.260005
510.0017010.01330.494721
520.021180.16540.43458
53-0.060346-0.47130.319547
540.0079530.06210.475336
550.0572430.44710.328198
56-0.014761-0.11530.454297
57-0.025007-0.19530.4229
580.0067930.05310.478931
590.0012880.01010.496003
60-0.018488-0.14440.442833


Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
10.2437761.9040.030818
2-0.153681-1.20030.117335
30.2730182.13230.018507
4-0.083858-0.6550.25748
50.1715691.340.092609
60.2231481.74280.0432
7-0.027161-0.21210.416355
8-0.05887-0.45980.323651
9-0.087662-0.68470.248075
10-0.31089-2.42810.009071
110.1352791.05660.147439
120.2821392.20360.01567
13-0.195928-1.53020.065563
14-0.062954-0.49170.312354
15-0.167025-1.30450.09848
160.1183030.9240.17957
17-0.127472-0.99560.161692
18-0.009621-0.07510.470175
19-0.103359-0.80730.211326
20-0.046053-0.35970.360163
21-0.021709-0.16960.432961
22-0.194919-1.52240.066543
230.066750.52130.30201
24-0.042681-0.33330.370008
25-0.01983-0.15490.438716
26-0.016104-0.12580.450162
270.0712560.55650.289943
28-0.081232-0.63440.264082
290.0306370.23930.405846
30-0.107696-0.84110.201779
310.0722690.56440.287263
320.0445340.34780.364585
330.0227340.17760.429831
34-0.070713-0.55230.291384
350.0057660.0450.482114
36-0.010656-0.08320.466971
37-0.003317-0.02590.489708
38-0.034764-0.27150.393455
39-0.112887-0.88170.190707
400.0231360.18070.428603
41-0.072555-0.56670.286507
42-0.031183-0.24350.404201
43-0.038941-0.30410.381028
44-0.068229-0.53290.298025
450.0540490.42210.337206
460.0598290.46730.320983
47-0.002579-0.02010.491999
48-0.037745-0.29480.384576
49-0.014778-0.11540.454247
50-0.045835-0.3580.360796
51-0.06571-0.51320.304828
520.0104420.08160.467633
53-0.046504-0.36320.358852
540.0150920.11790.453277
550.0697050.54440.29407
56-0.027932-0.21820.414018
570.0389780.30440.38092
580.0227470.17770.42979
59-0.095107-0.74280.230224
60-0.095531-0.74610.229231
 
Charts produced by software:
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/12/t1229091267f0g25uah67u2i8b/1jy5p1229090794.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/12/t1229091267f0g25uah67u2i8b/1jy5p1229090794.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/12/t1229091267f0g25uah67u2i8b/2rvfa1229090794.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/12/t1229091267f0g25uah67u2i8b/2rvfa1229090794.ps (open in new window)


 
Parameters (Session):
par1 = 60 ; par2 = 1 ; par3 = 0 ; par4 = 0 ; par5 = 12 ;
 
Parameters (R input):
par1 = 60 ; par2 = 1 ; par3 = 0 ; par4 = 0 ; par5 = 12 ;
 
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 (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='lags',ylab='ACF')
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