Home » date » 2008 » Dec » 06 »

Opgave 6bis - 2/2 - Consumptieprijzen Pakketreizen - Chloë De Rijck

*Unverified author*
R Software Module: rwasp_autocorrelation.wasp (opens new window with default values)
Title produced by software: (Partial) Autocorrelation Function
Date of computation: Sat, 06 Dec 2008 08:00:43 -0700
 
Cite this page as follows:
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL http://www.freestatistics.org/blog/date/2008/Dec/06/t1228575706jszuula637pmtlc.htm/, Retrieved Sat, 06 Dec 2008 15:01:48 +0000
 
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/2008/Dec/06/t1228575706jszuula637pmtlc.htm/},
    year = {2008},
}
@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 = {2008},
    note = {{ISBN} 3-900051-07-0},
    url = {http://www.R-project.org},
}
 
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
 
Feedback Forum:
2008-11-27 13:41:43 [a2386b643d711541400692649981f2dc] [reply
test

Post a new message
 
Original text written by user:
 
IsPrivate?
No (this computation is public)
 
User-defined keywords:
 
Dataseries X:
» Textbox « » Textfile « » CSV «
105.6 110.2 104.9 102.9 102.6 103.6 107.8 106.6 106 105.2 107.9 107.5 107.5 113.3 107.8 104.5 105.1 104.2 106.6 103.8 107.7 106.4 110 113.2 113.9 112 113.9 113.1 111.7 110.7 113.5 114 112.7 112.2 115.8 118.4 118.8 123.9 118 120.2 118.7 119.8 124.8 121.3 120.2 118.3 129.6 130.2 127.19 133.1 129.12 123.28 123.36 124.13 126.96 127.14 123.7 123.67 130.19 134.01 124.96 129.96 128.32 132.38 126.25 128.91 131.42 129.44 126.86 126.71 131.63 132.78 126.61 132.84 123.14 128.13 125.49 126.48 130.86 127.32 126.56 126.64 129.26 126.47 135.38 135.5 132.22 122.62 125.16 128.5 133.86 128.87 125.07 125.25 132.16 130.24
 
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.299745-2.92160.002176
2-0.108104-1.05370.147353
3-0.178464-1.73940.042598
40.0904830.88190.190024
50.1020590.99480.161192
6-0.096009-0.93580.175879
70.0536910.52330.300987
8-0.057958-0.56490.286735
9-0.023082-0.2250.411239
10-0.043841-0.42730.335062
11-0.103223-1.00610.158464
120.3522333.43310.000443
13-0.021286-0.20750.418044
14-0.09993-0.9740.166265
15-0.008391-0.08180.467495
16-0.038506-0.37530.354133
170.1108441.08040.141356
18-0.184506-1.79830.037649
190.1889361.84150.034333
20-0.1211-1.18030.120406
210.0098590.09610.461823
22-0.122284-1.19190.11814
230.0965460.9410.174541
240.2105232.05190.021464
25-0.144923-1.41250.080531
260.0195380.19040.424686
270.0262640.2560.399256
28-0.12464-1.21480.113719
290.1261491.22950.110952
30-0.173688-1.69290.046876
310.1631181.58990.057592
32-0.064054-0.62430.266958
33-0.057299-0.55850.288914
34-0.129324-1.26050.105289
350.0411270.40090.344711
360.3448583.36130.000559
37-0.148606-1.44840.075394
38-0.058093-0.56620.286289
39-0.010722-0.10450.458495
40-0.034943-0.34060.367083
410.0513520.50050.308933
42-0.026242-0.25580.399337
430.0605660.59030.278188
44-0.101941-0.99360.161472
450.0311150.30330.381175
46-0.099931-0.9740.166264
470.0184850.18020.4287
480.1619081.57810.058935


Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
1-0.299745-2.92160.002176
2-0.217492-2.11990.018312
3-0.326499-3.18230.000987
4-0.156942-1.52970.06471
5-0.017339-0.1690.43308
6-0.138886-1.35370.089523
70.0005520.00540.497859
8-0.047515-0.46310.322171
9-0.114782-1.11880.133032
10-0.141812-1.38220.085073
11-0.305781-2.98040.001828
120.1484141.44660.075655
130.1538731.49980.068496
140.0417320.40680.342552
150.226452.20720.014856
160.0759660.74040.230434
170.0914130.8910.187596
18-0.108839-1.06080.145728
190.0911690.88860.18823
20-0.024438-0.23820.406122
21-0.010704-0.10430.458563
22-0.120253-1.17210.122048
230.0688760.67130.251822
240.1643551.60190.056245
25-0.080665-0.78620.216847
260.0852130.83050.204155
270.1465871.42880.078177
28-0.208819-2.03530.022303
290.0098160.09570.461989
30-0.125856-1.22670.111485
31-0.077124-0.75170.22704
32-0.001987-0.01940.492293
33-0.106862-1.04160.15013
34-0.203947-1.98780.024855
35-0.194068-1.89150.030799
36-0.02691-0.26230.396836
370.0244690.23850.406006
38-0.078745-0.76750.222342
39-0.011191-0.10910.456688
40-0.045327-0.44180.329823
41-0.087625-0.85410.197609
42-0.016606-0.16190.435883
430.0319840.31170.377962
44-0.051503-0.5020.308417
450.1572041.53220.064393
460.0198430.19340.423527
470.0623570.60780.272391
48-0.018223-0.17760.429703
 
Charts produced by software:
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/06/t1228575706jszuula637pmtlc/19u9c1228575641.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/06/t1228575706jszuula637pmtlc/19u9c1228575641.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/06/t1228575706jszuula637pmtlc/2nfj91228575641.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/06/t1228575706jszuula637pmtlc/2nfj91228575641.ps (open in new window)


 
Parameters (Session):
par1 = 48 ; par2 = 1 ; par3 = 1 ; par4 = 0 ; par5 = 12 ;
 
Parameters (R input):
par1 = 48 ; par2 = 1 ; par3 = 1 ; par4 = 0 ; 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