Home » date » 2009 » May » 14 »

Gabriels Wim Oef 6bis

*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 15:42:24 -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/t12423373711u7s5htrzhttjcy.htm/, Retrieved Thu, 14 May 2009 23:42:53 +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/t12423373711u7s5htrzhttjcy.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 «
374 572 402 589 507 628 698 451 694 0 488 526 343 494 447 0 470 366 517 483 485 530 308 481 437 468 502 408 479 436 410 451 344 411 0 427 454 365 499 416 430 470 325 452 442 488 446 523 594 439 588 503 444 525 375 472 436 458 514 0 472 360 450 549 361 466 387 457 470 396 471 422 404 414 342 459 379 0 410 319 411 371 365 429 333 392 469 432 534 379 436 448 358 492 387 529 475 439 459 361 0 0 394 425 341 455 403 471 523 389 531 468 398 446 355 435 353 0 400 332 389 355 384 406 356 336 351 278 265 229 387 435 317 490 472 440 429 350 489 494 436 436 375 429 0 434 472 362 440 433 400 442 316 432 401 434 488 377 484 377 0 0 300 389 337 376 377 331 339 356 280 249 196 268 379 401 404 397 419 421 407 296 468 475 422 456 339 446 419 346 327 326 403 359 358 421 322 367 394 356 418 344 372 358 373 379 0 348 369 341 etc...
 
Output produced by software:


Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time5 seconds
R Server'George Udny Yule' @ 72.249.76.132


Autocorrelation Function
Time lag kACF(k)T-STATP-value
10.1837442.98550.001548
20.1942853.15680.00089
30.1702962.7670.003029
4-0.039773-0.64620.259342
50.1518382.46710.007129
6-0.032145-0.52230.30095
70.0540550.87830.190292
80.0695961.13080.129583
9-0.082272-1.33680.091227
100.0904951.47040.071326
11-0.084699-1.37620.084963
120.0589780.95830.169401
130.049960.81180.208831
14-0.143161-2.32610.010385
150.1286252.08990.018792
160.0346620.56320.286892
170.162422.6390.004405
180.0977071.58750.056793
190.0501470.81480.207961
200.1464742.37990.009013
21-0.076146-1.23720.108551
220.0538170.87440.191342
230.0721921.1730.120929
240.0047050.07650.469559
250.2288693.71870.000122
26-0.069553-1.13010.12973
270.1221931.98540.024067
280.0741821.20530.114581
29-0.072232-1.17360.1208
300.0388050.63050.264453
31-0.079527-1.29220.098717
320.0442030.71820.236629
33-0.012938-0.21020.416832
34-0.043648-0.70920.239415
350.1108871.80170.036367
36-0.028677-0.46590.320822
370.0897381.45810.073004
38-0.004571-0.07430.470426
39-0.008115-0.13190.447599
400.1836982.98470.001552
410.0463330.75280.226115
420.1928023.13270.000964
430.2226853.61820.000178
440.2482254.03323.6e-05
450.2264653.67960.000142
460.0807711.31240.095268
470.1567522.54690.005718
480.0009070.01470.494124


Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
10.1837442.98550.001548
20.1661322.69930.003698
30.1170771.90230.029112
4-0.121786-1.97880.02444
50.1378852.24040.01295
6-0.075713-1.23020.10986
70.0568330.92340.178316
80.0239930.38980.348486
9-0.080397-1.30630.096294
100.0676551.09930.136326
11-0.085087-1.38250.083993
120.0930371.51170.065907
130.0039760.06460.474268
14-0.128556-2.08880.018842
150.1207221.96150.025436
160.075191.22170.111456
170.1496652.43180.007845
18-0.043411-0.70530.240609
190.0595470.96750.167085
200.024380.39610.346165
21-0.093109-1.51280.065759
220.029890.48570.313806
230.045210.73460.231623
240.0325290.52850.298788
250.1441982.34290.009938
26-0.10042-1.63160.051974
270.1019491.65650.049407
28-0.018654-0.30310.381028
29-0.044384-0.72120.235725
30-0.059705-0.97010.166443
310.0215240.34970.363411
320.0098790.16050.436301
33-0.043429-0.70560.240518
340.0179770.29210.385224
350.0167080.27150.39312
360.0121030.19660.422129
370.0484140.78660.216101
38-0.044726-0.72670.234024
390.0627691.01990.154359
400.074641.21280.113154
410.0743341.20780.114107
420.0722251.17350.120824
430.1570922.55240.00563
440.1708072.77530.002955
450.0349820.56840.285124
460.0662581.07660.141328
470.0182540.29660.383504
48-0.078963-1.2830.10031
 
Charts produced by software:
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2009/May/14/t12423373711u7s5htrzhttjcy/1gjft1242337338.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2009/May/14/t12423373711u7s5htrzhttjcy/1gjft1242337338.ps (open in new window)


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