Home » date » 2011 » May » 20 »

datareeks - degree of non-seasonal differencing gemiddelde gokuitgaven per dag - frederik Verbraken

*Unverified author*
R Software Module: /rwasp_autocorrelation.wasp (opens new window with default values)
Title produced by software: (Partial) Autocorrelation Function
Date of computation: Fri, 20 May 2011 11:26:35 +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/May/20/t1305890673idvdfm0rbnvlkai.htm/, Retrieved Fri, 20 May 2011 13:24:36 +0200
 
Original text written by user:
 
IsPrivate?
No (this computation is public)
 
User-defined keywords:
KDGP2W12
 
Dataseries X:
» Textbox « » Textfile « » CSV «
5.81 5.76 5.99 6.12 6.03 6.25 5.80 5.67 5.89 5.91 5.86 6.07 6.27 6.68 6.77 6.71 6.62 6.50 5.89 6.05 6.43 6.47 6.62 6.77 6.70 6.95 6.73 7.07 7.28 7.32 6.76 6.93 6.99 7.16 7.28 7.08 7.34 7.87 6.28 6.30 6.36 6.28 5.89 6.04 5.96 6.10 6.26 6.02 6.25 6.41 6.22 6.57 6.18 6.26 6.10 6.02 6.06 6.35 6.21 6.48 6.74 6.53 6.80 6.75 6.56 6.66 6.18 6.40 6.43 6.54 6.44 6.64 6.82 6.97 7.00 6.91 6.74 6.98 6.37 6.56 6.63 6.87 6.68 6.75 6.84 7.15 7.09 6.97 7.15
 
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'Gwilym Jenkins' @ www.wessa.org


Autocorrelation Function
Time lag kACF(k)T-STATP-value
1-0.243535-2.28460.012372
2-0.063517-0.59580.276404
30.0671230.62970.265271
4-0.003586-0.03360.486622
5-0.127153-1.19280.118077
6-0.011052-0.10370.45883
7-0.25608-2.40220.009198
80.2042751.91630.029288
90.0872660.81860.207606
10-0.165224-1.54990.062372
11-0.052533-0.49280.31169
120.3778043.54410.000317
13-0.253432-2.37740.009801
140.2456382.30430.011781
15-0.159691-1.4980.068851
16-0.022101-0.20730.418119
170.0723420.67860.249577
18-0.159665-1.49780.068884
19-0.215159-2.01840.023299
200.25012.34610.010608
21-0.102259-0.95930.170025
22-0.045154-0.42360.336453
230.1544041.44840.075525
240.0823350.77240.220982
25-0.116784-1.09550.138137
260.1697721.59260.057417
27-0.264685-2.4830.007463
280.1905781.78780.038627
29-0.060504-0.56760.285883
30-0.176249-1.65340.05091
310.0191950.18010.428756
320.1557641.46120.073762
33-0.178762-1.67690.048552
340.0679320.63730.262806
35-0.00389-0.03650.485488
360.0372310.34930.363867
370.0697740.65450.257237
380.0383510.35980.359943
39-0.168189-1.57780.059105
400.2552112.39410.009392
41-0.148331-1.39150.083796
42-0.087049-0.81660.208183
43-0.028978-0.27180.393192
440.033230.31170.377993
45-0.030751-0.28850.386834
460.0549120.51510.30388
47-0.1012-0.94930.172523
480.166461.56150.060993


Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
1-0.243535-2.28460.012372
2-0.13057-1.22490.111949
30.019290.1810.42841
40.0124070.11640.453804
5-0.124833-1.1710.122372
6-0.086035-0.80710.210898
7-0.335526-3.14750.001124
80.052090.48860.313153
90.1317281.23570.109927
10-0.093107-0.87340.192405
11-0.182791-1.71470.044957
120.2663062.49820.007171
13-0.118854-1.1150.133954
140.2693712.52690.006647
15-0.08752-0.8210.20693
16-0.04083-0.3830.351314
17-0.006188-0.0580.476921
18-0.165594-1.55340.061957
19-0.084218-0.790.215814
200.0299740.28120.389615
21-0.072801-0.68290.248221
22-0.091016-0.85380.197767
230.1066221.00020.159977
240.0416620.39080.348438
25-0.032027-0.30040.382273
26-0.063478-0.59550.276526
27-0.06516-0.61130.271304
280.090190.84610.199908
29-0.079861-0.74920.227878
30-0.028838-0.27050.393696
31-0.03655-0.34290.366256
320.0173070.16240.4357
33-0.036595-0.34330.3661
34-0.052155-0.48930.31294
35-0.06551-0.61450.270224
36-0.040071-0.37590.353947
37-0.030971-0.29050.386047
380.0779080.73080.233408
390.0424150.39790.345838
40-0.014644-0.13740.445526
410.0350730.3290.371462
42-0.05001-0.46910.320068
43-0.083822-0.78630.216896
44-0.013649-0.1280.449204
45-0.006707-0.06290.474987
46-0.068637-0.64390.260667
47-0.03222-0.30220.381588
480.0445260.41770.338594
 
Charts produced by software:
http://www.freestatistics.org/blog/date/2011/May/20/t1305890673idvdfm0rbnvlkai/1g2ev1305890792.png (open in new window)
http://www.freestatistics.org/blog/date/2011/May/20/t1305890673idvdfm0rbnvlkai/1g2ev1305890792.ps (open in new window)


http://www.freestatistics.org/blog/date/2011/May/20/t1305890673idvdfm0rbnvlkai/2nkdd1305890792.png (open in new window)
http://www.freestatistics.org/blog/date/2011/May/20/t1305890673idvdfm0rbnvlkai/2nkdd1305890792.ps (open in new window)


http://www.freestatistics.org/blog/date/2011/May/20/t1305890673idvdfm0rbnvlkai/3e0dy1305890792.png (open in new window)
http://www.freestatistics.org/blog/date/2011/May/20/t1305890673idvdfm0rbnvlkai/3e0dy1305890792.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 = 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 (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