Home » date » 2009 » Dec » 18 »

*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, 18 Dec 2009 03:54:28 -0700
 
Cite this page as follows:
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL http://www.freestatistics.org/blog/date/2009/Dec/18/t1261133722i78fb90aaiwb8ds.htm/, Retrieved Fri, 18 Dec 2009 11:55:24 +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/2009/Dec/18/t1261133722i78fb90aaiwb8ds.htm/},
    year = {2009},
}
@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 = {2009},
    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:
shwpaper24
 
Dataseries X:
» Textbox « » Textfile « » CSV «
15912.8 13866.5 17823.2 17872 17420.4 16704.4 15991.2 16583.6 19123.5 17838.7 17209.4 18586.5 16258.1 15141.6 19202.1 17746.5 19090.1 18040.3 17515.5 17751.8 21072.4 17170 19439.5 19795.4 17574.9 16165.4 19464.6 19932.1 19961.2 17343.4 18924.2 18574.1 21350.6 18594.6 19823.1 20844.4 19640.2 17735.4 19813.6 22160 20664.3 17877.4 20906.5 21164.1 21374.4 22952.3 21343.5 23899.3 22392.9 18274.1 22786.7 22321.5 17842.2 16373.5 15993.8 16446.1 17729 16643 16196.7 18252.1 17304
 
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
1-0.566145-3.92240.000139
20.0770160.53360.298046
30.3693362.55880.006855
4-0.351697-2.43660.009292
50.1557781.07930.142932
60.1616261.11980.134191
7-0.38018-2.6340.005662
80.2959252.05020.022913
9-0.12635-0.87540.192865
10-0.090464-0.62680.266896
110.1603861.11120.136012
12-0.13069-0.90540.184875
13-0.000731-0.00510.497989
140.0594720.4120.341075
150.0282580.19580.422805
16-0.169637-1.17530.12284
170.1773121.22850.112633
18-0.097413-0.67490.25149
19-0.070805-0.49050.31299
200.1736341.2030.117444
21-0.094466-0.65450.257963
22-0.180851-1.2530.108142
230.3789592.62550.005787
24-0.335662-2.32550.012158
250.1402920.9720.16797
260.0664280.46020.323717
27-0.156247-1.08250.142217
280.1053280.72970.23455
290.0305610.21170.416607
30-0.132376-0.91710.18183
310.1439490.99730.161808
32-0.107403-0.74410.23022
330.0239870.16620.434353
340.0794530.55050.292277
35-0.139727-0.96810.168934
360.0511980.35470.362181
370.01510.10460.458557
38-0.048526-0.33620.369093
39-0.006392-0.04430.48243
400.0309220.21420.415636
41-0.075951-0.52620.300584
420.0497860.34490.365827
43-0.014381-0.09960.460525
44-0.004095-0.02840.488742
450.002270.01570.493758
46-0.001876-0.0130.494842
470.0050910.03530.486005
48NANANA
49NANANA
50NANANA
51NANANA
52NANANA
53NANANA
54NANANA
55NANANA
56NANANA
57NANANA
58NANANA
59NANANA
60NANANA


Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
1-0.566145-3.92240.000139
2-0.358369-2.48290.008291
30.381072.64010.005573
40.2028151.40510.083209
50.0020270.0140.494426
60.1047360.72560.235794
7-0.244622-1.69480.048297
8-0.168536-1.16770.124357
9-0.153756-1.06530.146046
100.0443410.30720.380008
110.1053170.72970.234573
120.1001160.69360.24563
130.0305280.21150.416696
14-0.161833-1.12120.133888
150.1365370.9460.174454
16-0.186769-1.2940.100933
17-0.087962-0.60940.272561
18-0.067381-0.46680.321368
19-0.053874-0.37320.355303
200.1306090.90490.185023
210.2365081.63860.05392
22-0.157886-1.09390.139737
23-0.047006-0.32570.373045
24-0.068587-0.47520.318404
250.0159860.11080.456135
26-0.098909-0.68530.248237
270.1138910.78910.216979
280.020340.14090.444261
29-0.039192-0.27150.393574
300.0474370.32870.371925
31-0.007464-0.05170.479486
32-0.089444-0.61970.269197
33-0.028933-0.20050.420986
340.0590370.4090.342172
35-0.080301-0.55630.29028
36-0.10093-0.69930.243881
37-0.021601-0.14970.440831
38-0.075055-0.520.302729
390.0516370.35780.361048
400.0040140.02780.488965
41-0.004049-0.02810.488868
420.0179770.12450.4507
43-0.041177-0.28530.388327
44-0.110791-0.76760.223247
450.0610460.42290.337114
46-0.056751-0.39320.347962
47-0.000273-0.00190.499251
48NANANA
49NANANA
50NANANA
51NANANA
52NANANA
53NANANA
54NANANA
55NANANA
56NANANA
57NANANA
58NANANA
59NANANA
60NANANA
 
Charts produced by software:
http://www.freestatistics.org/blog/date/2009/Dec/18/t1261133722i78fb90aaiwb8ds/1yppy1261133666.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Dec/18/t1261133722i78fb90aaiwb8ds/1yppy1261133666.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Dec/18/t1261133722i78fb90aaiwb8ds/2d2ba1261133666.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Dec/18/t1261133722i78fb90aaiwb8ds/2d2ba1261133666.ps (open in new window)


 
Parameters (Session):
par1 = 60 ; par2 = 1 ; par3 = 1 ; par4 = 1 ; par5 = 12 ; par6 = MA ;
 
Parameters (R input):
par1 = 60 ; par2 = 1 ; par3 = 1 ; par4 = 1 ; par5 = 12 ; par6 = MA ;
 
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