Home » date » 2008 » Dec » 15 »

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: Mon, 15 Dec 2008 12:52:36 -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/15/t1229370831bo9c7amx1ikvcxu.htm/, Retrieved Mon, 15 Dec 2008 20:53:53 +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/15/t1229370831bo9c7amx1ikvcxu.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 «
31.88 28.03 27.24 29.14 28.19 28.93 32.28 34.70 33.72 34.26 35.42 34.45 34.16 32.57 28.40 29.15 28.67 28.20 29.25 29.74 26.25 26.81 27.68 27.10 27.04 26.00 25.76 25.93 24.94 21.72 18.16 16.98 16.49 16.52 18.24 16.41 15.71 13.97 12.24 14.75 14.61 15.04 15.50 16.08 15.45 15.14 15.43 15.70 17.57 18.41 17.97 18.39 17.63 17.93 17.80 17.70 18.99 19.83 20.21 20.23 21.10 21.25 21.80 21.83 22.21 22.64 23.53 23.78 23.65 23.92 24.76 26.25 27.68 29.55 29.30 29.25 28.69 26.17 27.09 29.40 30.98 32.96 32.19 31.68 32.49 33.67 32.42 34.38 32.37 30.73 30.33 27.26 25.05 22.25 18.26 18.30
 
Output produced by software:


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


Autocorrelation Function
Time lag kACF(k)T-STATP-value
10.9596339.40240
20.9104368.92040
30.8638768.46420
40.8068327.90530
50.7606757.45310
60.7189357.04410
70.6632536.49850
80.6053175.93090
90.5527765.41610
100.4915444.81613e-06
110.4334024.24652.5e-05
120.3797433.72070.000167
130.3198953.13430.001143
140.2668972.6150.00518
150.2262552.21680.014497
160.1731291.69630.046534
170.1110331.08790.139683
180.0419830.41140.340866
19-0.029736-0.29140.385705
20-0.09439-0.92480.178687
21-0.142166-1.39290.083429
22-0.187292-1.83510.034795
23-0.230163-2.25510.013199
24-0.270402-2.64940.004715
25-0.314804-3.08440.001332
26-0.356474-3.49270.000362
27-0.392994-3.85050.000106
28-0.42827-4.19623e-05
29-0.457648-4.4841e-05
30-0.478505-4.68845e-06
31-0.493721-4.83753e-06
32-0.505022-4.94822e-06
33-0.51405-5.03661e-06
34-0.521939-5.11391e-06
35-0.530495-5.19781e-06
36-0.527545-5.16891e-06
37-0.524648-5.14051e-06
38-0.515342-5.04931e-06
39-0.499104-4.89022e-06
40-0.49347-4.8353e-06
41-0.487601-4.77753e-06
42-0.479791-4.7014e-06
43-0.469413-4.59936e-06
44-0.451085-4.41971.3e-05
45-0.425206-4.16623.4e-05
46-0.397299-3.89279.2e-05
47-0.3664-3.590.000262
48-0.33586-3.29070.000699
49-0.311689-3.05390.001462
50-0.28412-2.78380.003236
51-0.251195-2.46120.007816
52-0.217485-2.13090.017826
53-0.175811-1.72260.044091
54-0.136758-1.33990.091713
55-0.099626-0.97610.165727
56-0.059094-0.5790.281973
57-0.02305-0.22580.410903
580.0040930.04010.484046
590.033730.33050.370879
600.0670830.65730.256287


Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
10.9596339.40240
2-0.132232-1.29560.09911
30.0200260.19620.422429
4-0.168621-1.65210.050887
50.1457671.42820.078237
6-0.022712-0.22250.412188
7-0.182914-1.79220.038127
8-0.060392-0.59170.277714
90.0440170.43130.333617
10-0.117492-1.15120.126259
11-0.009338-0.09150.463647
12-0.03847-0.37690.353531
13-0.057938-0.56770.28579
140.0443160.43420.332555
150.0774490.75880.224902
16-0.198565-1.94550.027318
17-0.157829-1.54640.062649
18-0.178103-1.7450.042089
190.0365050.35770.360685
20-0.013963-0.13680.445734
210.0884620.86670.194121
22-0.06383-0.62540.266595
230.0165480.16210.43577
24-0.061404-0.60160.274417
25-0.032164-0.31510.376668
26-0.05953-0.58330.280539
27-0.044519-0.43620.331837
28-0.03857-0.37790.353168
290.0325920.31930.375085
30-0.031989-0.31340.37732
310.0220730.21630.414617
32-0.040267-0.39450.347031
330.0249350.24430.403756
340.0189520.18570.426541
35-0.025454-0.24940.401792
360.0375930.36830.356719
37-0.132468-1.29790.098713
380.0155640.15250.439557
39-0.000365-0.00360.498577
40-0.154067-1.50950.067223
410.002350.0230.49084
42-0.051844-0.5080.30632
430.0816170.79970.212937
440.0332240.32550.372744
450.0016590.01630.493532
46-0.007962-0.0780.468992
47-0.000297-0.00290.498841
48-0.07308-0.7160.237854
49-0.069516-0.68110.248719
500.0262870.25760.398648
510.0219420.2150.415115
520.0544460.53350.297474
530.0612550.60020.274904
54-0.09719-0.95230.171677
550.0488170.47830.316761
560.0665770.65230.257878
57-0.001949-0.01910.492401
58-0.121805-1.19340.117818
590.0090620.08880.464719
600.0171450.1680.433474
 
Charts produced by software:
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/15/t1229370831bo9c7amx1ikvcxu/1min81229370754.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/15/t1229370831bo9c7amx1ikvcxu/1min81229370754.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/15/t1229370831bo9c7amx1ikvcxu/213i01229370754.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/15/t1229370831bo9c7amx1ikvcxu/213i01229370754.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