Home » date » 2007 » Dec » 25 » attachments

ACF 1

R Software Module: rwasp_autocorrelation.wasp (opens new window with default values)
Title produced by software: (Partial) Autocorrelation Function
Date of computation: Tue, 25 Dec 2007 05:26:40 -0700
 
Cite this page as follows:
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL http://www.freestatistics.org/blog/date/2007/Dec/25/t1198584438pubjufxqefec4kk.htm/, Retrieved Tue, 25 Dec 2007 13:07:20 +0100
 
User-defined keywords:
Klaas Van Pelt
 
Dataseries X:
» Textbox « » Textfile « » CSV «
37702 30364 32609 30212 29965 28352 25814 22414 20506 28806 22228 13971 36845 35338 35022 34777 26887 23970 22780 17351 21382 24561 17409 11514 31514 27071 29462 26105 22397 23843 21705 18089 20764 25316 17704 15548 28029 29383 36438 32034 22679 24319 18004 17537 20366 22782 19169 13807 29743 25591 29096 26482 22405 27044 17970 18730 19684 19785 18479 10698 31956 29506 34506 27165 26736 23691 18157 17328 18205 20995 17382 9367 31124 26551 30651 25859 25100 25778 20418 18688
 
Text written by user:
 
Output produced by software:


Summary of compuational 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
018.94430
10.3941793.52560.000351
20.1846431.65150.051278
30.0434250.38840.349372
4-0.139185-1.24490.8916
5-0.213576-1.91030.97016
6-0.336436-3.00920.998249
7-0.23692-2.11910.981407
8-0.127127-1.13710.870546
90.0027780.02480.49012
100.0815540.72940.233932
110.2653032.37290.010023
120.7239626.47530
130.2855942.55440.006267
140.1372231.22740.111644
150.0048370.04330.482801
16-0.156144-1.39660.9168
17-0.208298-1.86310.966939
18-0.327506-2.92930.997788
19-0.232428-2.07890.979585
20-0.145817-1.30420.902051
21-0.051392-0.45970.676498
220.0224960.20120.420522
230.1997471.78660.038896
240.5471914.89423e-06
250.2193181.96160.026642
260.0920290.82310.20644
27-0.028065-0.2510.598779
28-0.149765-1.33950.907906
29-0.172858-1.54610.936985
30-0.28241-2.5260.993244
31-0.200346-1.79190.961539
32-0.13356-1.19460.882113
33-0.063218-0.56540.71332
340.0169260.15140.440025
350.1510411.3510.09026
360.4161013.72170.000183
370.1659691.48450.070807
380.0736250.65850.256047
39-0.006678-0.05970.523742
40-0.122591-1.09650.861923
41-0.172333-1.54140.936416
42-0.247262-2.21160.985075
43-0.170905-1.52860.934848
44-0.101441-0.90730.816518
45-0.068506-0.61270.729105
46-0.007592-0.06790.526985
470.0778050.69590.24425
480.3208052.86940.002629
490.1095970.98030.164956
500.0369650.33060.370897
51-0.02163-0.19350.576457
52-0.091972-0.82260.793415
53-0.143938-1.28740.899171
54-0.20914-1.87060.967472
55-0.162468-1.45320.924954
56-0.099637-0.89120.812247
57-0.067307-0.6020.725565
58-0.028434-0.25430.600051
590.0335230.29980.382537


Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
00.3941793.52560.000351
10.034650.30990.378714
2-0.048-0.42930.66558
3-0.174216-1.55820.938437
4-0.121309-1.0850.859413
5-0.225928-2.02080.976675
6-0.018068-0.16160.563987
70.0008970.0080.496808
80.0583920.52230.301463
90.001160.01040.495872
100.1920911.71810.044822
110.6589445.89380
12-0.317164-2.83680.997115
13-0.082178-0.7350.767762
14-0.026481-0.23690.593313
150.0087870.07860.468775
16-0.044241-0.39570.653312
170.0009590.00860.496587
180.0144730.12950.448663
19-0.112015-1.00190.840292
20-0.039497-0.35330.637592
210.054380.48640.314011
220.0492580.44060.330355
23-0.021106-0.18880.574629
24-0.039352-0.3520.637109
25-0.06417-0.5740.716196
26-0.029441-0.26330.603512
270.0339890.3040.380957
280.0577520.51660.303447
29-0.01132-0.10120.540197
30-0.044009-0.39360.65255
31-0.018208-0.16290.564478
320.0116630.10430.45859
330.0544810.48730.313691
34-0.045903-0.41060.658757
35-0.021715-0.19420.576753
36-0.049015-0.43840.668863
370.0268670.24030.405352
380.0810140.72460.235403
39-0.024527-0.21940.586541
40-0.132895-1.18860.880952
410.0071410.06390.474616
420.0262130.23450.407616
430.0545730.48810.313401
44-0.046505-0.4160.66072
45-0.061429-0.54940.707883
46-0.124557-1.11410.865709
470.0675650.60430.27367
480.0014350.01280.494897
49-0.007932-0.07090.528192
50-0.086069-0.76980.778164
510.0353950.31660.376193
52-0.019393-0.17350.568634
53-0.012716-0.11370.545132
54-0.02928-0.26190.60296
55-0.030542-0.27320.607288
56-0.020867-0.18660.573794
57-0.045494-0.40690.657419
580.020150.18020.428716
59-0.108009-0.96610.831538
 
Charts produced by software:
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2007/Dec/25/t1198584438pubjufxqefec4kk/12nrf1198585598.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2007/Dec/25/t1198584438pubjufxqefec4kk/12nrf1198585598.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2007/Dec/25/t1198584438pubjufxqefec4kk/2jj7m1198585598.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2007/Dec/25/t1198584438pubjufxqefec4kk/2jj7m1198585598.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 1:par1) {
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(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-1,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(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:

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