Home » date » 2010 » Dec » 13 »

*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, 13 Dec 2010 20:04:16 +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/13/t1292270548y0s5m82idse32l5.htm/, Retrieved Mon, 13 Dec 2010 21:02:28 +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/13/t1292270548y0s5m82idse32l5.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 «
113 95,4 86,2 111,7 97,5 99,7 111,5 91,8 86,3 88,7 95,1 105,1 104,5 89,1 82,6 102,7 91,8 94,1 103,1 93,2 91 94,3 99,4 115,7 116,8 99,8 96 115,9 109,1 117,3 109,8 112,8 110,7 100 113,3 122,4 112,5 104,2 92,5 117,2 109,3 106,1 118,8 105,3 106 102 112,9 116,5 114,8 100,5 85,4 114,6 109,9 100,7 115,5 100,7 99 102,3
 
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
10.6282344.26095e-05
20.6414344.35043.7e-05
30.7108224.8218e-06
40.417932.83450.003398
50.4136042.80520.003672
60.3166232.14740.018531
70.1017310.690.246839
80.0926510.62840.266428
9-0.082631-0.56040.288954
10-0.129665-0.87940.19187
11-0.179913-1.22020.114299
12-0.315777-2.14170.018773
13-0.287235-1.94810.028759
14-0.339563-2.3030.012925
15-0.366238-2.48390.008349
16-0.395919-2.68530.005023
17-0.348801-2.36570.011134
18-0.313667-2.12740.01939
19-0.325759-2.20940.016082
20-0.25548-1.73280.04492
21-0.245243-1.66330.051524
22-0.252368-1.71160.046849
23-0.148327-1.0060.159839
24-0.187262-1.27010.105223
25-0.139025-0.94290.175325
26-0.087755-0.59520.277318
27-0.136391-0.92510.179883
28-0.055972-0.37960.352987
29-0.025869-0.17550.430748
30-0.064217-0.43550.332604
310.0164890.11180.45572
320.0288960.1960.422743
330.0205440.13930.444896
340.0578050.39210.348415
350.0815290.5530.291484
360.0690810.46850.32081
370.0985340.66830.253644
380.1174620.79670.21487
390.0851140.57730.283286
400.0748230.50750.307123
410.0778210.52780.300086
420.0515320.34950.364153
430.0441250.29930.38304
440.0312170.21170.416628
450.0050750.03440.486345
46NANANA
47NANANA
48NANANA


Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
10.6282344.26095e-05
20.4076442.76480.004085
30.4279972.90280.002831
4-0.365705-2.48030.008423
5-0.186721-1.26640.105872
6-0.213543-1.44830.077155
7-0.159462-1.08150.142551
8-0.024899-0.16890.433318
9-0.148102-1.00450.160201
100.1495391.01420.157892
11-0.003064-0.02080.491755
12-0.061166-0.41480.340091
13-0.065056-0.44120.330557
14-0.044098-0.29910.383111
150.0614430.41670.339409
16-0.283845-1.92510.030205
170.1183240.80250.213193
180.0915810.62110.26879
190.0865240.58680.280092
20-0.087012-0.59010.278991
21-0.234626-1.59130.059194
22-0.09694-0.65750.257075
23-0.037214-0.25240.40093
24-0.035079-0.23790.406502
250.0193240.13110.448148
260.0666760.45220.326619
270.001970.01340.4947
28-0.111693-0.75750.226295
290.0555220.37660.354112
30-0.066075-0.44810.328078
31-0.02495-0.16920.433184
32-0.031568-0.21410.415706
330.0099510.06750.473243
340.0096760.06560.473979
350.054490.36960.356699
36-0.079343-0.53810.296541
37-0.054428-0.36910.356855
38-0.03603-0.24440.404016
39-0.068641-0.46550.321869
40-0.16016-1.08630.141513
41-0.021055-0.14280.443535
420.0619380.42010.338189
430.0313340.21250.416321
440.0382060.25910.398348
45-0.001187-0.00810.496805
46NANANA
47NANANA
48NANANA
 
Charts produced by software:
http://www.freestatistics.org/blog/date/2010/Dec/13/t1292270548y0s5m82idse32l5/13qx71292270652.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/13/t1292270548y0s5m82idse32l5/13qx71292270652.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/13/t1292270548y0s5m82idse32l5/23qx71292270652.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/13/t1292270548y0s5m82idse32l5/23qx71292270652.ps (open in new window)


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