Home » date » 2009 » May » 09 »

oef 6bis (met trend) - elke torfs mar 201

*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, 09 May 2009 07:33:13 -0600
 
Cite this page as follows:
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL http://www.freestatistics.org/blog/date/2009/May/09/t1241876098fg1srpvpeorgnxa.htm/, Retrieved Sat, 09 May 2009 15:35:00 +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/2009/May/09/t1241876098fg1srpvpeorgnxa.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 «
356445 291705 310900 332340 257166 334551 317365 270863 317904 423141 317684 411063 371161 299023 326964 327146 303447 351994 320317 257151 320274 476982 301723 363567 338831 265802 307691 334207 303127 318863 292123 245155 284794 391604 304982 369552 356021 247577 277885 294032 310845 311023 298462 234188 297478 371017 291128 316374 326001 222302 227424 255428 278250 280335 241894 255075 255115 319482 270694 300209 283531 218924 236466 267980 219994 256052 230444 200778 240960 277837 209776 232065
 
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.408361-3.44090.000488
2-0.241315-2.03340.022878
30.3650863.07630.001488
4-0.246773-2.07930.020599
5-0.208467-1.75660.041651
60.474113.99497.8e-05
7-0.166367-1.40180.08266
8-0.256806-2.16390.016919
90.3038892.56060.006288
10-0.182258-1.53570.064525
11-0.298528-2.51540.007076
120.7235836.0970
13-0.26997-2.27480.01297
14-0.231538-1.9510.027503
150.328722.76980.003576
16-0.209351-1.7640.041015
17-0.188042-1.58450.058766
180.3809553.210.000997
19-0.094909-0.79970.213271
20-0.244644-2.06140.021464
210.2762482.32770.011391
22-0.167652-1.41270.081062
23-0.205032-1.72760.044201
240.523694.41271.8e-05
25-0.170553-1.43710.077541
26-0.208796-1.75930.041413
270.2750082.31730.011689
28-0.157206-1.32460.094769
29-0.15062-1.26910.104266
300.2612162.2010.015493
31-0.051252-0.43190.333578
32-0.165712-1.39630.083486
330.1679151.41490.080738
34-0.084434-0.71150.239566
35-0.144019-1.21350.114474
360.3414362.8770.002649
37-0.117283-0.98820.163194
38-0.128796-1.08530.140739
390.1742271.46810.073252
40-0.098924-0.83350.203666
41-0.121935-1.02740.15385
420.2182981.83940.035018
43-0.082622-0.69620.244292
44-0.088161-0.74290.23001
450.0993530.83720.202655
46-0.034093-0.28730.38737
47-0.095369-0.80360.212156
480.2210211.86240.033345


Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
1-0.408361-3.44090.000488
2-0.489743-4.12664.9e-05
30.0288760.24330.404232
4-0.208554-1.75730.041588
5-0.418581-3.5270.000371
60.0478470.40320.344017
70.0499960.42130.337413
8-0.179318-1.5110.067619
9-0.140908-1.18730.11953
10-0.240669-2.02790.023161
11-0.615197-5.18371e-06
120.1531171.29020.100585
130.074820.63040.265214
140.0922480.77730.219784
150.0192120.16190.435929
16-0.018571-0.15650.438047
170.0195720.16490.434741
18-0.148535-1.25160.107416
19-0.096033-0.80920.210556
20-0.102719-0.86550.194833
210.0192790.16250.435706
22-0.072926-0.61450.270431
23-0.02178-0.18350.427456
24-0.031426-0.26480.395965
250.001010.00850.496618
26-0.016375-0.1380.445324
27-0.058948-0.49670.310465
280.0106770.090.464285
290.0927620.78160.218517
30-0.024235-0.20420.419387
31-0.105062-0.88530.1895
320.0438320.36930.356489
33-0.073823-0.6220.267953
340.0499930.42120.337425
350.0417450.35170.363034
360.0461030.38850.349414
37-0.033781-0.28460.388373
380.0002050.00170.499313
39-0.067177-0.5660.286574
40-0.059702-0.50310.30824
41-0.091112-0.76770.222598
420.0839270.70720.240885
43-0.007025-0.05920.476481
44-0.025355-0.21360.415719
45-0.064292-0.54170.29485
46-0.029577-0.24920.401955
47-0.015861-0.13360.44703
48-0.054248-0.45710.324496
 
Charts produced by software:
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2009/May/09/t1241876098fg1srpvpeorgnxa/1t3211241875991.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2009/May/09/t1241876098fg1srpvpeorgnxa/1t3211241875991.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2009/May/09/t1241876098fg1srpvpeorgnxa/2uich1241875991.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2009/May/09/t1241876098fg1srpvpeorgnxa/2uich1241875991.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