Home » date » 2007 » Dec » 25 » attachments

ACF 5

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:37:07 -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/t1198585092bhko4sm3cef7a64.htm/, Retrieved Tue, 25 Dec 2007 13:18:14 +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.18540
1-0.360598-2.95160.997823
20.0923660.7560.226136
3-0.118434-0.96940.832089
4-0.172742-1.4140.918998
50.0313620.25670.399096
60.0657970.53860.295984
7-0.082065-0.67170.747968
80.0848980.69490.244755
90.2608662.13530.018199
10-0.163866-1.34130.907825
110.0211010.17270.431697
12-0.295548-2.41920.990861
13-0.074553-0.61020.728117
140.0374050.30620.380212
150.1890921.54780.063192
16-0.054245-0.4440.67077
170.0377560.3090.379121
180.1037310.84910.199431
19-0.179667-1.47060.926965
200.0843810.69070.246074
21-0.13427-1.0990.862159
22-0.106957-0.87550.80778
230.228031.86650.033174
240.0349240.28590.387932
250.0952060.77930.219274
260.0485920.39770.346041
27-0.14188-1.16130.875188
28-0.090572-0.74140.769468
290.1116410.91380.182044
30-0.136765-1.11950.866531
310.1115950.91340.182143
32-0.005612-0.04590.518252
330.1059740.86740.1944
34-0.023598-0.19320.576291
35-0.001691-0.01380.5055
36-0.156038-1.27720.897035
37-0.111752-0.91470.818192
380.1505291.23210.111104
39-0.102085-0.83560.796826
400.1730191.41620.080672
41-0.039766-0.32550.627092
42-0.010089-0.08260.532784
43-0.000604-0.00490.501965
44-0.017487-0.14310.556695
45-0.107784-0.88220.809601
460.0702360.57490.283639
470.0397460.32530.37297
48-0.02549-0.20860.582319
490.1842031.50780.068157
50-0.156518-1.28120.897723
510.0816820.66860.253025
52-0.062491-0.51150.694661
53-0.023307-0.19080.575362
540.0161160.13190.447723
550.0071240.05830.476838
56-0.012329-0.10090.54004
570.0404610.33120.370767
58-0.00764-0.06250.52484
59-0.017241-0.14110.555901


Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
0-0.360598-2.95160.997823
1-0.043295-0.35440.637918
2-0.114353-0.9360.823687
3-0.29306-2.39880.990381
4-0.176523-1.44490.923428
5-0.006165-0.05050.520048
6-0.155925-1.27630.896872
7-0.10147-0.83060.795417
80.343862.81460.003203
90.1088260.89080.188119
10-0.055488-0.45420.67442
11-0.276281-2.26150.986509
12-0.256777-2.10180.980334
13-0.272284-2.22870.985405
14-0.057094-0.46730.679111
15-0.121541-0.99490.838307
16-0.245748-2.01150.975853
170.0065060.05330.478844
18-0.080183-0.65630.743068
19-0.036584-0.29940.617238
200.0898210.73520.232387
21-0.095197-0.77920.780703
22-0.029867-0.24450.596193
23-0.139531-1.14210.871263
24-0.03793-0.31050.621415
250.0260390.21310.415934
26-0.038932-0.31870.624517
27-0.144401-1.1820.879303
28-0.027082-0.22170.58738
29-0.020296-0.16610.565721
300.0301040.24640.403058
31-0.080734-0.66080.744509
320.0848180.69430.244958
33-0.03917-0.32060.625252
34-0.027146-0.22220.587583
35-0.026592-0.21770.585824
36-0.095104-0.77850.780482
370.0225220.18430.427149
38-0.103873-0.85020.800888
39-0.052221-0.42740.664787
40-0.04981-0.40770.657607
41-0.007075-0.05790.523005
42-0.004417-0.03620.514366
43-0.083952-0.68720.752829
440.0359560.29430.384715
450.0534690.43770.331518
460.0701150.57390.283973
47-0.089511-0.73270.766845
48-0.027101-0.22180.587439
49-0.077686-0.63590.736493
50-0.028948-0.2370.593292
510.0071440.05850.476773
52-0.013378-0.10950.543435
530.0425350.34820.364403
540.0121240.09920.460623
55-0.103891-0.85040.80093
560.0547260.4480.327816
57-0.072008-0.58940.721217
58-0.001035-0.00850.503367
59-0.046571-0.38120.647871
 
Charts produced by software:
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2007/Dec/25/t1198585092bhko4sm3cef7a64/1c4qg1198586225.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2007/Dec/25/t1198585092bhko4sm3cef7a64/1c4qg1198586225.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2007/Dec/25/t1198585092bhko4sm3cef7a64/28vib1198586225.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2007/Dec/25/t1198585092bhko4sm3cef7a64/28vib1198586225.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 = 1 ; par4 = 1 ; 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