Home » date » 2007 » Dec » 13 » attachments

Tijdreeks 2: omzetcijfers volgens BTW (D=1;d=1)

R Software Module: rwasp_autocorrelation.wasp (opens new window with default values)
Title produced by software: (Partial) Autocorrelation Function
Date of computation: Thu, 13 Dec 2007 07:26:16 -0700
 
Cite this page as follows:
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL http://www.freestatistics.org/blog/date/2007/Dec/13/t1197555091ioev2g2ewqosqcl.htm/, Retrieved Thu, 13 Dec 2007 15:11:34 +0100
 
User-defined keywords:
 
Dataseries X:
» Textbox « » Textfile « » CSV «
106,0 100,9 114,3 101,2 109,2 111,6 91,7 93,7 105,7 109,5 105,3 102,8 100,6 97,6 110,3 107,2 107,2 108,1 97,1 92,2 112,2 111,6 115,7 111,3 104,2 103,2 112,7 106,4 102,6 110,6 95,2 89,0 112,5 116,8 107,2 113,6 101,8 102,6 122,7 110,3 110,5 121,6 100,3 100,7 123,4 127,1 124,1 131,2 111,6 114,2 130,1 125,9 119,0 133,8 107,5 113,5 134,4 126,8 135,6 139,9 129,8 131,0 153,1 134,1 144,1 155,9 123,3 128,1 144,3 153,0 149,9 150,9 141,0 138,9 157,4 142,9 151,7 161,0 138,6 136,0 151,9
 
Text written by user:
 
Output produced by software:


Summary of compuational 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
018.24620
1-0.577365-4.76110.999995
20.1339571.10460.136605
30.041410.34150.366901
4-0.078871-0.65040.741184
50.0921360.75980.225007
6-0.076401-0.630.734603
70.0468770.38660.350146
8-0.113828-0.93870.824384
90.2357281.94390.028025
10-0.259838-2.14270.982139
110.2272841.87420.032597
12-0.295131-2.43370.991211
130.0828350.68310.24844
140.0646810.53340.297758
15-0.019947-0.16450.565082
16-0.030673-0.25290.59946
17-0.083638-0.68970.753634
180.2918662.40680.009407
19-0.309962-2.5560.993586
200.212641.75350.042014
21-0.120448-0.99320.837942
22-0.016974-0.140.555451
230.1739171.43420.078055
24-0.079215-0.65320.742093
25-0.025247-0.20820.582148
260.0712720.58770.279332
27-0.007317-0.06030.523969
28-0.147821-1.2190.886465
290.2576612.12470.018623
30-0.290346-2.39430.990291
310.1818751.49980.06915
32-0.026901-0.22180.587443
33-0.007582-0.06250.524834
34-0.038643-0.31870.62452
35-0.054023-0.44550.671307
360.0359920.29680.383762
37-0.021161-0.17450.569004
380.0642770.530.298905
39-0.151723-1.25110.892414
400.2375261.95870.027126
41-0.161137-1.32880.905817
420.0362620.2990.382916
430.0237450.19580.422672
44-0.00698-0.05760.522866
45-0.035028-0.28880.613212
460.0394250.32510.373049
470.1097860.90530.184247


Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
0-0.577365-4.76110.999995
1-0.299097-2.46640.991913
2-0.050746-0.41850.661537
3-0.051726-0.42650.664471
40.0471880.38910.349199
5-0.001896-0.01560.506213
60.0138080.11390.454842
7-0.156839-1.29330.899863
80.1540821.27060.104102
9-0.057454-0.47380.681412
100.1182630.97520.166454
11-0.278937-2.30020.987744
12-0.320266-2.6410.994877
13-0.231813-1.91160.969927
140.0825850.6810.249087
150.0236870.19530.422859
16-0.138608-1.1430.871475
170.174331.43760.077573
180.0304440.2510.401267
190.0168680.13910.444894
200.0649710.53580.296934
21-0.105941-0.87360.807298
220.0733380.60480.273675
230.0652320.53790.296195
24-0.089964-0.74190.769638
250.0484420.39950.345401
260.0943060.77770.219731
27-0.152427-1.25690.893464
28-0.004934-0.04070.516168
290.0453820.37420.354698
300.0945260.77950.219201
31-0.024899-0.20530.581034
320.0905280.74650.228965
33-0.086941-0.71690.762064
34-0.119257-0.98340.835556
35-0.160884-1.32670.905475
36-0.02891-0.23840.593855
37-0.0058-0.04780.519003
38-0.008001-0.0660.526206
390.1084170.8940.187229
400.0195260.1610.436278
41-0.02093-0.17260.56826
420.0466880.3850.35072
430.0160110.1320.447674
440.0209380.17270.431717
45-0.067299-0.5550.709629
46-0.043582-0.35940.63979
47-0.076774-0.63310.735602
 
Charts produced by software:
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2007/Dec/13/t1197555091ioev2g2ewqosqcl/1571p1197555973.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2007/Dec/13/t1197555091ioev2g2ewqosqcl/1571p1197555973.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2007/Dec/13/t1197555091ioev2g2ewqosqcl/2adw21197555973.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2007/Dec/13/t1197555091ioev2g2ewqosqcl/2adw21197555973.ps (open in new window)


 
Parameters:
par1 = 48 ; par2 = 1 ; par3 = 1 ; 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 1:par1) {
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(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-1,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(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:

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