Home » date » 2009 » Dec » 17 »

*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: Thu, 17 Dec 2009 08:21:07 -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/17/t12610633318l1xhcu48usliiz.htm/, Retrieved Thu, 17 Dec 2009 16:22:13 +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/17/t12610633318l1xhcu48usliiz.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 «
9.3 9.3 8.7 8.2 8.3 8.5 8.6 8.5 8.2 8.1 7.9 8.6 8.7 8.7 8.5 8.4 8.5 8.7 8.7 8.6 8.5 8.3 8 8.2 8.1 8.1 8 7.9 7.9 8 8 7.9 8 7.7 7.2 7.5 7.3 7 7 7 7.2 7.3 7.1 6.8 6.4 6.1 6.5 7.7 7.9 7.5 6.9 6.6 6.9 7.7 8 8 7.7 7.3 7.4 8.1 8.3 8.3
 
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.3387872.6460.005173
2-0.293741-2.29420.012618
3-0.524927-4.09986.2e-05
4-0.353261-2.75910.003821
50.143851.12350.132813
60.5348654.17744.8e-05
70.3536382.7620.00379
8-0.055407-0.43270.333363
9-0.337058-2.63250.005361
10-0.320437-2.50270.00751
11-0.015503-0.12110.452012
120.362432.83070.003141
130.0835520.65260.258244
14-0.062562-0.48860.31343
15-0.077677-0.60670.273159
16-0.089742-0.70090.243014
17-0.004962-0.03880.484605
180.0928740.72540.2355
190.0246480.19250.423991
20-0.053055-0.41440.340028
21-0.060532-0.47280.319032
22-0.057246-0.44710.328191
230.0436910.34120.36705
240.1622971.26760.104882
25-0.107607-0.84040.201973
26-0.142257-1.11110.135451
27-0.07361-0.57490.283732
28-0.0155-0.12110.452022
290.083370.65110.2587
300.1292051.00910.158451
310.0389490.30420.381005
32-0.119718-0.9350.17673
33-0.168459-1.31570.096598
340.0049720.03880.484574
350.1704891.33160.09398
360.2342451.82950.036105
37-0.023358-0.18240.427925
38-0.176908-1.38170.086052
39-0.19283-1.5060.068608
40-0.03732-0.29150.385836
410.1627791.27130.104216
420.2665142.08150.020794
430.0722050.56390.287432
44-0.189759-1.48210.071735
45-0.260279-2.03280.023214
46-0.063229-0.49380.311599
470.1338461.04540.149988
480.207611.62150.055036
490.0486660.38010.352598
50-0.102338-0.79930.213612
51-0.147979-1.15570.126145
52-0.062166-0.48550.314519
530.0267470.20890.41761
540.0835970.65290.258132
550.0453680.35430.362155
56-0.060264-0.47070.319774
57-0.07979-0.62320.267744
58-0.018831-0.14710.441778
59-0.000926-0.00720.497128
604.1e-053e-040.499872


Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
10.3387872.6460.005173
2-0.461485-3.60430.000315
3-0.320284-2.50150.007533
4-0.242161-1.89130.031665
50.0922720.72070.236933
60.2607682.03670.023015
70.0429360.33530.36926
80.0753940.58880.27907
90.0390290.30480.380767
100.0026640.02080.491735
110.0057420.04480.482189
120.1525031.19110.119118
13-0.462645-3.61340.000306
140.1225380.95710.171159
150.0770660.60190.274734
160.0097130.07590.469889
17-0.054732-0.42750.33527
18-0.007281-0.05690.47742
190.0952860.74420.229805
20-0.023436-0.1830.427688
21-0.040923-0.31960.375175
22-0.15172-1.1850.120313
230.0691460.54010.295564
240.0483270.37740.353575
25-0.160628-1.25450.107215
26-0.080789-0.6310.265203
27-0.093364-0.72920.234336
280.0671980.52480.3008
29-0.013997-0.10930.456654
30-0.02691-0.21020.417117
310.0629940.4920.312242
32-0.030995-0.24210.404765
33-0.001027-0.0080.496814
340.2450711.91410.030153
35-0.001732-0.01350.494626
360.0300630.23480.407576
370.0362550.28320.389008
38-0.099943-0.78060.219034
39-0.082796-0.64670.26014
40-0.020555-0.16050.436493
41-0.043395-0.33890.367913
420.0984030.76860.222562
43-0.093287-0.72860.23452
440.0490750.38330.351418
450.0654220.5110.30561
46-0.018286-0.14280.443451
47-0.028146-0.21980.41337
48-0.108355-0.84630.200352
490.0066290.05180.479438
50-0.069072-0.53950.295762
510.0337280.26340.396554
52-0.094608-0.73890.231398
53-0.033613-0.26250.396901
54-0.056771-0.44340.329525
550.0422190.32970.371363
560.0023090.0180.492837
57-0.05797-0.45280.326165
58-0.086107-0.67250.251896
590.0680030.53110.298631
600.0063340.04950.480353
 
Charts produced by software:
http://www.freestatistics.org/blog/date/2009/Dec/17/t12610633318l1xhcu48usliiz/1dveq1261063265.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Dec/17/t12610633318l1xhcu48usliiz/1dveq1261063265.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Dec/17/t12610633318l1xhcu48usliiz/2csor1261063265.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Dec/17/t12610633318l1xhcu48usliiz/2csor1261063265.ps (open in new window)


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