Home » date » 2007 » Dec » 13 » attachments

ACF PACF werkloosheid

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 08:14:38 -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/t119755802148dd8h73a63imc8.htm/, Retrieved Thu, 13 Dec 2007 16:00:23 +0100
 
User-defined keywords:
bridome
 
Dataseries X:
» Textbox « » Textfile « » CSV «
540 522 526 527 516 503 489 479 475 524 552 532 511 492 492 493 481 462 457 442 439 488 521 501 485 464 460 467 460 448 443 436 431 484 510 513 503 471 471 476 475 470 461 455 456 517 525 523 519 509 512 519 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
 
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 time1 seconds
R Server'Gwilym Jenkins' @ 72.249.127.135


Autocorrelation Function
Time lag kACF(k)T-STATP-value
019.64370
10.0513430.49510.310838
2-0.029015-0.27980.60988
3-0.052013-0.50160.69143
40.0615640.59370.277075
50.1588141.53160.064514
60.090710.87480.191974
70.0634140.61150.271167
80.1320821.27380.102962
90.2358982.27490.012604
10-0.062273-0.60050.725196
11-0.095916-0.9250.821316
12-0.152198-1.46770.927227
130.1476571.4240.078904
140.3132613.0210.001627
150.0224420.21640.414565
160.0391260.37730.353398
17-0.058133-0.56060.711795
180.1037531.00060.159819
190.0277220.26730.394898
200.0991390.95610.170759
210.0932770.89950.185347
220.0847080.81690.208037
230.1943051.87380.032048
24-0.090054-0.86850.806308
25-0.160163-1.54460.937075
26-0.151632-1.46230.926483
270.1832861.76750.040208
28-0.011369-0.10960.543535
290.1495321.4420.076326
30-0.092717-0.89410.813219
31-0.109027-1.05140.852105
320.0548350.52880.299099
33-0.122509-1.18140.879778
34-0.034333-0.33110.62934
35-0.00837-0.08070.532078
360.0454740.43850.331009
370.1020370.9840.163833
380.0279690.26970.393987
39-0.156111-1.50550.932205
40-0.086699-0.83610.797377
410.0411510.39680.346195
42-0.025302-0.2440.596119
430.0789180.76110.224275
44-0.108173-1.04320.850215
45-0.069403-0.66930.747518
46-0.06168-0.59480.723295
47-0.123635-1.19230.88191


Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
00.0513430.49510.310838
1-0.031735-0.3060.619872
2-0.049025-0.47280.68126
30.0663110.63950.262043
40.1506761.45310.074786
50.078830.76020.224526
60.0731390.70530.241186
70.1502251.44870.075389
80.2393012.30770.011616
9-0.088239-0.85090.801507
10-0.10339-0.99710.839338
11-0.195122-1.88170.968497
120.0581680.5610.288089
130.232252.23970.013745
14-0.010697-0.10320.540972
150.0876340.84510.20011
16-0.03421-0.32990.628895
170.0806660.77790.219298
180.0193490.18660.426192
190.1248961.20450.115736
200.1082391.04380.149638
21-0.077089-0.74340.77045
220.0699250.67430.250885
23-0.12354-1.19140.881732
24-0.178703-1.72340.955926
25-0.164806-1.58930.942311
260.0422060.4070.342465
27-0.163931-1.58090.941352
280.1322231.27510.102723
29-0.051237-0.49410.688803
30-0.035579-0.34310.633855
310.0926690.89370.186903
32-0.029531-0.28480.611779
33-0.032191-0.31040.621541
34-0.01951-0.18820.574416
35-0.12627-1.21770.886791
36-0.008757-0.08450.533561
370.0463660.44710.327909
38-0.002637-0.02540.510118
39-0.034039-0.32830.628272
40-0.006502-0.06270.524933
41-0.003782-0.03650.514506
42-0.013108-0.12640.550161
430.0236810.22840.409929
44-0.047835-0.46130.677172
45-0.063399-0.61140.728786
46-0.090197-0.86980.806683
47-0.036143-0.34860.635893
 
Charts produced by software:
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2007/Dec/13/t119755802148dd8h73a63imc8/13h861197558876.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2007/Dec/13/t119755802148dd8h73a63imc8/13h861197558876.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2007/Dec/13/t119755802148dd8h73a63imc8/2v7qm1197558876.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2007/Dec/13/t119755802148dd8h73a63imc8/2v7qm1197558876.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