Home » date » 2008 » Dec » 11 »

Paper

*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: Thu, 11 Dec 2008 05:55:22 -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/11/t1229000253ycj7dvteq0o89my.htm/, Retrieved Thu, 11 Dec 2008 12:57:33 +0000
 
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/11/t1229000253ycj7dvteq0o89my.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},
}
 
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
 
Feedback Forum:
2008-11-27 13:41:43 [a2386b643d711541400692649981f2dc] [reply
test

Post a new message
 
Original text written by user:
 
IsPrivate?
No (this computation is public)
 
User-defined keywords:
 
Dataseries X:
» Textbox « » Textfile « » CSV «
98,6 98 106,8 96,6 100,1 107,7 91,5 97,8 107,4 117,5 105,6 97,4 99,5 98 104,3 100,6 101,1 103,9 96,9 95,5 108,4 117 103,8 100,8 110,6 104 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 112,4 130,6 109,1 118,8 123,9 101,6 112,8 128 129,6 125,8 119,5 115,7 113,6 129,7 112 116,8 127 112,1 114,2 121,1 131,6 125 120,4
 
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'Sir Ronald Aylmer Fisher' @ 193.190.124.24


Autocorrelation Function
Time lag kACF(k)T-STATP-value
10.1450471.23080.111208
20.0587120.49820.309934
30.2587922.19590.01566
4-0.037472-0.3180.375716
50.0620810.52680.299983
60.2030181.72270.044621
7-0.129215-1.09640.138273
80.122841.04230.150373
90.2052551.74160.042921
10-0.212205-1.80060.037976
11-0.078275-0.66420.254347
12-0.205541-1.74410.042707
13-0.253606-2.15190.017379
140.0885090.7510.227542
15-0.128006-1.08620.140514
16-0.151608-1.28640.101206
170.2112951.79290.038595
18-0.163351-1.38610.085001
19-0.193644-1.64310.052359
200.002250.01910.492411
21-0.06786-0.57580.283269
22-0.098199-0.83320.203731
230.1362641.15620.125703
24-0.232277-1.97090.026288
25-0.139454-1.18330.12029
260.0481910.40890.341908
27-0.061616-0.52280.301348
28-0.062749-0.53240.298029
29-0.002071-0.01760.493013
30-0.053356-0.45270.326049
310.0515330.43730.33161
320.0278370.23620.406972
33-0.155536-1.31980.095547
340.0399520.3390.367796
350.0577620.49010.312766
360.0291680.24750.402612
370.2302011.95330.027334
380.1042110.88430.189749
39-0.051874-0.44020.330568
400.1379191.17030.122873
41-0.055817-0.47360.3186
42-0.040228-0.34130.366917
430.1062340.90140.185183
440.0394680.33490.369338
45-0.030631-0.25990.397836
460.0734410.62320.267571
47-0.067294-0.5710.284887
48-0.108898-0.9240.179278
49-0.053336-0.45260.326109
50-0.133494-1.13270.130543
51-0.01727-0.14650.441952
52-0.013842-0.11750.453413
53-0.036176-0.3070.379879
540.0260730.22120.412766
55-0.029853-0.25330.400376
56-0.072377-0.61410.270529
57-0.010648-0.09040.464128
58-0.009209-0.07810.468965
590.0073210.06210.475319
600.039980.33920.367707


Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
10.1450471.23080.111208
20.0384830.32650.372481
30.2506592.12690.018427
4-0.117491-0.99690.161065
50.0757760.6430.26114
60.1334211.13210.13067
7-0.161244-1.36820.087752
80.1488271.26280.105361
90.1092520.9270.178503
10-0.220876-1.87420.032481
11-0.120042-1.01860.155905
12-0.281023-2.38460.009868
13-0.050681-0.430.334223
140.1288081.0930.139024
15-0.099645-0.84550.200313
160.0432960.36740.357206
170.1943341.6490.051754
18-0.15436-1.30980.097216
19-0.084518-0.71720.237799
20-0.046185-0.39190.348148
210.2115971.79550.038388
22-0.200595-1.70210.046525
23-0.023763-0.20160.420385
24-0.241926-2.05280.021863
25-0.203644-1.7280.04414
26-0.011245-0.09540.462125
270.2109881.79030.038805
280.0180570.15320.439328
290.0496360.42120.33744
30-0.080802-0.68560.247576
31-0.060996-0.51760.303172
32-0.011847-0.10050.460104
330.0018460.01570.493774
340.0256820.21790.414056
35-0.002289-0.01940.49228
36-0.058917-0.49990.309324
370.0708070.60080.274923
38-0.013927-0.11820.45313
390.0487750.41390.3401
40-0.022486-0.19080.424609
41-0.028738-0.24390.404019
420.0347860.29520.384358
43-0.106413-0.90290.184784
44-0.097562-0.82780.205247
45-0.007309-0.0620.475359
46-0.07799-0.66180.255117
470.0684840.58110.281491
48-0.146557-1.24360.108844
49-0.001578-0.01340.494676
505.3e-055e-040.49982
510.0395230.33540.369162
52-0.015011-0.12740.449501
530.0051410.04360.482664
54-0.041681-0.35370.362307
550.0025590.02170.491368
56-0.011591-0.09840.460963
57-0.043568-0.36970.356351
58-0.051363-0.43580.332134
590.0035280.02990.488101
60-0.053091-0.45050.326854
 
Charts produced by software:
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/11/t1229000253ycj7dvteq0o89my/1uqkz1229000117.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/11/t1229000253ycj7dvteq0o89my/1uqkz1229000117.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/11/t1229000253ycj7dvteq0o89my/2tgbi1229000117.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/11/t1229000253ycj7dvteq0o89my/2tgbi1229000117.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