Home » date » 2010 » May » 05 »

Opgave6BIS Goudkoers te brussel (2)

*Unverified author*
R Software Module: /rwasp_autocorrelation.wasp (opens new window with default values)
Title produced by software: (Partial) Autocorrelation Function
Date of computation: Wed, 05 May 2010 21:43:40 +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/May/05/t1273095888gk7y5hb5481w7sq.htm/, Retrieved Wed, 05 May 2010 23:44:50 +0200
 
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/May/05/t1273095888gk7y5hb5481w7sq.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:
Opgave6BIS eigen reeks: Goudkoers te brussel (2)
 
IsPrivate?
No (this computation is public)
 
User-defined keywords:
KDGP2W21
 
Dataseries X:
» Textbox « » Textfile « » CSV «
23100 22650 22440 22910 22980 22535 22300 22780 22780 23300 23800 24510 24660 24730 25070 24690 24880 23920 23880 23990 24590 23610 23580 23360 23910 23940 23060 22800 23020 22890 22780 22530 22290 22820 22480 22110 22000 22230 22260 22590 22820 22420 22230 21600 21000 21360 21640 21450 21710 21620 21800 21490 21670 22130 22050 22050 22140 22390 22220 21790 21510 21670 21745 21850 22105 22050 21670 21680 21800 21920 21980 22270 21740 21950 22010 21890 21920 22110 22340 22210 22240 21960 22220 22060 22090 21960 21940 21790 21710 21690 21710 21670 21640 21500 21290 21250 21580 21670 21620 21510 21360 21420 21470 21370 21370 21340 21130 21130 20990 21240 21320 21430 21390 21530 21510 21630 21560 21610 21560 21310 21340 21410 21550 21380 21600 21530 21560 21670 21540 21540 21550 21590 21420 21420 21370 21380 21210 21505 21365 21385 21350 21360 21530 21380 21630 22145 22 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
10.0109490.16530.434418
2-0.065927-0.99550.16028
3-0.077122-1.16450.122717
40.0680971.02820.152464
5-0.013165-0.19880.421306
60.0030130.04550.481877
7-0.08435-1.27370.102042
8-0.005597-0.08450.46636
90.1599672.41540.008252
10-0.121923-1.8410.03346
110.0006570.00990.496046
12-0.069961-1.05640.145954
130.0499350.7540.225815
14-0.065733-0.99250.160992
150.0358840.54180.294231
16-0.007657-0.11560.45403
170.0778121.17490.120623
18-0.019171-0.28950.386241
19-0.10206-1.54110.062342
200.0272230.41110.34071
210.0667041.00720.157452
22-0.064357-0.97180.166099
23-0.032077-0.48430.314303
24-0.003162-0.04770.480982
250.0637380.96240.168429
260.0175430.26490.395663
27-0.065825-0.99390.160654
280.0287950.43480.332061
290.0561640.84810.198647
300.0333440.50350.307555
31-0.063317-0.95610.170025
32-0.022978-0.3470.364469
33-0.040511-0.61170.27067
340.0216280.32660.372141
35-0.076143-1.14970.125728
36-0.015269-0.23060.408932
370.004120.06220.475223
380.0306970.46350.321716
390.004220.06370.474627
40-0.006619-0.09990.460236
410.0034320.05180.479358
420.014330.21640.414446
430.095291.43880.075784
440.0192610.29080.385722
450.0223970.33820.367769
46-0.0136-0.20530.418741
47-0.03348-0.50550.306835
48-0.071011-1.07220.142371


Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
10.0109490.16530.434418
2-0.066055-0.99740.159813
3-0.075969-1.14710.126269
40.0658180.99380.160678
5-0.024771-0.3740.354365
60.0061760.09330.46289
7-0.077705-1.17330.120947
8-0.010487-0.15830.437162
90.1564812.36280.009489
10-0.147114-2.22140.013654
110.0381750.57640.282448
12-0.070257-1.06090.144939
130.0181490.2740.39215
14-0.056746-0.85690.196214
150.0189930.28680.38727
160.0292590.44180.329528
170.0460430.69520.243806
18-0.032558-0.49160.311735
19-0.073938-1.11640.132706
200.0261130.39430.346866
210.0629070.94990.171592
22-0.106968-1.61520.053827
230.0296590.44780.327345
24-0.037369-0.56430.286567
250.0701591.05940.145274
26-0.02752-0.41550.339069
27-0.036932-0.55770.288812
280.0826641.24820.106618
290.0054980.0830.466955
300.0169760.25630.398964
31-0.025705-0.38810.349137
32-0.029011-0.4380.330882
33-0.030802-0.46510.321154
34-0.039708-0.59960.27469
35-0.041674-0.62930.264904
36-0.005695-0.0860.465771
37-0.009411-0.14210.443561
38-0.004148-0.06260.475059
390.0223450.33740.368062
400.0218290.32960.370999
41-0.022012-0.33240.369959
420.0213440.32230.373764
430.0908751.37220.085677
440.0464470.70130.241906
450.0027430.04140.483497
46-0.021373-0.32270.373602
47-0.030174-0.45560.324547
48-0.055572-0.83910.201139
 
Charts produced by software:
http://www.freestatistics.org/blog/date/2010/May/05/t1273095888gk7y5hb5481w7sq/13x711273095818.png (open in new window)
http://www.freestatistics.org/blog/date/2010/May/05/t1273095888gk7y5hb5481w7sq/13x711273095818.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/May/05/t1273095888gk7y5hb5481w7sq/23x711273095818.png (open in new window)
http://www.freestatistics.org/blog/date/2010/May/05/t1273095888gk7y5hb5481w7sq/23x711273095818.ps (open in new window)


 
Parameters (Session):
par1 = 48 ; par2 = 1 ; par3 = 1 ; 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 (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='time lag', ylab='ACF', ci.type=par6, ci=par7, sub=paste('(lambda=',par2,', d=',par3,', D=',par4,', CI=', par7, ', CI type=',par6,')',sep=''))
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