Home » date » 2008 » Dec » 09 »

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: Tue, 09 Dec 2008 06:54:35 -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/09/t1228830964m7oxmkxe99uxibd.htm/, Retrieved Tue, 09 Dec 2008 13:56:06 +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/09/t1228830964m7oxmkxe99uxibd.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:

Post a new message
 
Original text written by user:
 
IsPrivate?
No (this computation is public)
 
User-defined keywords:
 
Dataseries X:
» Textbox « » Textfile « » CSV «
1202454.6 1201423.4 1505916 1513377.6 1977605.3 1873829.6 1424049.1 1322740 1584825.5 1680460.3 1648573.7 3095468.7 1307982.9 1367588.9 1572718.3 1611602.9 1641196.4 1845262.4 1464237.6 1402385.7 2077099.8 1691129.6 1729012.7 3347792.1 1365087.7 1545460 1844355.1 1775549.8 1721779.2 2128726.1 1664319.9 1769471.4 1904578.4 1872042.3 1802181 3222199.4 1491414.2 1658519.2 2079206.9 1748767.4 2084447.4 2067181.6 1718122.8 1782337.1 1958118.4 2028681.3 2076128.1 3383873 1870369 1654852.9 2074338.3 1888653.7 1991137.8 2168237.9 1867424.1 1842359.6 1927476.3 2065555.4 2455608.5 3336170.9
 
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'Gwilym Jenkins' @ 72.249.127.135


Autocorrelation Function
Time lag kACF(k)T-STATP-value
10.0603710.46760.320871
2-0.024017-0.1860.426522
30.137431.06450.145677
4-0.094407-0.73130.233729
50.0107450.08320.466973
60.3448742.67140.004855
70.0532470.41240.340741
8-0.073785-0.57150.284885
90.106920.82820.20542
10-0.100912-0.78170.218744
11-0.03993-0.30930.379085
120.7345745.690
13-0.013726-0.10630.45784
14-0.054133-0.41930.338244
150.1067090.82660.205879
16-0.10702-0.8290.205202
17-0.041238-0.31940.375255
180.2286321.7710.040822
19-0.012495-0.09680.461611
20-0.100697-0.780.219229
21-0.001903-0.01470.494145
22-0.139639-1.08160.141871
23-0.103188-0.79930.213636
240.4800463.71840.000222
25-0.051381-0.3980.346024
26-0.093108-0.72120.236791
270.0352730.27320.392809
28-0.139341-1.07930.142381
29-0.070504-0.54610.293504
300.0995970.77150.221727
31-0.057995-0.44920.327444
32-0.117613-0.9110.182963
33-0.078615-0.60890.27243
34-0.147198-1.14020.129369
35-0.091816-0.71120.239857
360.2976452.30550.012305
37-0.055076-0.42660.335591
38-0.099263-0.76890.222489
39-0.041523-0.32160.374424
40-0.152796-1.18360.120629
41-0.092276-0.71480.238762
420.0186820.14470.442713
43-0.044076-0.34140.366994
44-0.116416-0.90180.185396
45-0.120014-0.92960.178145
46-0.14494-1.12270.133018
47-0.089295-0.69170.245904
480.1170770.90690.184051
49-0.034927-0.27050.393835
50-0.059734-0.46270.322626
51-0.070197-0.54370.294315
52-0.090783-0.70320.242326
53-0.057653-0.44660.328394
54-0.000339-0.00260.498957
55-0.00999-0.07740.469288
56-0.062328-0.48280.315501
57-0.072934-0.56490.28711
58-0.094735-0.73380.232959
59-0.067864-0.52570.300525
60NANANA


Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
10.0603710.46760.320871
2-0.027763-0.21510.415228
30.141221.09390.139189
4-0.115683-0.89610.186896
50.0360190.2790.390602
60.3265042.52910.007041
70.0370580.2870.387533
8-0.094794-0.73430.232823
90.0463490.3590.360421
10-0.061366-0.47530.318134
11-0.013287-0.10290.459184
120.705385.46380
13-0.263743-2.04290.022729
14-0.082908-0.64220.261594
15-0.020588-0.15950.436917
160.0715130.55390.290839
17-0.029947-0.2320.408675
18-0.215123-1.66630.05043
19-0.086685-0.67150.252252
200.040990.31750.375982
21-0.160917-1.24650.10872
220.0648040.5020.308763
23-0.03324-0.25750.398847
24-0.11128-0.8620.196068
250.1139420.88260.190491
26-0.049602-0.38420.35109
27-0.042407-0.32850.371844
28-0.046136-0.35740.361036
290.0135490.10490.458384
30-0.058866-0.4560.325027
31-0.042594-0.32990.371299
32-0.049702-0.3850.350803
330.0391130.3030.38148
34-0.033072-0.25620.399347
350.0999280.7740.220973
36-0.048939-0.37910.352982
370.0023150.01790.492877
38-0.001412-0.01090.495655
39-0.07863-0.60910.272391
40-0.021461-0.16620.434266
41-0.099164-0.76810.222713
42-0.002457-0.0190.492439
430.0655580.50780.306724
44-0.1228-0.95120.172658
450.0123180.09540.462152
46-0.0011-0.00850.496615
47-0.05912-0.45790.324325
48-0.09986-0.77350.221127
490.0124090.09610.461873
500.0752510.58290.281076
51-0.048836-0.37830.353277
520.0385440.29860.383154
530.0524090.4060.34311
540.0329420.25520.399733
55-0.024609-0.19060.424734
560.0775550.60070.275139
570.0944670.73170.233588
58-0.092881-0.71950.237327
59-0.114869-0.88980.188572
60NANANA
 
Charts produced by software:
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/09/t1228830964m7oxmkxe99uxibd/159b31228830873.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/09/t1228830964m7oxmkxe99uxibd/159b31228830873.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/09/t1228830964m7oxmkxe99uxibd/2qura1228830873.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/09/t1228830964m7oxmkxe99uxibd/2qura1228830873.ps (open in new window)


 
Parameters (Session):
par1 = 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