Home » date » 2011 » Apr » 11 »

Gemiddelde Zomertemperatuur Nederland

*Unverified author*
R Software Module: /rwasp_autocorrelation.wasp (opens new window with default values)
Title produced by software: (Partial) Autocorrelation Function
Date of computation: Mon, 11 Apr 2011 15:40:53 +0000
 
Cite this page as follows:
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL http://www.freestatistics.org/blog/date/2011/Apr/11/t13025362891y65d93efpr0fa2.htm/, Retrieved Mon, 11 Apr 2011 17:38:12 +0200
 
Original text written by user:
 
IsPrivate?
No (this computation is public)
 
User-defined keywords:
KDGP2W12
 
Dataseries X:
» Textbox « » Textfile « » CSV «
17 16,7 15,4 15,1 16,1 17 16,1 14,3 16,1 14,8 15,9 17,6 15,9 14,8 16,5 15,6 14,6 17,1 15,2 14,8 15,4 16,6 15,1 15,4 15,2 16,6 16,1 15,7 15,8 15,7 16,9 15,9 17,1 17 16,6 17,1 16,6 16,6 16,5 17 15,9 17 16,1 16,1 16,8 16,7 15,7 18,7 16,1 16,3 17,2 16,1 16,5 16,5 15,1 16,7 14,4 16,2 15,9 17,3 15,6 15,6 14,7 15,8 15,8 14,8 16,1 16,3 16,1 17,4 16,7 16,1 15,4 16,9 15,5 17,6 18,4 15,9 15,2 15,5 15,9 15,8 17,6 18,2 15,9 15,7 16,4 15,6 15,8 17 16,8 16,6 17,7 15,7 18 18,2 16,4 18 16,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'Herman Ole Andreas Wold' @ www.yougetit.org


Autocorrelation Function
Time lag kACF(k)T-STATP-value
10.1224971.21880.112902
20.0796090.79210.215097
30.1925581.91590.02913
4-0.008418-0.08380.466709
50.0342040.34030.367166
60.2922442.90780.002247
70.1260841.25450.106303
80.0346110.34440.365647
90.0535940.53320.297528
10-0.00924-0.09190.463466
11-0.026891-0.26760.394797
120.0611310.60820.272208
13-0.013836-0.13770.445393
140.0455130.45290.325823
15-0.056862-0.56580.286414
160.0450630.44840.327431
17-0.065134-0.64810.259219
18-0.111242-1.10680.135522
19-0.052822-0.52560.300182
20-0.05094-0.50680.306696
21-0.057245-0.56960.285127
220.0238110.23690.406605
23-0.093588-0.93120.177012
24-0.025523-0.25390.400031
25-0.04563-0.4540.325406
26-0.065944-0.65610.256629
27-0.132849-1.32180.094635
28-0.07874-0.78350.217615
29-0.123943-1.23320.110207
30-0.091255-0.9080.183048
31-0.118068-1.17480.121453
32-0.122233-1.21620.113401
33-0.019623-0.19520.422799
34-0.063334-0.63020.265018
35-0.033812-0.33640.36863
360.1023581.01850.155473
37-0.023853-0.23730.406445
380.012680.12620.449928
390.0306540.3050.380503
40-0.057297-0.57010.284952
41-0.011278-0.11220.455439
420.1301891.29540.099103
430.0209890.20880.417503
440.0681160.67770.249758
450.0770420.76660.222586
46-0.005325-0.0530.478927
470.1545251.53750.06368
480.0798160.79420.214502


Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
10.1224971.21880.112902
20.0655880.65260.257765
30.1788531.77960.039108
4-0.056563-0.56280.287422
50.0192350.19140.424307
60.2702512.6890.004206
70.0853040.84880.19903
8-0.031602-0.31440.376924
9-0.05744-0.57150.284472
10-0.019264-0.19170.424194
11-0.01967-0.19570.422617
12-0.008926-0.08880.464704
13-0.076578-0.76190.223952
140.0504180.50170.308513
15-0.078428-0.78030.218525
160.0911980.90740.183196
17-0.079229-0.78830.216198
18-0.102135-1.01620.155999
19-0.04033-0.40130.344539
20-0.017249-0.17160.432043
210.0110810.11030.456216
220.0180610.17970.428876
23-0.083014-0.8260.205402
240.0719380.71580.237908
250.0018160.01810.49281
26-0.015552-0.15470.438669
27-0.132101-1.31440.095876
28-0.092417-0.91950.180026
29-0.041817-0.41610.339129
30-0.045016-0.44790.327601
31-0.096792-0.96310.16893
32-0.084313-0.83890.201772
330.096480.960.169705
340.045690.45460.325194
350.0555420.55260.290878
360.1211061.2050.115541
370.0388350.38640.350012
380.0468990.46660.320892
390.0164750.16390.435062
40-0.09438-0.93910.174991
41-0.037594-0.37410.354582
420.0650270.6470.259561
430.0188760.18780.425702
440.0333230.33160.370462
45-0.013564-0.1350.446459
46-0.003722-0.0370.485266
470.1921321.91170.029404
48-0.016048-0.15970.436731
 
Charts produced by software:
http://www.freestatistics.org/blog/date/2011/Apr/11/t13025362891y65d93efpr0fa2/1mcp41302536451.png (open in new window)
http://www.freestatistics.org/blog/date/2011/Apr/11/t13025362891y65d93efpr0fa2/1mcp41302536451.ps (open in new window)


http://www.freestatistics.org/blog/date/2011/Apr/11/t13025362891y65d93efpr0fa2/2kuzj1302536451.png (open in new window)
http://www.freestatistics.org/blog/date/2011/Apr/11/t13025362891y65d93efpr0fa2/2kuzj1302536451.ps (open in new window)


http://www.freestatistics.org/blog/date/2011/Apr/11/t13025362891y65d93efpr0fa2/3olex1302536451.png (open in new window)
http://www.freestatistics.org/blog/date/2011/Apr/11/t13025362891y65d93efpr0fa2/3olex1302536451.ps (open in new window)


 
Parameters (Session):
par1 = 48 ; par2 = 1 ; par3 = 0 ; par4 = 0 ; par5 = 12 ; par6 = White Noise ; par7 = 0.95 ;
 
Parameters (R input):
par1 = 48 ; par2 = 1 ; par3 = 0 ; 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 (par8 != '') par8 <- as.numeric(par8)
ox <- x
if (par8 == '') {
if (par2 == 0) {
x <- log(x)
} else {
x <- (x ^ par2 - 1) / par2
}
} else {
x <- log(x,base=par8)
}
if (par3 > 0) x <- diff(x,lag=1,difference=par3)
if (par4 > 0) x <- diff(x,lag=par5,difference=par4)
bitmap(file='picts.png')
op <- par(mfrow=c(2,1))
plot(ox,type='l',main='Original Time Series',xlab='time',ylab='value')
if (par8=='') {
mytitle <- paste('Working Time Series (lambda=',par2,', d=',par3,', D=',par4,')',sep='')
mysub <- paste('(lambda=',par2,', d=',par3,', D=',par4,', CI=', par7, ', CI type=',par6,')',sep='')
} else {
mytitle <- paste('Working Time Series (base=',par8,', d=',par3,', D=',par4,')',sep='')
mysub <- paste('(base=',par8,', d=',par3,', D=',par4,', CI=', par7, ', CI type=',par6,')',sep='')
}
plot(x,type='l', main=mytitle,xlab='time',ylab='value')
par(op)
dev.off()
bitmap(file='pic1.png')
racf <- acf(x, par1, main='Autocorrelation', xlab='time lag', ylab='ACF', ci.type=par6, ci=par7, sub=mysub)
dev.off()
bitmap(file='pic2.png')
rpacf <- pacf(x,par1,main='Partial Autocorrelation',xlab='lags',ylab='PACF',sub=mysub)
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