Home » date » 2010 » Aug » 16 »

Aantal bezoekers

*Unverified author*
R Software Module: /rwasp_autocorrelation.wasp (opens new window with default values)
Title produced by software: (Partial) Autocorrelation Function
Date of computation: Mon, 16 Aug 2010 09:18:19 +0000
 
Cite this page as follows:
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL http://www.freestatistics.org/blog/date/2010/Aug/16/t1281950389ajsntv8dihojmzg.htm/, Retrieved Mon, 16 Aug 2010 11:19:51 +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/2010/Aug/16/t1281950389ajsntv8dihojmzg.htm/},
    year = {2010},
}
@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 = {2010},
    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 «
556 555 554 552 572 571 556 546 547 547 548 550 555 549 555 550 566 573 543 535 542 541 535 536 548 546 548 548 561 563 527 527 541 534 522 527 539 533 532 519 538 542 503 502 522 511 492 500 509 511 505 493 518 518 474 471 483 461 439 446 461 449 441 424 447 448 404 403 411 386 359 370 385 369 368 352 378 383 334 323 330 303 275 284 301 281 284 272 297 300 240 236 247 218 192 201 223 197 195 175 197 204 142 142 151 127 100 114 139 112 123 108 132 140 76 71 81 57 38 46
 
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'Gwilym Jenkins' @ 72.249.127.135


Autocorrelation Function
Time lag kACF(k)T-STATP-value
10.97050810.63140
20.94107110.30890
30.91991910.07720
40.8979569.83660
50.8689739.51910
60.8406639.2090
70.8246369.03340
80.8082468.85390
90.7843968.59260
100.75928.31660
110.7384878.08970
120.7210027.89820
130.6887967.54540
140.6562387.18870
150.6321646.9250
160.6075016.65480
170.5762996.3130
180.5452635.97310
190.5264515.7670
200.5070665.55460
210.4805715.26440
220.4539154.97241e-06
230.4326924.73993e-06
240.4143964.53957e-06
250.3830884.19652.6e-05
260.3516763.85249.5e-05
270.3282553.59580.000235
280.3046863.33770.000563
290.2751843.01450.001571
300.2469422.70510.003911
310.2304832.52480.00644
320.2133592.33720.010542
330.1891742.07230.02019
340.1649391.80680.036648
350.145151.590.057228
360.1273221.39470.082834
370.0987851.08210.140681
380.070360.77080.221184
390.0495210.54250.294248
400.0292840.32080.374462
410.0037980.04160.483441
42-0.019535-0.2140.415459
43-0.032629-0.35740.360697
44-0.046784-0.51250.304624
45-0.0676-0.74050.230214
46-0.087306-0.95640.170398
47-0.102403-1.12180.132099
48-0.116012-1.27080.103121
49-0.138289-1.51490.066216
50-0.16115-1.76530.040028
51-0.177138-1.94040.027336
52-0.19235-2.10710.018596
53-0.212547-2.32830.010784
54-0.231249-2.53320.006296
55-0.240558-2.63520.00476
56-0.250514-2.74420.003498
57-0.265664-2.91020.002153
58-0.278459-3.05040.001407
59-0.286435-3.13770.001071
60-0.293345-3.21340.000842


Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
10.97050810.63140
2-0.013999-0.15330.439191
30.1274041.39560.082699
4-0.025451-0.27880.39044
5-0.114545-1.25480.105998
6-0.007022-0.07690.469408
70.172551.89020.030572
8-0.010985-0.12030.452209
9-0.085116-0.93240.176502
10-0.046288-0.50710.306523
110.0059570.06530.474037
120.049240.53940.295306
13-0.213238-2.33590.010578
14-0.012962-0.1420.44366
150.0472760.51790.302747
16-0.037072-0.40610.342696
17-0.057711-0.63220.264231
18-0.002939-0.03220.487187
190.0993261.08810.139375
20-0.027706-0.30350.381014
21-0.043166-0.47290.318584
22-0.020604-0.22570.410906
230.007330.08030.468067
240.0225730.24730.402557
25-0.137017-1.5010.067997
26-0.007112-0.07790.469014
270.0098520.10790.45712
28-0.02867-0.31410.377009
29-0.034898-0.38230.351463
300.0234520.25690.398846
310.061230.67070.251836
32-0.030137-0.33010.370935
33-0.03266-0.35780.360569
34-0.023869-0.26150.397086
35-0.019316-0.21160.41639
36-0.001012-0.01110.495587
37-0.078787-0.86310.194912
38-0.010762-0.11790.453177
39-0.006185-0.06780.473045
40-0.016421-0.17990.428773
41-0.0233-0.25520.399488
420.0370070.40540.342955
430.0223660.2450.403433
44-0.033331-0.36510.357832
45-0.02486-0.27230.392917
46-0.005576-0.06110.475696
47-0.012833-0.14060.444219
480.0002940.00320.498719
49-0.043001-0.47110.319228
50-0.035416-0.3880.349364
51-0.01547-0.16950.432858
52-0.013368-0.14640.441912
53-0.01936-0.21210.416203
540.0139310.15260.439482
550.0089940.09850.460838
56-0.026752-0.29310.384994
570.0002350.00260.498975
580.0160230.17550.430482
59-0.002711-0.02970.488178
600.0056170.06150.475518
 
Charts produced by software:
http://www.freestatistics.org/blog/date/2010/Aug/16/t1281950389ajsntv8dihojmzg/1jtf11281950297.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Aug/16/t1281950389ajsntv8dihojmzg/1jtf11281950297.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Aug/16/t1281950389ajsntv8dihojmzg/2jtf11281950297.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Aug/16/t1281950389ajsntv8dihojmzg/2jtf11281950297.ps (open in new window)


 
Parameters (Session):
 
Parameters (R input):
par1 = 60 ; par2 = 1 ; par3 = 0 ; par4 = 0 ; par5 = 12 ; par6 = White Noise ; par7 = 0.95 ;
 
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 (par6 == 'White Noise') par6 <- 'white' else par6 <- 'ma'
par7 <- as.numeric(par7)
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='time lag', ylab='ACF', ci.type=par6, ci=par7, sub=paste('(lambda=',par2,', d=',par3,', D=',par4,', CI=', par7, ', CI type=',par6,')',sep=''))
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