Home » date » 2011 » May » 19 »

autocorrelatie US Airlines

*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, 19 May 2011 07:06:18 +0000
 
Cite this page as follows:
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL http://www.freestatistics.org/blog/date/2011/May/19/t1305788572xsx0kynzsq6wj22.htm/, Retrieved Thu, 19 May 2011 09:02:52 +0200
 
Original text written by user:
 
IsPrivate?
No (this computation is public)
 
User-defined keywords:
KDGP2W12
 
Dataseries X:
» Textbox « » Textfile « » CSV «
6827 6178 7084 8162 8462 9644 10466 10748 9963 8194 6848 7027 7269 6775 7819 8371 9069 10248 11030 10882 10333 9109 7685 7602 8350 7829 8829 9948 10638 11253 11424 11391 10665 9396 7775 7933 8186 7444 8484 9948 10252 12282 11637 11577 12417 9637 8094 9280 8334 7899 9994 10078 10801 12950 12222 12246 13281 10366 8730 9614 8639 8772 10894 10455 11179 10588 10794 12770 13812 10857 9290 10925 9491 8919 11607 8852 12537 14759 13667 13731 15110 12185 10645 12161 10840 10436 13589 13402 13103 14933 14147 14057 16234 12389 11595 12772
 
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.7772987.61590
20.5895995.77690
30.4836854.73914e-06
40.1964831.92510.028586
50.0552770.54160.294673
60.0759740.74440.229229
70.0275890.27030.393749
80.1571321.53960.063477
90.3924813.84550.000108
100.4524374.4331.2e-05
110.5503075.39190
120.6634436.50040
130.5085144.98241e-06
140.3569093.4970.000357
150.2536112.48490.007345
160.0100010.0980.461072
17-0.126888-1.24320.108402
18-0.113054-1.10770.135379
19-0.145569-1.42630.078516
20-0.029862-0.29260.385236
210.1560861.52930.064737
220.2146372.1030.019041
230.3448113.37840.000527
240.4313574.22642.7e-05
250.3148263.08460.001331
260.2004791.96430.026194
270.1016810.99630.160812
28-0.084098-0.8240.205995
29-0.180746-1.77090.039872
30-0.185323-1.81580.036262
31-0.207732-2.03540.022286
32-0.094756-0.92840.177759
330.0598920.58680.279351
340.1118271.09570.13798
350.2282292.23620.013828
360.3016392.95540.001964
370.209432.0520.021447
380.1193621.16950.122548
390.0168940.16550.434439
40-0.151196-1.48140.070885
41-0.232418-2.27720.012496
42-0.247522-2.42520.008584
43-0.266652-2.61260.005214
44-0.178605-1.750.04166
45-0.064205-0.62910.265397
46-0.018104-0.17740.429791
470.0741450.72650.234661
480.1295941.26980.10362


Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
10.7772987.61590
2-0.03687-0.36130.359353
30.0939940.9210.179692
4-0.514783-5.04381e-06
50.2371852.32390.011119
60.1901041.86260.032786
70.0772830.75720.225389
80.3585373.51290.000339
90.2414742.3660.009997
10-0.031082-0.30450.380687
110.0727920.71320.238722
120.1518191.48750.070077
13-0.240606-2.35750.010215
14-0.080776-0.79140.215318
15-0.077958-0.76380.22342
16-0.084347-0.82640.205306
17-0.135004-1.32280.094529
18-0.012283-0.12030.45223
19-0.001087-0.01060.495763
200.0831240.81440.208703
21-0.12586-1.23320.110262
220.034080.33390.369586
230.2252592.20710.014846
24-0.06027-0.59050.278115
250.0221310.21680.414396
26-0.093676-0.91780.180504
270.1069351.04770.148694
280.0026160.02560.4898
29-0.002727-0.02670.489369
30-0.008115-0.07950.468398
31-0.03664-0.3590.360194
320.009010.08830.46492
33-0.069199-0.6780.249697
34-0.010063-0.09860.460833
350.0390390.38250.351467
360.0099160.09720.461401
37-0.038619-0.37840.35299
38-0.099222-0.97220.166703
39-0.030915-0.30290.38131
400.03120.30570.380247
41-0.043747-0.42860.334575
420.0400740.39260.347725
43-0.072679-0.71210.239063
44-0.048045-0.47070.319446
45-0.062106-0.60850.272144
46-0.040531-0.39710.34608
470.0401870.39370.347321
48-0.036646-0.35910.360171
 
Charts produced by software:
http://www.freestatistics.org/blog/date/2011/May/19/t1305788572xsx0kynzsq6wj22/1op741305788774.png (open in new window)
http://www.freestatistics.org/blog/date/2011/May/19/t1305788572xsx0kynzsq6wj22/1op741305788774.ps (open in new window)


http://www.freestatistics.org/blog/date/2011/May/19/t1305788572xsx0kynzsq6wj22/2dtgl1305788774.png (open in new window)
http://www.freestatistics.org/blog/date/2011/May/19/t1305788572xsx0kynzsq6wj22/2dtgl1305788774.ps (open in new window)


http://www.freestatistics.org/blog/date/2011/May/19/t1305788572xsx0kynzsq6wj22/3vy521305788774.png (open in new window)
http://www.freestatistics.org/blog/date/2011/May/19/t1305788572xsx0kynzsq6wj22/3vy521305788774.ps (open in new window)


 
Parameters (Session):
par1 = 48 ; par2 = 1 ; par3 = 0 ; par4 = 0 ; par5 = 12 ; par6 = White Noise ; par7 = 0.95 ;
 
Parameters (R input):
par1 = 48 ; 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 (par8 != '') par8 <- as.numeric(par8)
ox <- x
if (par8 == '') {
if (par2 == 0) {
x <- log(x)
} else {
x <- (x ^ par2 - 1) / par2
}
} else {
x <- log(x,base=par8)
}
if (par3 > 0) x <- diff(x,lag=1,difference=par3)
if (par4 > 0) x <- diff(x,lag=par5,difference=par4)
bitmap(file='picts.png')
op <- par(mfrow=c(2,1))
plot(ox,type='l',main='Original Time Series',xlab='time',ylab='value')
if (par8=='') {
mytitle <- paste('Working Time Series (lambda=',par2,', d=',par3,', D=',par4,')',sep='')
mysub <- paste('(lambda=',par2,', d=',par3,', D=',par4,', CI=', par7, ', CI type=',par6,')',sep='')
} else {
mytitle <- paste('Working Time Series (base=',par8,', d=',par3,', D=',par4,')',sep='')
mysub <- paste('(base=',par8,', d=',par3,', D=',par4,', CI=', par7, ', CI type=',par6,')',sep='')
}
plot(x,type='l', main=mytitle,xlab='time',ylab='value')
par(op)
dev.off()
bitmap(file='pic1.png')
racf <- acf(x, par1, main='Autocorrelation', xlab='time lag', ylab='ACF', ci.type=par6, ci=par7, sub=mysub)
dev.off()
bitmap(file='pic2.png')
rpacf <- pacf(x,par1,main='Partial Autocorrelation',xlab='lags',ylab='PACF',sub=mysub)
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