Home » date » 2010 » Dec » 04 »

*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, 04 Dec 2010 16:11:21 +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/04/t1291479035n6o87du3ly9hk25.htm/, Retrieved Sat, 04 Dec 2010 17:10:37 +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/04/t1291479035n6o87du3ly9hk25.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 «
0.4754 0.4531 0.469 0.4716 0.4824 0.527 0.5172 0.515 0.5245 0.53 0.4836 0.4663 0.4592 0.4553 0.4217 0.4366 0.4532 0.4743 0.4776 0.4949 0.5069 0.498 0.5213 0.5394 0.6075 0.5919 0.5758 0.5916 0.6474 0.6704 0.7553 0.7891 0.784 0.7007 0.668 0.6102 0.5238 0.4237 0.3983 0.3879 0.3733 0.394 0.3945 0.4324 0.4233 0.455 0.4344 0.4388 0.4561 0.4512 0.4756 0.4704 0.5107 0.5472 0.5537 0.5539 0.5313 0.5371 0.5459 0.5461
 
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.4935083.38330.000726
20.4766863.2680.001014
30.2625651.80010.039136
40.3125892.1430.01866
5-0.004291-0.02940.488328
6-0.01306-0.08950.464518
7-0.074287-0.50930.306468
8-0.193518-1.32670.09551
9-0.284217-1.94850.02867
10-0.373624-2.56140.006846
11-0.32216-2.20860.016057
12-0.546388-3.74580.000245
13-0.359333-2.46350.008738
14-0.352127-2.41410.009862
15-0.100736-0.69060.246603
16-0.238622-1.63590.05427
17-0.02647-0.18150.428391
18-0.04274-0.2930.385402
190.1435930.98440.164974
200.0596330.40880.342264
210.1536581.05340.148766
220.1471541.00880.15911
230.1407590.9650.169744
240.0653650.44810.328062
250.0917630.62910.266167
260.1255750.86090.196832
270.0171850.11780.453357
280.0731240.50130.309245
290.0056380.03870.484665
300.0622880.4270.335655
31-0.076332-0.52330.30161
32-0.010704-0.07340.470906
33-0.060763-0.41660.339445
34-0.014472-0.09920.460693
35-0.040139-0.27520.392194
360.0020290.01390.494481
37-0.004141-0.02840.488736
38-0.0157-0.10760.457373
390.0047780.03280.487005
400.0038770.02660.489454
410.0088010.06030.476072
420.0014850.01020.49596
430.0113690.07790.469101
44-0.014785-0.10140.459849
450.0060190.04130.483631
46-0.000833-0.00570.497734
47NANANA
48NANANA


Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
10.4935083.38330.000726
20.3081982.11290.019974
3-0.076364-0.52350.301534
40.1397460.95810.171469
5-0.307891-2.11080.020069
6-0.080282-0.55040.292331
70.0719750.49340.312
8-0.257883-1.7680.04178
9-0.062153-0.42610.33599
10-0.197578-1.35450.091023
11-0.051724-0.35460.362237
12-0.322819-2.21310.01589
130.0706580.48440.315175
140.039440.27040.394024
150.1410230.96680.169294
16-0.111456-0.76410.224312
17-0.075519-0.51770.303537
18-0.037677-0.25830.398653
190.0990510.67910.250216
20-0.077429-0.53080.29902
21-0.111126-0.76180.22498
22-0.098885-0.67790.250572
23-0.099569-0.68260.249103
24-0.239134-1.63940.053902
250.0669180.45880.324258
260.0253850.1740.431295
270.0278240.19080.424771
280.0205010.14050.444413
29-0.092013-0.63080.265611
30-0.028311-0.19410.423471
310.0621950.42640.335887
32-0.088752-0.60850.272909
33-0.017787-0.12190.451734
34-0.130002-0.89120.188668
350.019170.13140.448
36-0.168208-1.15320.127335
370.0112880.07740.469323
38-0.015824-0.10850.457037
390.0541520.37120.35606
400.0018420.01260.49499
41-0.091585-0.62790.266562
420.0338650.23220.408707
43-0.018551-0.12720.44967
44-0.059313-0.40660.343063
45-0.026687-0.1830.42781
46-0.041826-0.28670.387785
47NANANA
48NANANA
 
Charts produced by software:
http://www.freestatistics.org/blog/date/2010/Dec/04/t1291479035n6o87du3ly9hk25/1azdf1291479079.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/04/t1291479035n6o87du3ly9hk25/1azdf1291479079.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/04/t1291479035n6o87du3ly9hk25/2azdf1291479079.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/04/t1291479035n6o87du3ly9hk25/2azdf1291479079.ps (open in new window)


 
Parameters (Session):
par1 = 48 ; par2 = 1 ; par3 = 1 ; par4 = 1 ; par5 = 12 ; par6 = White Noise ; par7 = 0.95 ;
 
Parameters (R input):
par1 = 48 ; 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