Home » date » 2008 » Dec » 19 »

4.2.2

*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: Fri, 19 Dec 2008 03:57:29 -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/19/t12296844260kik9ot0yc9hdna.htm/, Retrieved Fri, 19 Dec 2008 12:00:26 +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/19/t12296844260kik9ot0yc9hdna.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 «
90.7 94.3 104.6 111.1 110 107.2 99 99 91 96.2 96.9 96.2 100.1 99 115.4 106.9 107.1 99.3 99.2 108.3 105.6 99.5 107.4 93.1 88.1 110.7 113.1 99.6 93.6 98.6 99.6 114.3 107.8 101.2 112.5 100.5 93.9 116.2 112 106.4 95.7 96 95.8 103 102.2 98.4 111.4 86.6 91.3 107.9 101.8 104.4 93.4 100.1 98.5 112.9 101.4 107.1 110.8 90.3 95.5 111.4 113 107.5 95.9 106.3 105.2 117.2 106.9 108.2 113 97.2 99.9 108.1 118.1 109.1 93.3 112.1 111.8 112.5 116.3 110.3 117.1 103.4 96.2
 
Output produced by software:


Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time4 seconds
R Server'Sir Ronald Aylmer Fisher' @ 193.190.124.24


Autocorrelation Function
Time lag kACF(k)T-STATP-value
10.2305452.12550.018222
2-0.120644-1.11230.134576
3-0.042168-0.38880.349209
4-0.01186-0.10930.456593
50.1565071.44290.076359
60.1281981.18190.120265
70.1293441.19250.118193
80.0079010.07280.471052
9-0.078509-0.72380.235583
10-0.200474-1.84830.034019
110.1124111.03640.151482
120.537694.95732e-06
130.0006520.0060.497609
14-0.243677-2.24660.013629
15-0.085992-0.79280.21505
16-8.1e-05-7e-040.499703
170.1339461.23490.110131
180.0668270.61610.269733
190.0451320.41610.339194
20-0.013856-0.12770.449326
21-0.123096-1.13490.129806
22-0.214937-1.98160.025377
230.0886750.81750.207952
240.3040192.80290.003136
25-0.107925-0.9950.161276
26-0.224958-2.0740.020552
27-0.120789-1.11360.134291
28-0.022471-0.20720.418184
290.0384780.35470.361829
300.0059010.05440.478372
31-0.003228-0.02980.488164
32-0.015848-0.14610.442091
33-0.126865-1.16960.122708
34-0.146508-1.35070.090182
350.0874050.80580.211294
360.2368812.18390.015861
37-0.060329-0.55620.289764
38-0.202607-1.86790.032608
39-0.047809-0.44080.330248
400.0453260.41790.338542
410.1085021.00030.159993
420.0758970.69970.243002
430.0923270.85120.198522
440.0037890.03490.486106
45-0.088865-0.81930.207455
46-0.061909-0.57080.284828
470.074020.68240.248412
480.1685291.55380.061979
49-0.023921-0.22050.412989
50-0.126314-1.16460.123729
510.0015460.01430.494331
520.038060.35090.363267
530.0126290.11640.453793
54-0.0437-0.40290.344018
55-0.037207-0.3430.366212
56-0.056886-0.52450.30066
57-0.118507-1.09260.138833
58-0.046627-0.42990.334184
590.0026420.02440.490311
600.0299210.27590.391665


Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
10.2305452.12550.018222
2-0.183552-1.69230.047129
30.0361420.33320.369896
4-0.034737-0.32030.374778
50.1807241.66620.049678
60.036570.33720.368414
70.1534431.41470.080409
8-0.047543-0.43830.331131
9-0.0188-0.17330.431402
10-0.237637-2.19090.015598
110.2373972.18870.015681
120.4204763.87660.000104
13-0.290273-2.67620.004467
14-0.148858-1.37240.086775
150.078670.72530.235128
160.0499750.46070.323079
170.0039470.03640.485528
18-0.053079-0.48940.312922
190.0087980.08110.467773
20-0.006605-0.06090.475794
21-0.031829-0.29340.384947
22-0.058646-0.54070.295068
230.0337780.31140.378124
24-0.069504-0.64080.26169
25-0.057343-0.52870.299205
260.0364020.33560.368997
27-0.074832-0.68990.246062
28-0.049617-0.45740.324258
29-0.064664-0.59620.276321
300.0646220.59580.276451
31-0.019002-0.17520.430673
32-0.003416-0.03150.487476
33-0.027846-0.25670.399004
340.0761620.70220.242242
35-0.067509-0.62240.26767
360.0995010.91740.180777
370.0142890.13170.447751
38-0.111726-1.03010.152951
390.0604250.55710.289466
400.0741510.68360.248031
410.0873280.80510.211498
420.013080.12060.452151
430.088060.81190.209566
44-0.060193-0.55490.290193
450.0485580.44770.327761
460.0150620.13890.444944
47-0.06198-0.57140.284608
48-0.066913-0.61690.269472
490.0356510.32870.371599
500.0718350.66230.254789
51-0.018411-0.16970.432808
52-0.092777-0.85540.197377
53-0.095926-0.88440.189488
54-0.108429-0.99970.160155
55-0.077104-0.71090.239558
560.0117410.10820.457028
57-0.070699-0.65180.258142
58-0.043934-0.40510.343227
59-0.069587-0.64160.261443
60-0.071164-0.65610.256766
 
Charts produced by software:
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/19/t12296844260kik9ot0yc9hdna/17tcp1229684238.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/19/t12296844260kik9ot0yc9hdna/17tcp1229684238.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/19/t12296844260kik9ot0yc9hdna/24q771229684238.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/19/t12296844260kik9ot0yc9hdna/24q771229684238.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 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