Home » date » 2010 » Dec » 20 »

*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: Mon, 20 Dec 2010 09: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/20/t1292837290nvl106mox427ooa.htm/, Retrieved Mon, 20 Dec 2010 10:28:12 +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/20/t1292837290nvl106mox427ooa.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 «
112.3 117.3 111.1 102.2 104.3 122.9 107.6 121.3 131.5 89 104.4 128.9 135.9 133.3 121.3 120.5 120.4 137.9 126.1 133.2 151.1 105 119 140.4 156.6 137.1 122.7 125.8 139.3 134.9 149.2 132.3 149 117.2 119.6 152 149.4 127.3 114.1 102.1 107.7 104.4 102.1 96 109.3 90 83.9 112 114.3 103.6 91.7 80.8 87.2 109.2 102.7 95.1 117.5 85.1 92.1 113.5
 
Output produced by software:


Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time3 seconds
R Server'George Udny Yule' @ 72.249.76.132


Autocorrelation Function
Time lag kACF(k)T-STATP-value
1-0.225215-1.72990.044437
2-0.337446-2.5920.006005
30.0367680.28240.389306
4-0.051433-0.39510.34711
50.0650020.49930.309715
60.1480831.13750.129974
70.0302560.23240.408516
8-0.004365-0.03350.486684
9-0.073752-0.56650.286602
10-0.215247-1.65330.051787
11-0.131026-1.00640.15916
120.6272854.81835e-06
13-0.051204-0.39330.347757
14-0.362775-2.78650.003577
150.0133220.10230.459421
16-0.002648-0.02030.491919
170.0487360.37430.354743
180.1056790.81170.210104
19-0.001798-0.01380.494513
20-0.012595-0.09670.461627
21-0.078925-0.60620.273341
22-0.148613-1.14150.129133
23-0.055316-0.42490.336231
240.3661762.81260.003331
250.025610.19670.422364
26-0.288755-2.2180.01521
27-0.010288-0.0790.46864
280.022850.17550.430637
290.0136870.10510.458313
300.0919930.70660.241296
310.0061670.04740.48119
32-0.057014-0.43790.331518
33-0.017732-0.13620.446063
34-0.043906-0.33720.368563
35-0.103312-0.79360.215317
360.2745892.10920.019592
370.0208140.15990.436763
38-0.22595-1.73560.043931
390.0660650.50750.306864
40-0.012074-0.09270.463211
41-0.008504-0.06530.474068
420.0881030.67670.250609
430.0244650.18790.425794
44-0.089051-0.6840.248322
450.0129040.09910.460692
46-0.000155-0.00120.499528
47-0.081076-0.62280.267922
480.1660851.27570.103527
496.7e-055e-040.499795
50-0.123981-0.95230.172412
510.0696670.53510.297288
52-0.009123-0.07010.472185
53-0.026956-0.20710.41834
540.0313770.2410.405191
550.017690.13590.446189
56-0.023696-0.1820.428097
57-0.005885-0.04520.48205
580.0063780.0490.480548
59NANANA
60NANANA


Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
1-0.225215-1.72990.044437
2-0.408909-3.14090.001316
3-0.205425-1.57790.059968
4-0.320821-2.46430.008331
5-0.17817-1.36860.088164
6-0.020052-0.1540.439058
70.1176180.90340.184983
80.2517711.93390.028964
90.2491181.91350.030269
10-0.047267-0.36310.358927
11-0.46946-3.6060.00032
120.2605122.0010.024998
130.1181520.90750.183906
14-0.016265-0.12490.450501
15-0.089629-0.68850.246934
16-0.039738-0.30520.380632
170.0079790.06130.475668
18-0.042966-0.330.371273
19-0.065605-0.50390.308097
20-0.100124-0.76910.222461
21-0.051253-0.39370.347617
22-0.037381-0.28710.38751
23-0.027231-0.20920.417519
24-0.110045-0.84530.200687
25-0.091621-0.70380.242176
26-0.037746-0.28990.386441
270.0226370.17390.431278
28-0.008683-0.06670.473526
29-0.077453-0.59490.277084
30-0.047542-0.36520.358144
31-0.009777-0.07510.470195
32-0.095494-0.73350.233078
33-0.034771-0.26710.39517
340.1001040.76890.222506
35-0.048474-0.37230.355487
360.074250.57030.285312
37-0.05855-0.44970.327275
38-0.069905-0.5370.29666
390.0510770.39230.348115
40-0.028517-0.2190.413686
41-0.027449-0.21080.416871
42-0.073196-0.56220.288045
430.0460480.35370.362411
44-0.046981-0.36090.359742
45-0.008823-0.06780.4731
46-0.095627-0.73450.23277
47-0.005377-0.04130.483597
48-0.004932-0.03790.484956
49-0.091632-0.70380.242151
500.0112080.08610.465842
51-0.045664-0.35080.363512
520.0649370.49880.309891
530.039950.30690.380015
54-0.048831-0.37510.354474
55-0.120001-0.92170.180208
56-0.008905-0.06840.47285
57-0.009194-0.07060.471968
58-0.048419-0.37190.355645
59NANANA
60NANANA
 
Charts produced by software:
http://www.freestatistics.org/blog/date/2010/Dec/20/t1292837290nvl106mox427ooa/13p8j1292837429.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/20/t1292837290nvl106mox427ooa/13p8j1292837429.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/20/t1292837290nvl106mox427ooa/23p8j1292837429.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/20/t1292837290nvl106mox427ooa/23p8j1292837429.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