Home » date » 2008 » Dec » 13 »

step 3 ACF

*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: Sat, 13 Dec 2008 06:20:33 -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/13/t1229174478rmeh0ofm41ks0kk.htm/, Retrieved Sat, 13 Dec 2008 14:21:20 +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/13/t1229174478rmeh0ofm41ks0kk.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 «
0.84 0.76 0.77 0.76 0.77 0.78 0.79 0.78 0.76 0.78 0.76 0.74 0.73 0.72 0.71 0.73 0.75 0.75 0.72 0.72 0.72 0.74 0.78 0.74 0.74 0.75 0.78 0.81 0.75 0.7 0.71 0.71 0.73 0.74 0.74 0.75 0.74 0.74 0.73 0.76 0.8 0.83 0.81 0.83 0.88 0.89 0.93 0.91 0.9 0.86 0.88 0.93 0.98 0.97 1.03 1.06 1.06 1.09 1.04 1 1.04
 
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.1007180.78020.219183
2-0.101391-0.78540.217664
3-0.089502-0.69330.245405
4-0.121355-0.940.175491
50.1031850.79930.213643
60.1177660.91220.182654
7-0.070884-0.54910.2925
8-0.079183-0.61340.270981
90.0666220.51610.303858
100.1814721.40570.082489
110.193361.49780.069719
12-0.056528-0.43790.33153
130.0307310.2380.406329
14-0.026021-0.20160.420473
15-0.102961-0.79750.214144
16-0.022432-0.17380.431322
170.0675190.5230.30145
180.0040380.03130.487577
190.0650520.50390.308093
200.0688650.53340.297855
21-0.032301-0.25020.401641
220.0065050.05040.47999
23-0.154554-1.19720.117975
240.0329740.25540.399637
250.0004490.00350.498619
26-0.16061-1.24410.109154
270.0087480.06780.473099
280.0596680.46220.32281
290.0210860.16330.435404
300.2012111.55860.062178
31-0.058771-0.45520.325291
32-0.161956-1.25450.107262
33-0.078735-0.60990.272123
34-0.066846-0.51780.303255
350.14761.14330.128727
36-0.020188-0.15640.43813
37-0.066846-0.51780.303255
38-0.042171-0.32670.372532
39-0.025572-0.19810.421826
40-0.05406-0.41870.338448
410.0365630.28320.388992
42-0.072005-0.55780.289545
43-0.177882-1.37790.08668
44-0.077838-0.60290.274415
45-0.025572-0.19810.421826
460.0549570.42570.335926
470.00830.06430.474477
480.1137280.88090.190934
49-0.051368-0.39790.346059
50-0.071781-0.5560.290135
51-0.041723-0.32320.37384
520.0132350.10250.459345
53-0.110139-0.85310.198489
54-0.060565-0.46910.320336
550.0226560.17550.430642
56-0.035442-0.27450.39231
570.0740240.57340.284262
580.0778380.60290.274415
59-0.061687-0.47780.317256
60NANANA


Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
10.1007180.78020.219183
2-0.112678-0.87280.193126
3-0.068343-0.52940.299247
4-0.119025-0.9220.18012
50.1154010.89390.187475
60.0679920.52670.300184
7-0.089223-0.69110.246078
8-0.048234-0.37360.355003
90.1095350.84850.199778
100.168481.3050.098432
110.1409381.09170.139665
12-0.066764-0.51720.303475
130.1525251.18150.121043
140.0099840.07730.469308
15-0.120366-0.93230.177446
16-0.085006-0.65850.256383
170.108110.83740.202841
180.0039710.03080.487783
19-0.001117-0.00860.496564
200.0210940.16340.435378
21-0.004728-0.03660.485454
22-0.014051-0.10880.456846
23-0.230783-1.78760.039443
240.0651110.50430.307932
250.0292050.22620.410901
26-0.190211-1.47340.07294
27-0.032106-0.24870.402225
280.108690.84190.201591
290.0318330.24660.40304
300.0780960.60490.273755
31-0.11161-0.86450.19537
320.01720.13320.447229
33-0.02783-0.21560.415026
34-0.08007-0.62020.26873
350.1335491.03450.152534
360.0221570.17160.432153
37-0.013324-0.10320.459072
38-0.101859-0.7890.216611
39-0.013447-0.10420.458696
40-0.112571-0.8720.193349
41-0.0894-0.69250.245652
42-0.031569-0.24450.403828
43-0.091505-0.70880.240598
44-0.095979-0.74350.230054
45-0.034978-0.27090.393684
460.0093710.07260.471188
47-0.048033-0.37210.355578
480.1352721.04780.149464
49-0.067607-0.52370.301214
500.0414440.3210.374655
510.051810.40130.344806
520.0169580.13140.447967
53-0.005353-0.04150.483532
54-0.024252-0.18790.425811
550.0257380.19940.421326
560.0463950.35940.360289
57-0.011418-0.08840.46491
580.0404030.3130.377698
59-0.127792-0.98990.163105
60NANANA
 
Charts produced by software:
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/13/t1229174478rmeh0ofm41ks0kk/1ily81229174431.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/13/t1229174478rmeh0ofm41ks0kk/1ily81229174431.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/13/t1229174478rmeh0ofm41ks0kk/2hnm61229174431.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/13/t1229174478rmeh0ofm41ks0kk/2hnm61229174431.ps (open in new window)


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