Home » date » 2009 » Dec » 19 »

Autocorrelation (d=0, D=1) – Aantal overnachtingen in België

*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: Sat, 19 Dec 2009 03:57:24 -0700
 
Cite this page as follows:
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL http://www.freestatistics.org/blog/date/2009/Dec/19/t1261220335nmyz2f3sblwsau3.htm/, Retrieved Sat, 19 Dec 2009 11:58:57 +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/2009/Dec/19/t1261220335nmyz2f3sblwsau3.htm/},
    year = {2009},
}
@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 = {2009},
    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 «
897262 1133132 1384548 2324057 2502808 2516762 5579822 4945991 2019915 1830905 1251016 949902 923000 1215747 1479112 2371781 2521576 2350559 5673323 4414295 2016902 1958302 1284086 1186305 957833 1255719 1482709 2361136 2508100 2254488 5669953 4227480 2067790 1958419 1318158 1287921 1076982 1293669 1582053 2393005 2310531 2597899 5507587 4194133 2185092 2122018 1413348 1338342 1052655 1370046 1887027 2448017 2550796 2655837 5269499 4247405 2109722 2143145 1582013 1413221 1118520 1478655 2000108 2085234 2651805 2522176 5170142 4150129 2104254 2211398 1505900 1524305 1093144 1449647 1771197 2445932 2678945 2400737 4796880 4118001 2125714 2125515 1508760 1508765 1091075 1514814 1748997 2424406 2747942 2377332 5210706 3882821 2197469 2271155 1618917 1391579 1143249 1445785 1870242 2597788 2436231 2684184 4705109 4331347 2369192 2283947 1749607 1598601 1221234 1497778 1823567 2489908 2532837 2456065 46 etc...
 
Output produced by software:


Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time1 seconds
R Server'Gwilym Jenkins' @ 72.249.127.135


Autocorrelation Function
Time lag kACF(k)T-STATP-value
1-0.26229-3.01350.001549
20.1593331.83060.034708
30.0208420.23950.40556
4-0.079123-0.9090.18249
50.0372130.42750.33484
6-0.067499-0.77550.219715
7-0.06269-0.72030.236321
8-0.04091-0.470.319557
90.1188881.36590.087144
10-0.161582-1.85640.03281
110.2242512.57650.005541
12-0.204557-2.35020.010123
130.0757210.870.192947
140.0773510.88870.187891
150.0128580.14770.441392
16-0.090428-1.03890.150367
17-0.020892-0.240.405341
180.0496450.57040.284696
19-0.073309-0.84230.200583
20-0.073397-0.84330.200302
210.0562560.64630.259594
22-0.174173-2.00110.023717
230.2219892.55050.00595
24-0.021634-0.24860.402046
25-0.081178-0.93270.176349
26-0.008413-0.09670.461574
27-0.209505-2.4070.008733
280.0666680.7660.222536
29-0.089742-1.03110.152199
30-0.064081-0.73620.231446
31-0.089591-1.02930.152607
320.1348551.54940.061844
33-0.250644-2.87970.002323
340.1697481.95030.026633
35-0.002054-0.02360.490603
360.00870.10.460266
370.1397251.60530.055406
38-0.056835-0.6530.25745
390.0859080.9870.162721
40-0.078188-0.89830.185329
41-0.02749-0.31580.376314
42-0.057994-0.66630.253193
43-0.032622-0.37480.354204
440.0040110.04610.481655
450.0173270.19910.421255
460.0792640.91070.182063
470.0426750.49030.31237
480.0578120.66420.253858
490.0791860.90980.182298
50-0.119217-1.36970.086553
510.0739270.84940.198609
52-0.026444-0.30380.380873
530.0440990.50670.306618
540.0178630.20520.418854
550.0756160.86880.193279
56-0.088658-1.01860.155126
570.0521070.59870.275212
580.0274990.31590.376272
59-0.029244-0.3360.368707
600.1511051.73610.042443


Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
1-0.26229-3.01350.001549
20.0972261.1170.133003
30.0911451.04720.148467
4-0.07546-0.8670.193765
5-0.017266-0.19840.421531
6-0.045932-0.52770.299292
7-0.091946-1.05640.146361
8-0.076502-0.87890.190515
90.1355591.55750.060878
10-0.099823-1.14690.126752
110.1379711.58520.057661
12-0.12588-1.44630.075238
13-0.023347-0.26820.394468
140.0929021.06740.143879
150.1111.27530.102222
16-0.147578-1.69550.046165
17-0.081729-0.9390.174724
180.0715810.82240.206166
19-0.0112-0.12870.448906
20-0.204242-2.34660.010218
210.1402371.61120.054762
22-0.204023-2.3440.010284
230.2044992.34950.010141
240.0425120.48840.313031
25-0.119756-1.37590.085592
26-0.182389-2.09550.019019
27-0.164843-1.89390.030213
28-0.036952-0.42450.335928
29-0.066305-0.76180.223772
30-0.055409-0.63660.262742
31-0.052642-0.60480.27317
32-0.107395-1.23390.109722
33-0.180857-2.07790.019828
34-0.048239-0.55420.290184
350.1288391.48020.070595
360.0696970.80080.212354
370.0009380.01080.495709
38-0.060254-0.69230.244993
39-0.028001-0.32170.374091
400.0226760.26050.397429
41-0.101549-1.16670.122716
42-0.079431-0.91260.181559
43-0.109565-1.25880.105162
440.0988221.13540.129137
450.0189120.21730.414163
46-0.02628-0.30190.381587
47-0.014842-0.17050.43243
480.068710.78940.215641
490.0268280.30820.379198
50-0.145045-1.66640.048999
510.0319590.36720.357034
52-0.001705-0.01960.492202
53-0.07024-0.8070.210561
540.0884741.01650.155628
550.011670.13410.446773
56-0.016424-0.18870.425309
57-0.03259-0.37440.354344
58-0.075248-0.86450.194433
59-0.062734-0.72080.236168
600.049150.56470.286622
 
Charts produced by software:
http://www.freestatistics.org/blog/date/2009/Dec/19/t1261220335nmyz2f3sblwsau3/1brmi1261220242.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Dec/19/t1261220335nmyz2f3sblwsau3/1brmi1261220242.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Dec/19/t1261220335nmyz2f3sblwsau3/2y3hb1261220242.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Dec/19/t1261220335nmyz2f3sblwsau3/2y3hb1261220242.ps (open in new window)


 
Parameters (Session):
par1 = 60 ; par2 = 1 ; par3 = 0 ; par4 = 1 ; par5 = 12 ;
 
Parameters (R input):
par1 = 60 ; par2 = 1 ; par3 = 0 ; par4 = 1 ; par5 = 12 ;
 
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 (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='lags',ylab='ACF')
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