Home » date » 2009 » May » 14 »

Time Series Analysis - aantal werklozen - Tim Vervaet

*Unverified author*
R Software Module: rwasp_autocorrelation.wasp (opens new window with default values)
Title produced by software: (Partial) Autocorrelation Function
Date of computation: Thu, 14 May 2009 11:33:33 -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/14/t12423225364rutxofn32h0yk2.htm/, Retrieved Thu, 14 May 2009 19:35:36 +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/14/t12423225364rutxofn32h0yk2.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 «
517 510 509 501 507 569 580 578 565 547 555 562 561 555 544 537 543 594 611 613 611 594 595 591 589 584 573 567 569 621 629 628 612 595 597 593 590 580 574 573 573 620 626 620 588 566 557 561 549 532 526 511 499 555 565 542 527 510 514 517 508 493 490 469 478 528 534 518 506 502 516 528
 
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'Sir Ronald Aylmer Fisher' @ 193.190.124.24


Autocorrelation Function
Time lag kACF(k)T-STATP-value
10.8843647.50410
20.7081526.00890
30.5707764.84324e-06
40.4972344.21923.5e-05
50.4850274.11565.1e-05
60.4792624.06676e-05
70.4331753.67560.000227
80.364643.09410.001405
90.341492.89760.002489
100.3761993.19220.001047
110.4480273.80160.000149
120.472764.01157.3e-05
130.3412532.89560.002503
140.1701111.44340.076617
150.030090.25530.399601
16-0.052436-0.44490.328851
17-0.083771-0.71080.239747
18-0.10632-0.90220.184991
19-0.151711-1.28730.101055
20-0.213768-1.81390.036931
21-0.224811-1.90760.030217
22-0.18968-1.60950.055943
23-0.133545-1.13320.130451
24-0.114399-0.97070.167471
25-0.210048-1.78230.039457
26-0.333083-2.82630.003045
27-0.41858-3.55180.00034
28-0.444945-3.77550.000163
29-0.428507-3.6360.000258
30-0.40474-3.43430.000495
31-0.399105-3.38650.000575
32-0.407087-3.45430.000464
33-0.380278-3.22680.000943
34-0.328001-2.78320.003435
35-0.260106-2.20710.015249
36-0.218473-1.85380.033932
37-0.266126-2.25820.013484
38-0.334679-2.83980.002932
39-0.368609-3.12780.001271
40-0.352493-2.9910.001902
41-0.308755-2.61990.005361
42-0.258117-2.19020.015875
43-0.228074-1.93530.028442
44-0.21172-1.79650.038304
45-0.174294-1.47890.07176
46-0.120916-1.0260.154162
47-0.055014-0.46680.321024
48-0.003133-0.02660.489431


Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
10.8843647.50410
2-0.339369-2.87960.00262
30.1665061.41280.081004
40.1154370.97950.165302
50.1615791.3710.08731
6-0.046037-0.39060.34861
7-0.103948-0.8820.190349
80.0204850.17380.431246
90.2355641.99880.024701
100.1233361.04650.149406
110.1265011.07340.143339
12-0.190815-1.61910.054897
13-0.587137-4.9822e-06
140.1440641.22240.112767
15-0.100436-0.85220.198457
16-0.068904-0.58470.2803
17-0.168665-1.43120.078354
18-0.089829-0.76220.224208
190.1082280.91830.180753
200.0089990.07640.469671
210.0825470.70040.242958
22-0.119251-1.01190.157492
23-0.041705-0.35390.362233
240.0699290.59340.277399
25-0.106722-0.90560.184093
26-0.013526-0.11480.454473
270.0132680.11260.455336
280.0137870.1170.453599
290.0387690.3290.371568
30-0.018289-0.15520.438555
310.0212690.18050.428645
320.045490.3860.35032
33-0.110836-0.94050.175059
34-0.055362-0.46980.319974
350.0168720.14320.44328
360.0315150.26740.394957
37-0.057492-0.48780.313575
38-0.064779-0.54970.292124
390.0197890.16790.433561
400.0254490.21590.414821
41-0.022806-0.19350.423549
42-0.003214-0.02730.489159
43-0.126821-1.07610.142735
440.0724160.61450.27042
45-0.026143-0.22180.412536
460.0045740.03880.484573
470.0076240.06470.4743
480.0721060.61180.271286
 
Charts produced by software:
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2009/May/14/t12423225364rutxofn32h0yk2/14xk11242322408.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2009/May/14/t12423225364rutxofn32h0yk2/14xk11242322408.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2009/May/14/t12423225364rutxofn32h0yk2/2h84n1242322408.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2009/May/14/t12423225364rutxofn32h0yk2/2h84n1242322408.ps (open in new window)


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