Home » date » 2008 » Dec » 19 »

Paper - ACF

*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 10:22:27 -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/t1229707369793vpfrxl0octnk.htm/, Retrieved Fri, 19 Dec 2008 18:22:49 +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/t1229707369793vpfrxl0octnk.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,8 96,4 90 92,1 97,2 95,1 88,5 91 90,5 75 66,3 66 68,4 70,6 83,9 90,1 90,6 87,1 90,8 94,1 99,8 96,8 87 96,3 107,1 115,2 106,1 89,5 91,3 97,6 100,7 104,6 94,7 101,8 102,5 105,3 110,3 109,8 117,3 118,8 131,3 125,9 133,1 147 145,8 164,4 149,8 137,7 151,7 156,8 180 180,4 170,4 191,6 199,5 218,2 217,5 205 194 199,3
 
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.9389487.27310
20.8794736.81240
30.8140566.30560
40.7440845.76360
50.6811825.27641e-06
60.6109524.73247e-06
70.54174.1964.6e-05
80.4947443.83230.000153
90.4449063.44620.000522
100.394743.05760.001665
110.3465072.6840.004694
120.2953992.28810.012834
130.2548871.97430.026475
140.209061.61940.055306
150.1553481.20330.11679
160.1130970.8760.19225
170.0711450.55110.29181
180.0342970.26570.395704
190.0101020.07830.468944
20-0.022344-0.17310.431586
21-0.053521-0.41460.339967
22-0.082612-0.63990.262334
23-0.107368-0.83170.204446
24-0.121048-0.93760.176097
25-0.130031-1.00720.158937
26-0.145708-1.12860.13177
27-0.165064-1.27860.102984
28-0.178285-1.3810.086202
29-0.192594-1.49180.070492
30-0.202283-1.56690.061202
31-0.219338-1.6990.047251
32-0.234288-1.81480.037278
33-0.248202-1.92260.029643
34-0.265684-2.0580.021972
35-0.287351-2.22580.014898
36-0.306494-2.37410.010405
37-0.31972-2.47650.008052
38-0.327701-2.53840.006875
39-0.340592-2.63820.0053
40-0.355866-2.75650.003864
41-0.362477-2.80770.003361
42-0.369912-2.86530.002868
43-0.372395-2.88460.002718
44-0.369238-2.86010.002909
45-0.361412-2.79950.003437
46-0.340221-2.63530.005341
47-0.310475-2.40490.009639
48-0.283683-2.19740.015932
49-0.25163-1.94910.02798
50-0.220393-1.70720.046482
51-0.189545-1.46820.073635
52-0.170739-1.32250.095504
53-0.157373-1.2190.113806
54-0.134384-1.04090.151041
55-0.11457-0.88750.189189
56-0.091868-0.71160.239732
57-0.065398-0.50660.307156
58-0.039878-0.30890.379236
59-0.022944-0.17770.429771
60NANANA


Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
10.9389487.27310
2-0.018171-0.14070.44427
3-0.081694-0.63280.264635
4-0.076165-0.590.278711
50.0212810.16480.434811
6-0.094686-0.73340.233074
7-0.041155-0.31880.3755
80.149181.15550.126224
9-0.046599-0.3610.3597
10-0.066874-0.5180.303181
11-0.025742-0.19940.421313
12-0.039195-0.30360.381241
130.0263240.20390.419559
14-0.078589-0.60880.272494
15-0.081326-0.62990.26556
160.0474760.36780.357176
17-0.023594-0.18280.427801
18-0.014262-0.11050.456201
190.0646390.50070.30921
20-0.06732-0.52150.301983
21-0.071915-0.55710.289782
22-0.038153-0.29550.384303
230.0472070.36570.357951
240.0483140.37420.354773
250.0231090.1790.42927
26-0.071012-0.55010.292161
27-0.103191-0.79930.21363
280.0360390.27920.390541
29-0.034307-0.26570.395674
300.0076660.05940.476422
31-0.050737-0.3930.347853
32-0.020369-0.15780.437582
33-0.054584-0.42280.336974
34-0.05689-0.44070.330519
35-0.05821-0.45090.326847
36-0.000942-0.00730.4971
370.0250360.19390.423444
38-0.034592-0.2680.394828
39-0.081575-0.63190.264933
40-0.028664-0.2220.412523
410.0431990.33460.36954
42-0.05397-0.41810.338701
43-0.004734-0.03670.485437
440.019880.1540.439066
450.0308740.23920.405901
460.0792720.6140.270755
470.0668960.51820.303122
48-0.011192-0.08670.465602
49-0.005577-0.04320.482844
50-0.019957-0.15460.438832
51-0.010121-0.07840.468888
52-0.091842-0.71140.239795
53-0.007303-0.05660.477539
540.1042990.80790.211172
55-0.032012-0.2480.402506
560.0053870.04170.483428
570.0220280.17060.432544
580.006870.05320.47887
59-0.109691-0.84970.199444
60NANANA
 
Charts produced by software:
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/19/t1229707369793vpfrxl0octnk/1ocz71229707342.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/19/t1229707369793vpfrxl0octnk/1ocz71229707342.ps (open in new window)


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