Home » date » 2009 » Jun » 02 »

AUTOCORRELATIE WERKLOZEN - YANNICK DE ROEY

*Unverified author*
R Software Module: rwasp_autocorrelation.wasp (opens new window with default values)
Title produced by software: (Partial) Autocorrelation Function
Date of computation: Tue, 02 Jun 2009 11:33:47 -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/Jun/02/t1243964071d9nqpqi5uqfluyy.htm/, Retrieved Tue, 02 Jun 2009 19:34:31 +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/Jun/02/t1243964071d9nqpqi5uqfluyy.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 «
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 533 536
 
Output produced by software:


Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time2 seconds
R Server'Sir Ronald Aylmer Fisher' @ 193.190.124.24


Autocorrelation Function
Time lag kACF(k)T-STATP-value
10.8800147.46720
20.6989485.93080
30.5625114.77315e-06
40.5156064.37512e-05
50.5253224.45751.5e-05
60.5168834.38591.9e-05
70.4620563.92071e-04
80.3912173.31960.000709
90.3750363.18230.001079
100.4130773.50510.000395
110.4838894.10595.3e-05
120.5025754.26453e-05
130.3566513.02630.001716
140.1735611.47270.072593
150.0312880.26550.395697
16-0.033481-0.28410.388577
17-0.047374-0.4020.344445
18-0.07101-0.60250.274355
19-0.119425-1.01340.157142
20-0.177185-1.50350.068547
21-0.186275-1.58060.059177
22-0.156813-1.33060.09376
23-0.105408-0.89440.187039
24-0.092983-0.7890.216354
25-0.202465-1.7180.04505
26-0.335865-2.84990.00285
27-0.425667-3.61190.000279
28-0.43683-3.70660.000205
29-0.409005-3.47050.000441
30-0.388657-3.29790.000758
31-0.388882-3.29980.000753
32-0.39824-3.37920.000588
33-0.366997-3.11410.001324
34-0.314329-2.66720.004721
35-0.248509-2.10870.019226
36-0.213771-1.81390.036929
37-0.270519-2.29540.012312
38-0.344229-2.92090.002329
39-0.379341-3.21880.000966
40-0.346557-2.94060.002201
41-0.289051-2.45270.008302
42-0.239977-2.03630.022701
43-0.222124-1.88480.031748
44-0.212782-1.80550.037587
45-0.175693-1.49080.07019
46-0.123272-1.0460.14953
47-0.0625-0.53030.298757
48-0.023254-0.19730.422068


Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
10.8800147.46720
2-0.334599-2.83920.002937
30.1800711.5280.065453
40.2284781.93870.028229
50.0933910.79240.215351
6-0.084048-0.71320.239022
7-0.045583-0.38680.350029
80.0410860.34860.364194
90.2149051.82350.036187
100.0684960.58120.281457
110.1555771.32010.09549
12-0.128609-1.09130.139393
13-0.622285-5.28031e-06
140.1113070.94450.174045
15-0.149112-1.26530.104929
16-0.189739-1.610.055888
170.006090.05170.479467
18-0.061294-0.52010.302295
190.0843490.71570.238237
20-0.065803-0.55840.289166
210.0225790.19160.4243
220.0914590.77610.220129
23-0.076263-0.64710.259809
240.0723490.61390.270607
25-0.116048-0.98470.164034
26-0.017014-0.14440.442808
270.0940060.79770.213842
28-0.019719-0.16730.433793
29-0.030446-0.25830.398441
300.0423490.35930.360195
31-0.018062-0.15330.439311
320.006310.05350.478723
33-0.035873-0.30440.380853
34-0.032916-0.27930.390407
350.0320420.27190.393245
36-0.030799-0.26130.397289
37-0.020928-0.17760.429775
380.0178280.15130.44009
39-0.023547-0.19980.4211
400.0166590.14140.443993
41-0.045072-0.38240.351629
420.004250.03610.485667
43-0.109838-0.9320.177223
440.0373330.31680.376163
45-0.080715-0.68490.247808
460.0251610.21350.415771
470.0006870.00580.497684
480.0358980.30460.380772
 
Charts produced by software:
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2009/Jun/02/t1243964071d9nqpqi5uqfluyy/1u8cl1243964023.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2009/Jun/02/t1243964071d9nqpqi5uqfluyy/1u8cl1243964023.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2009/Jun/02/t1243964071d9nqpqi5uqfluyy/2j0am1243964023.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2009/Jun/02/t1243964071d9nqpqi5uqfluyy/2j0am1243964023.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