Home » date » 2009 » Dec » 27 »

*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, 27 Dec 2009 03:35:52 -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/27/t1261910190s633r8xs8xvkkxv.htm/, Retrieved Sun, 27 Dec 2009 11:36:32 +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/27/t1261910190s633r8xs8xvkkxv.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:
 
Dataseries X:
» Textbox « » Textfile « » CSV «
28029 29383 36438 32034 22679 24319 18004 17537 20366 22782 19169 13807 29743 25591 29096 26482 22405 27044 17970 18730 19684 19785 18479 10698 31956 29506 34506 27165 26736 23691 18157 17328 18205 20995 17382 9367 31124 26551 30651 25859 25100 25778 20418 18688 20424 24776 19814 12738 31566 30111 30019 31934 25826 26835 20205 17789 20520 22518 15572 11509 25447 24090 27786 26195 20516 22759 19028 16971 20036 22485
 
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.403478-3.04620.001753
20.1874121.41490.081264
3-0.164473-1.24170.109708
4-0.077962-0.58860.279227
5-0.073668-0.55620.290131
60.1049310.79220.21576
7-0.106263-0.80230.212865
80.214371.61850.055543
9-0.010178-0.07680.46951
10-0.062872-0.47470.318418
110.0157450.11890.452899
12-0.197093-1.4880.071129
13-0.046191-0.34870.364287
14-0.013313-0.10050.460146
150.0626820.47320.318926
160.0193880.14640.44207
170.0803730.60680.273196
18-0.046486-0.3510.363457
19-0.003264-0.02460.490212
20-0.09231-0.69690.244342
210.1653911.24870.108444
22-0.254294-1.91990.029942
230.2761672.0850.020779
24-0.139607-1.0540.148163
250.1544981.16640.124148
26-0.006414-0.04840.480772
270.0229090.1730.431648
28-0.127048-0.95920.170757
290.1336611.00910.158592
30-0.124276-0.93830.176035
310.0343790.25960.39807
32-0.000909-0.00690.497274
33-0.09591-0.72410.235981
340.1272890.9610.170303
35-0.028234-0.21320.415981
36-0.048296-0.36460.358369
370.001980.0150.494061
38-0.059414-0.44860.327723
39-0.007108-0.05370.478695
400.0803130.60630.273345
41-0.055561-0.41950.338222
420.0438570.33110.370887
430.0196010.1480.44144
44-0.02047-0.15450.438863
450.0142840.10780.45725
460.0084360.06370.47472
470.0321670.24290.404495
48-0.047618-0.35950.360271
490.012690.09580.462005
500.073140.55220.291486
510.0004570.00350.498628
52-0.026634-0.20110.420674
53-0.028786-0.21730.414363
54-0.005152-0.03890.484554
55-0.007488-0.05650.477556
56-0.005349-0.04040.483963
57NANANA
58NANANA
59NANANA
60NANANA


Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
1-0.403478-3.04620.001753
20.0294040.2220.412554
3-0.094701-0.7150.238771
4-0.215547-1.62730.05459
5-0.203201-1.53410.065265
60.016260.12280.451365
7-0.107778-0.81370.2096
80.083750.63230.26486
90.1408551.06340.146035
10-0.055248-0.41710.339081
11-0.015073-0.11380.454899
12-0.167816-1.2670.105157
13-0.215072-1.62380.054973
14-0.193497-1.46090.074771
15-0.077903-0.58820.279376
16-0.118981-0.89830.186405
17-0.100976-0.76240.224497
18-0.048208-0.3640.358617
19-0.068464-0.51690.303617
20-0.115307-0.87050.193827
210.1984781.49850.069764
22-0.181314-1.36890.088202
230.0076840.0580.476969
24-0.05078-0.38340.351432
25-0.040949-0.30920.379164
260.000330.00250.49901
270.0327340.24710.402844
28-0.070871-0.53510.297343
290.013960.10540.458216
300.073630.55590.290229
31-0.073159-0.55230.291438
32-0.091237-0.68880.246864
33-0.100623-0.75970.225285
34-0.042529-0.32110.374661
35-0.004225-0.03190.487332
36-0.06504-0.4910.312642
37-0.066023-0.49850.310037
38-0.096473-0.72840.23469
390.0005030.00380.498493
400.0379870.28680.387654
41-0.027493-0.20760.418152
42-0.065703-0.4960.310885
430.0231360.17470.430979
44-0.121486-0.91720.181452
45-0.019797-0.14950.440858
46-0.067069-0.50640.307279
470.0725460.54770.293016
48-0.090821-0.68570.247847
49-0.0745-0.56250.288002
500.0211210.15950.436936
510.0737330.55670.289964
52-0.042997-0.32460.373329
53-0.049026-0.37010.356327
540.0223290.16860.433363
55-0.094767-0.71550.238619
56-0.028763-0.21720.41443
57NANANA
58NANANA
59NANANA
60NANANA
 
Charts produced by software:
http://www.freestatistics.org/blog/date/2009/Dec/27/t1261910190s633r8xs8xvkkxv/1d7cq1261910149.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Dec/27/t1261910190s633r8xs8xvkkxv/1d7cq1261910149.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Dec/27/t1261910190s633r8xs8xvkkxv/28rmb1261910149.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Dec/27/t1261910190s633r8xs8xvkkxv/28rmb1261910149.ps (open in new window)


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