Home » date » 2010 » Dec » 19 »

*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: Sun, 19 Dec 2010 19:49:49 +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/19/t1292788077g9kohlpk61jho81.htm/, Retrieved Sun, 19 Dec 2010 20:47:57 +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/19/t1292788077g9kohlpk61jho81.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 «
4.031636 3.702076 3.056176 3.280707 2.984728 3.693712 3.226317 2.190349 2.599515 3.080288 2.929672 2.922548 3.234943 2.983081 3.284389 3.806511 3.784579 2.645654 3.092081 3.204859 3.107225 3.466909 2.984404 3.218072 2.82731 3.182049 2.236319 2.033218 1.644804 1.627971 1.677559 2.330828 2.493615 2.257172 2.655517 2.298655 2.600402 3.04523 2.790583 3.227052 2.967479 2.938817 3.277961 3.423985 3.072646 2.754253 2.910431 3.174369 3.068387 3.089543 2.906654 2.931161 3.02566 2.939551 2.691019 3.19812 3.07639 2.863873 3.013802 3.053364 2.864753 3.057062 2.959365 3.252258 3.602988 3.497704 3.296867 3.602417 3.3001 3.40193 3.502591 3.402348 3.498551 3.199823 2.700064 2.801034 2.898628 2.800854 2.399942 2.402724 2.202331 2.102594 1.798293 1.202484 1.400201 1.200832 1.298083 1.099742 1.001377 0.8361743
 
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
1-0.196193-1.85090.033752
2-0.115453-1.08920.139507
30.0436030.41130.340903
40.0114130.10770.45725
50.042750.40330.343847
60.1353581.2770.102468
7-0.027437-0.25880.398179
8-0.233167-2.19970.01521
90.1601431.51080.067193
100.0546140.51520.303834
11-0.020216-0.19070.42459
12-0.067217-0.63410.263813
13-0.023722-0.22380.411715
14-0.19556-1.84490.034189
150.0326670.30820.379334
160.1469691.38650.084528
17-0.10512-0.99170.162017
180.0545520.51460.304039
19-0.066185-0.62440.266986
20-0.001948-0.01840.49269
210.0373990.35280.362528
220.0894920.84430.200391
23-0.055441-0.5230.301127
240.0662390.62490.266818
25-0.023809-0.22460.411398
260.011850.11180.455621
270.0331030.31230.377772
280.1193841.12630.131541
29-0.081034-0.76450.223305
30-0.088333-0.83330.203444
310.0364330.34370.365937
32-0.063219-0.59640.27621
330.0814620.76850.222109
340.0752040.70950.239944
35-0.170403-1.60760.055735
36-0.062136-0.58620.279616
37-0.006348-0.05990.476189
380.0324110.30580.380247
39-0.025553-0.24110.405027
40-0.014987-0.14140.443943
41-0.092193-0.86970.193389
42-0.020307-0.19160.424255
430.0372560.35150.363031
44-0.017839-0.16830.433369
45-0.041894-0.39520.34681
46-0.022146-0.20890.417494
470.0144060.13590.446102
48-0.030817-0.29070.385969
490.0021530.02030.491921
500.0344550.3250.372955
51-0.048347-0.45610.324713
520.0386340.36450.358186
53-0.043946-0.41460.339722
540.0110440.10420.458627
550.0486610.45910.323654
560.0324120.30580.380247
57-0.010242-0.09660.461622
58-0.006603-0.06230.475235
590.0010890.01030.495915
60-0.072664-0.68550.247401


Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
1-0.196193-1.85090.033752
2-0.160107-1.51050.067235
3-0.015036-0.14190.443759
4-0.000414-0.00390.498446
50.0541080.51050.305499
60.1706031.60950.055528
70.0601760.56770.285834
8-0.208548-1.96740.026123
90.0574750.54220.294512
100.0421690.39780.345857
110.0222750.21010.417018
12-0.077692-0.73290.232759
13-0.037312-0.3520.362837
14-0.213982-2.01870.023264
15-0.119295-1.12540.131718
160.0454620.42890.33452
170.0107840.10170.459598
180.1290851.21780.113262
19-0.016187-0.15270.439489
200.0075390.07110.47173
210.0125060.1180.453174
220.0317070.29910.382773
230.0300450.28340.388748
240.1571621.48270.070848
25-0.020445-0.19290.423746
26-0.014668-0.13840.445126
27-0.079736-0.75220.22695
280.0950920.89710.186044
29-0.040123-0.37850.352972
30-0.044918-0.42380.336384
31-0.046829-0.44180.329859
32-0.076511-0.72180.236154
33-0.003888-0.03670.485411
340.0937630.88460.18939
35-0.057281-0.54040.295141
36-0.008284-0.07810.468943
37-0.119244-1.12490.131819
38-0.005675-0.05350.478712
39-0.02726-0.25720.398819
40-0.010866-0.10250.459292
41-0.009124-0.08610.465801
42-0.01441-0.13590.446085
43-0.077805-0.7340.232435
44-0.140482-1.32530.094232
45-0.055292-0.52160.301613
46-0.016561-0.15620.438102
470.057860.54590.293267
48-0.010426-0.09840.460935
49-0.110565-1.04310.149871
50-0.053847-0.5080.306357
51-0.0532-0.50190.308493
520.0242080.22840.40994
530.0331140.31240.377736
540.001290.01220.495159
550.0385870.3640.358348
56-0.009822-0.09270.463191
570.0157250.14840.4412
580.0164040.15480.438682
590.0414730.39130.348271
60-0.092056-0.86850.193742
 
Charts produced by software:
http://www.freestatistics.org/blog/date/2010/Dec/19/t1292788077g9kohlpk61jho81/1odcu1292788186.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/19/t1292788077g9kohlpk61jho81/1odcu1292788186.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/19/t1292788077g9kohlpk61jho81/2z5ux1292788186.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/19/t1292788077g9kohlpk61jho81/2z5ux1292788186.ps (open in new window)


 
Parameters (Session):
par1 = 60 ; par2 = 1 ; par3 = 1 ; par4 = 0 ; par5 = 12 ; par6 = White Noise ; par7 = 0.95 ;
 
Parameters (R input):
par1 = 60 ; par2 = 1 ; par3 = 1 ; par4 = 0 ; par5 = 12 ; par6 = White Noise ; par7 = 0.95 ;
 
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 (par6 == 'White Noise') par6 <- 'white' else par6 <- 'ma'
par7 <- as.numeric(par7)
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='time lag', ylab='ACF', ci.type=par6, ci=par7, sub=paste('(lambda=',par2,', d=',par3,', D=',par4,', CI=', par7, ', CI type=',par6,')',sep=''))
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