Home » date » 2010 » Dec » 26 »

tijdreeks bevolkingstotaal

*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: Sun, 26 Dec 2010 10:36:08 +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/26/t1293359627da6wx3yrv4lpp0d.htm/, Retrieved Sun, 26 Dec 2010 11:33:50 +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/26/t1293359627da6wx3yrv4lpp0d.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 «
5140 4749 3635 4305 5805 4260 3869 7325 9280 6222 3272 7598 1345 1900 1480 1472 3823 4454 3357 5393 8329 4152 4042 7747 1451 911 -406 1387 2150 1577 2642 4273 8064 3243 1112 2280 505 744 -1369 -531 1041 2076 577 5080 6584 3761 294 5020 1141 3805 2127 2531 3682 3263 2798 5936 10568 5296 1870 4390 3707 5201 3748 5282 5349 6249 5517 8640 15767 8850 5582 6496 3255 6189 6452 5099 6833 7046 7739 10142 16054 7721 6182 6490 3704 6235 4655 5072 3640 5147 5703 11889 15603 9589
 
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'Gwilym Jenkins' @ 72.249.127.135


Autocorrelation Function
Time lag kACF(k)T-STATP-value
1-0.502778-4.5251e-05
20.1945751.75120.041851
3-0.238493-2.14640.017415
40.1533951.38060.085607
5-0.056918-0.51230.304931
60.0549540.49460.311115
7-0.013535-0.12180.451674
8-0.119972-1.07980.141729
90.1929831.73680.043108
10-0.156812-1.41130.080992
110.2116161.90450.030195
12-0.400193-3.60170.000272
130.2766292.48970.007417
14-0.029975-0.26980.394009
15-0.019003-0.1710.432313
16-0.037766-0.33990.367407
170.0515680.46410.321907
18-0.052282-0.47050.319618
190.0316210.28460.388343
200.0942390.84810.199427
21-0.159511-1.43560.077484
22-0.035519-0.31970.375019
230.0336810.30310.381285
240.0654640.58920.278691
25-0.043913-0.39520.346861
26-0.059583-0.53620.296628
270.1337611.20390.116077
28-0.103918-0.93530.176217
290.1016110.91450.181584
30-0.080023-0.72020.236736
310.1178281.06040.146046
32-0.179962-1.61970.054596
330.2049471.84450.034381
34-0.149679-1.34710.09085
350.0588740.52990.298828
36-0.095438-0.85890.196453
370.0774480.6970.24389
380.0603990.54360.294107
39-0.141131-1.27020.103828
400.0530280.47730.317234
41-0.048096-0.43290.333133
420.0578760.52090.301934
43-0.078676-0.70810.240462
440.1469781.32280.094812
45-0.232198-2.08980.019887
460.2748012.47320.007741
47-0.110788-0.99710.160844
480.0771140.6940.244826


Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
1-0.502778-4.5251e-05
2-0.077905-0.70110.242612
3-0.23188-2.08690.02002
4-0.081308-0.73180.233211
5-0.010777-0.0970.461487
60.0015330.01380.494514
70.0435250.39170.348147
8-0.148029-1.33230.093256
90.1028660.92580.178651
10-0.022149-0.19930.421246
110.1303721.17330.122048
12-0.282704-2.54430.006424
13-0.09387-0.84480.200346
140.1638821.47490.072053
15-0.120897-1.08810.139896
16-0.062439-0.56190.287851
170.0801280.72120.236446
18-0.045231-0.40710.342512
19-0.00238-0.02140.491482
200.0726130.65350.257637
210.0037640.03390.486528
22-0.256408-2.30770.011785
23-0.058964-0.53070.298547
24-0.051744-0.46570.321342
25-0.062111-0.5590.288852
26-0.063504-0.57150.284609
270.0802150.72190.236206
28-0.01783-0.16050.436454
290.0845090.76060.224557
30-0.011407-0.10270.459241
310.1499331.34940.090485
32-0.025743-0.23170.408684
330.0194030.17460.430904
34-0.166755-1.50080.068649
350.0171810.15460.43875
36-0.121071-1.08960.139553
37-0.123105-1.10790.135583
380.1199361.07940.141802
39-0.002483-0.02230.491114
40-0.212045-1.90840.029941
410.0944540.85010.198891
42-0.002527-0.02270.490955
43-0.120868-1.08780.139951
44-0.075417-0.67870.249616
45-0.08458-0.76120.224368
460.0971220.87410.192325
470.0594610.53510.297007
480.0443610.39920.345382
 
Charts produced by software:
http://www.freestatistics.org/blog/date/2010/Dec/26/t1293359627da6wx3yrv4lpp0d/16jaw1293359765.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/26/t1293359627da6wx3yrv4lpp0d/16jaw1293359765.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/26/t1293359627da6wx3yrv4lpp0d/2zarh1293359765.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/26/t1293359627da6wx3yrv4lpp0d/2zarh1293359765.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/26/t1293359627da6wx3yrv4lpp0d/3zarh1293359765.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/26/t1293359627da6wx3yrv4lpp0d/3zarh1293359765.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 (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