Home » date » 2008 » Dec » 14 »

*The author of this computation has been verified*
R Software Module: rwasp_autocorrelation.wasp (opens new window with default values)
Title produced by software: (Partial) Autocorrelation Function
Date of computation: Sun, 14 Dec 2008 00:53:32 -0700
 
Cite this page as follows:
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL http://www.freestatistics.org/blog/date/2008/Dec/14/t122924127550xavkph4wzg4t3.htm/, Retrieved Sun, 14 Dec 2008 08:54:37 +0100
 
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/2008/Dec/14/t122924127550xavkph4wzg4t3.htm/},
    year = {2008},
}
@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 = {2008},
    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 «
235.1 280.7 264.6 240.7 201.4 240.8 241.1 223.8 206.1 174.7 203.3 220.5 299.5 347.4 338.3 327.7 351.6 396.6 438.8 395.6 363.5 378.8 357 369 464.8 479.1 431.3 366.5 326.3 355.1 331.6 261.3 249 205.5 235.6 240.9 264.9 253.8 232.3 193.8 177 213.2 207.2 180.6 188.6 175.4 199 179.6 225.8 234 200.2 183.6 178.2 203.2 208.5 191.8 172.8 148 159.4 154.5 213.2 196.4 182.8 176.4 153.6 173.2 171 151.2 161.9 157.2 201.7 236.4 356.1 398.3 403.7 384.6 365.8 368.1 367.9 347 343.3 292.9 311.5 300.9 366.9 356.9 329.7 316.2 269 289.3 266.2 253.6 233.8 228.4 253.6 260.1 306.6 309.2 309.5 271 279.9 317.9 298.4 246.7 227.3 209.1 259.9 266 320.6 308.5 282.2 262.7 263.5 313.1 284.3 252.6 250.3 246.5 312.7 333.2 446.4 511.6 515.5 506.4 483.2 522.3 509.8 460.7 405.8 375 378.5 406.8 467.8 469.8 429.8 355.8 332.7 378 360.5 334.7 319.5 323.1 363.6 352.1 411.9 388.6 416.4 360.7 338 417.2 388.4 371.1 331.5 353.7 396.7 447 533.5 565.4 542.3 488.7 467.1 531.3 496.1 444 403.4 386.3 394.1 404.1 462.1 448.1 432.3 386.3 395.2 421.9 382.9 384.2 345.5 323.4 372.6 376 462.7 487 444.2 399.3 394.9 455.4 414 375.5 347 339.4 385.8 378.8 451.8 446.1 422.5 383.1 352.8 445.3 367.5 355.1 326.2 319.8 331.8 340.9 394.1 417.2 369.9 349.2 321.4 405.7 342.9 316.5 284.2 270.9 288.8 278.8 324.4 310.9 299 273 279.3 359.2 305 282.1 250.3 246.5 257.9 266.5 315.9 318.4 295.4 266.4 245.8 362.8 324.9 294.2 289.5 295.2 290.3 272 307.4 328.7 292.9 249.1 230.4 361.5 321.7 277.2 260.7 251 257.6 241.8 287.5 292.3 274.7 254.2 230 339 318.2 287 295.8 284 271 262.7 340.6 379.4 373.3 355.2 338.4 466.9 451 422 429.2 425.9 460.7 463.6 541.4 544.2 517.5 469.4 439.4 549 533 506.1 484 457 481.5 469.5 544.7 541.2 521.5 469.7 434.4 542.6 517.3 485.7 465.8 447 426.6 411.6 467.5 484.5 451.2 417.4 379.9 484.7 455 420.8 416.5 376.3 405.6 405.8 500.8 514 475.5 430.1 414.4 538 526 488.5 520.2 504.4 568.5 610.6 818 830.9 835.9 782 762.3 856.9 820.9 769.6 752.2 724.4 723.1 719.5 817.4 803.3 752.5 689 630.4 765.5 757.7 732.2 702.6 683.3 709.5 702.2 784.8 810.9 755.6 656.8 615.1 745.3 694.1 675.7 643.7 622.1 634.6 588 689.7 673.9 647.9 568.8 545.7 632.6 643.8 593.1 579.7 546 562.9 572.5
 
Output produced by software:


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


Autocorrelation Function
Time lag kACF(k)T-STATP-value
10.1475752.79620.002725
20.2713825.1420
30.1818383.44530.000319
40.1140642.16120.01567
50.147922.80270.002671
60.0525710.99610.159942
7-0.038673-0.73280.232094
80.0019330.03660.485399
9-0.080036-1.51650.065141
10-0.166146-3.1480.000891
11-0.025738-0.48770.313045
12-0.46171-8.74820
13-0.159456-3.02130.001349
14-0.159783-3.02740.001322
15-0.146797-2.78140.002849
16-0.152304-2.88570.00207
17-0.12947-2.45310.007319
18-0.103993-1.97040.024781
190.0151720.28750.386962
200.0149830.28390.388328
21-0.02523-0.4780.316458
220.0060650.11490.454291
23-0.023971-0.45420.324985
240.000240.00450.498187
250.1165492.20830.013928
260.0354930.67250.250852
270.0639291.21130.113292
280.107142.030.021546
290.0308530.58460.279599
300.0583451.10550.134846
310.0299310.56710.285495
32-0.076832-1.45580.073168
330.0104470.19790.421598
34-0.01339-0.25370.399935
35-0.084746-1.60570.054609
36-0.045278-0.85790.195762
37-0.099926-1.89330.029559
38-0.024743-0.46880.319741
39-0.064258-1.21750.112103
40-0.108143-2.0490.020594
41-0.102158-1.93560.02685
42-0.027392-0.5190.30204
43-0.16464-3.11950.000979
440.0329150.62370.266625
45-0.026475-0.50160.308119
460.0221130.4190.337737
470.0724321.37240.0854
480.0737811.3980.081495
490.0965671.82970.034063
500.0737091.39660.081699
510.0707661.34080.090414
520.1535242.90890.001927
530.1974383.74090.000107
540.0160850.30480.380362
550.1685623.19380.000764
560.0183480.34770.364153
570.056821.07660.141196
580.0545321.03320.151097
590.0124450.23580.406863
60-0.015257-0.28910.386342


Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
10.1475752.79620.002725
20.2551614.83461e-06
30.1250392.36920.009179
40.0176720.33480.368974
50.0666521.26290.103726
6-0.019477-0.3690.356157
7-0.120383-2.28090.011569
8-0.02782-0.52710.299221
9-0.06351-1.20330.114819
10-0.158782-3.00850.001405
110.0476720.90330.183499
12-0.409489-7.75870
13-0.065752-1.24580.106819
140.0752031.42490.077528
150.0356260.6750.250052
16-0.072596-1.37550.084916
170.0129670.24570.403034
180.0018920.03590.485708
190.0415630.78750.215751
200.081051.53570.06275
21-0.057615-1.09170.137858
22-0.146492-2.77560.002899
23-0.001559-0.02950.488228
24-0.234984-4.45236e-06
250.0559921.06090.144727
260.0409670.77620.219066
270.0207470.39310.347242
280.0191930.36370.358162
29-0.015692-0.29730.3832
30-0.039368-0.74590.228101
310.0402450.76250.223122
32-0.066385-1.25780.104637
33-0.063626-1.20550.114393
34-0.079254-1.50170.067033
35-0.096831-1.83470.03369
36-0.201347-3.8158e-05
370.0327180.61990.267854
380.0626131.18630.118137
39-0.048182-0.91290.180947
40-0.042507-0.80540.210564
41-0.086829-1.64520.050404
420.0156460.29640.38353
43-0.100618-1.90640.028695
440.0123920.23480.407249
45-0.04872-0.92310.178284
46-0.013241-0.25090.401025
47-0.024437-0.4630.321818
48-0.053708-1.01760.154774
490.0513670.97330.165537
500.0346950.65740.255678
51-0.02972-0.56310.286853
520.0758861.43780.075675
530.0376170.71270.238233
54-0.083309-1.57850.057667
55-0.032649-0.61860.268281
56-0.061898-1.17280.120825
57-0.076165-1.44310.074928
580.0218950.41480.339252
590.0048330.09160.463544
60-0.031161-0.59040.277643
 
Charts produced by software:
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/14/t122924127550xavkph4wzg4t3/1uuek1229241207.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/14/t122924127550xavkph4wzg4t3/1uuek1229241207.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/14/t122924127550xavkph4wzg4t3/2l6f01229241207.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/14/t122924127550xavkph4wzg4t3/2l6f01229241207.ps (open in new window)


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