Home » date » 2008 » Dec » 17 »

paper

*Unverified author*
R Software Module: rwasp_autocorrelation.wasp (opens new window with default values)
Title produced by software: (Partial) Autocorrelation Function
Date of computation: Wed, 17 Dec 2008 13:32:46 -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/17/t122954600199u2a0moqdueljp.htm/, Retrieved Wed, 17 Dec 2008 21:33:23 +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/17/t122954600199u2a0moqdueljp.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:
Van Dooren Leen
 
Dataseries X:
» Textbox « » Textfile « » CSV «
98.6 98.0 106.8 96.6 100.1 107.7 91.5 97.8 107.4 117.5 105.6 97.4 99.5 98.0 104.3 100.6 101.1 103.9 96.9 95.5 108.4 117.0 103.8 100.8 110.6 104.0 112.6 107.3 98.9 109.8 104.9 102.2 123.9 124.9 112.7 121.9 100.6 104.3 120.4 107.5 102.9 125.6 107.5 108.8 128.4 121.1 119.5 128.7 108.7 105.5 119.8 111.3 110.6 120.1 97.5 107.7 127.3 117.2 119.8 116.2 111.0 112.4 130.6 109.1 118.8 123.9 101.6 112.8 128.0 129.6 125.8 119.5 115.7 113.6 129.7 112.0 116.8 127.0 112.1 114.2 121.1 131.6 125.0 120.4 117.7 117.5 120.6 127.5 112.3 124.5 115.2 104.7 130.5
 
Output produced by software:


Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time2 seconds
R Server'George Udny Yule' @ 72.249.76.132


Autocorrelation Function
Time lag kACF(k)T-STATP-value
10.0181930.16370.435173
20.0846470.76180.22419
30.2514452.2630.013156
4-0.087743-0.78970.216009
50.1196331.07670.142406
60.1804481.6240.054127
7-0.120495-1.08450.14069
80.0982810.88450.189514
90.2291712.06250.021181
10-0.168149-1.51330.067043
11-0.056964-0.51270.304785
12-0.151676-1.36510.088003
13-0.235807-2.12230.018435
140.0839680.75570.226008
15-0.066182-0.59560.276539
16-0.139713-1.25740.106109
170.1583371.4250.078995
18-0.090994-0.81890.20761
19-0.211917-1.90730.030016
20-0.002684-0.02420.490395
21-0.062226-0.560.288501
22-0.139637-1.25670.106231
230.1779481.60150.056577
24-0.269178-2.42260.00882
25-0.089722-0.80750.210872
260.04170.37530.354209
27-0.035424-0.31880.375342
28-0.079296-0.71370.238743
290.0086770.07810.468972
30-0.020495-0.18450.427057
310.068410.61570.269914
320.1332471.19920.11697
33-0.153181-1.37860.085902
340.0390920.35180.362942
350.1058670.95280.171763
360.0477460.42970.334273
370.2099461.88950.0312
380.0692870.62360.267327
39-0.060005-0.540.295323
400.1062490.95620.170898
41-0.006564-0.05910.476517
42-0.082053-0.73850.231181
430.0594560.53510.297021
440.0567630.51090.305418
45-0.094446-0.850.198912
460.1372431.23520.110166
47-0.086915-0.78220.218179
48-0.149677-1.34710.090854
49-0.004999-0.0450.482112
50-0.121876-1.09690.137972
51-0.116793-1.05110.14816
520.0887370.79860.213418
53-0.068205-0.61380.27052
54-0.034721-0.31250.377737
550.0388840.350.363638
56-0.201407-1.81270.036794
57-0.018489-0.16640.434129
58-0.002432-0.02190.491297
59-0.087948-0.79150.215472
600.0417960.37620.353888


Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
10.0181930.16370.435173
20.0843430.75910.225001
30.2503642.25330.013472
4-0.105298-0.94770.173055
50.0869940.78290.217972
60.1414961.27350.103248
7-0.106933-0.96240.169356
80.0238790.21490.415188
90.2183561.96520.026409
10-0.147409-1.32670.09417
11-0.19837-1.78530.038975
12-0.22179-1.99610.024641
13-0.113152-1.01840.155768
140.082340.74110.230399
150.00650.05850.476747
16-0.011004-0.0990.460677
170.1734611.56110.061194
18-0.025078-0.22570.411001
19-0.212989-1.91690.029388
20-0.055248-0.49720.310187
210.2027831.8250.03584
22-0.115713-1.04140.15039
23-0.02016-0.18140.428239
24-0.308725-2.77850.003392
25-0.091575-0.82420.206131
26-0.114428-1.02980.153073
270.2835622.55210.006294
280.0633120.56980.285193
290.0759330.68340.248154
30-0.028102-0.25290.400487
31-0.018149-0.16330.435328
32-0.008448-0.0760.469792
330.0087470.07870.468725
340.0186490.16780.433563
350.0598140.53830.295913
36-0.047463-0.42720.335194
370.0211230.19010.424852
38-0.047105-0.42390.336364
39-0.017287-0.15560.438373
40-0.053871-0.48480.314551
410.0743450.66910.252664
420.0290990.26190.397034
43-0.013278-0.11950.452586
44-0.080344-0.72310.235853
45-0.101358-0.91220.182179
460.0107250.09650.461672
470.0774170.69670.243977
48-0.149402-1.34460.09125
490.0037180.03350.486695
50-0.059701-0.53730.296265
51-0.024519-0.22070.412951
52-0.032488-0.29240.385369
530.0200990.18090.428451
540.0371230.33410.369582
550.0543760.48940.312945
56-0.043278-0.38950.348965
57-0.046106-0.4150.339635
58-0.122473-1.10230.136806
590.041470.37320.354975
600.0227360.20460.419191
 
Charts produced by software:
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/17/t122954600199u2a0moqdueljp/1rksf1229545963.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/17/t122954600199u2a0moqdueljp/1rksf1229545963.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/17/t122954600199u2a0moqdueljp/2nrsi1229545963.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/17/t122954600199u2a0moqdueljp/2nrsi1229545963.ps (open in new window)


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