Home » date » 2010 » Dec » 25 »

*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: Sat, 25 Dec 2010 05:30:33 +0000
 
Cite this page as follows:
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL http://www.freestatistics.org/blog/date/2010/Dec/25/t12932548832flul1ucjewsb9k.htm/, Retrieved Sat, 25 Dec 2010 06:28:04 +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/2010/Dec/25/t12932548832flul1ucjewsb9k.htm/},
    year = {2010},
}
@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 = {2010},
    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 «
19437.50 18885.1 16579 17203.6 19165.7 17107.6 17690.5 18664.9 15878.6 16014.6 16842.6 15986.9 16773.3 16263.1 13597.3 14285.6 15496.8 13916.8 14345.5 15761.3 14531.6 15076.6 15816.8 17180.4 20432.3 21289.5 18203.6 20159.5 21053.2 19673.6 21473.3 20244.7 19049.6 20194.3 18021.9 19537.3 20286.6 17967.7 16409.9 17802.7 18509.9 18161.3 16721.3 19106.9 16772.1 17463.6 16162.3 17862.9 17664.9 17180.8 15672.7 15189.8 17699.4 17444.6 15930.7 19691.6 16698 16896.2 17972.4 17637.4 15214
 
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'RServer@AstonUniversity' @ vre.aston.ac.uk


Autocorrelation Function
Time lag kACF(k)T-STATP-value
1-0.201278-1.39450.084795
20.0124450.08620.465826
30.439273.04340.001894
4-0.244241-1.69220.04855
50.16611.15080.127763
60.2079991.44110.07803
7-0.379454-2.62890.005736
80.074660.51730.303676
90.0276530.19160.424437
10-0.230419-1.59640.058483
110.0292060.20230.420251
12-0.188381-1.30510.099033
13-0.20387-1.41240.082134
140.0218460.15140.440165
15-0.009919-0.06870.472749
16-0.149356-1.03480.152981
170.0091420.06330.47488
18-0.094676-0.65590.257498
19-0.023469-0.16260.43576
200.1854881.28510.102463
21-0.191562-1.32720.095364
220.0185830.12870.449049
230.1842931.27680.103904
24-0.073389-0.50850.306733
250.1141520.79090.216456
260.1155210.80040.213724
27-0.133843-0.92730.179207
280.1096250.75950.225633
290.0746740.51740.303641
30-0.023808-0.16490.434838
310.0257020.17810.42971
320.01020.07070.471978
33-0.016241-0.11250.455439
340.0243130.16840.43347
350.0056520.03920.484464
36-0.110477-0.76540.223888
37-0.039621-0.27450.392439
380.0265780.18410.427341
39-0.038621-0.26760.395086
40-0.039336-0.27250.393194
410.0027830.01930.492348
42-0.01936-0.13410.446931
430.0070670.0490.480578
440.0061530.04260.483088
450.0063320.04390.482595
460.0066450.0460.481735
47-0.000761-0.00530.497907
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.201278-1.39450.084795
2-0.029253-0.20270.420124
30.4547573.15060.001402
4-0.089897-0.62280.268174
50.0982420.68060.249685
60.094240.65290.258463
7-0.278942-1.93260.029601
8-0.22121-1.53260.065971
9-0.057772-0.40030.345371
100.0362980.25150.401259
11-0.083143-0.5760.283641
12-0.184071-1.27530.104174
13-0.120249-0.83310.204454
14-0.098195-0.68030.249788
150.1493111.03450.153053
160.0032920.02280.490948
17-0.003438-0.02380.490547
18-0.171385-1.18740.120459
19-0.095911-0.66450.254779
200.121120.83910.202774
21-0.174876-1.21160.115803
22-0.037186-0.25760.398895
230.0846330.58640.280192
240.07770.53830.296421
25-0.096299-0.66720.253927
26-0.008702-0.06030.476089
270.0588040.40740.342761
28-0.133129-0.92230.180481
29-0.087207-0.60420.274281
300.1027010.71150.240099
31-0.020611-0.14280.443525
32-0.015779-0.10930.456702
330.0202670.14040.44446
340.0152160.10540.45824
35-0.114204-0.79120.216352
36-0.063789-0.44190.330258
370.0159410.11040.45626
38-0.013579-0.09410.462721
39-0.009435-0.06540.474077
40-0.021758-0.15070.440406
410.0640520.44380.329603
420.0177320.12290.451368
43-0.020305-0.14070.444358
440.0145340.10070.460105
45-0.010757-0.07450.470451
46-0.015707-0.10880.456899
47-0.022878-0.15850.437363
48NANANA
49NANANA
50NANANA
51NANANA
52NANANA
53NANANA
54NANANA
55NANANA
56NANANA
57NANANA
58NANANA
59NANANA
60NANANA
 
Charts produced by software:
http://www.freestatistics.org/blog/date/2010/Dec/25/t12932548832flul1ucjewsb9k/1yxgw1293255030.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/25/t12932548832flul1ucjewsb9k/1yxgw1293255030.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/25/t12932548832flul1ucjewsb9k/2yxgw1293255030.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/25/t12932548832flul1ucjewsb9k/2yxgw1293255030.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