Home » date » 2011 » Apr » 11 »

Inschrijvingen nieuwe wagens

*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, 11 Apr 2011 15:43:12 +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/Apr/11/t1302536452k45x4mpwz75v9lf.htm/, Retrieved Mon, 11 Apr 2011 17:40:55 +0200
 
Original text written by user:
 
IsPrivate?
No (this computation is public)
 
User-defined keywords:
KDGP2W12
 
Dataseries X:
» Textbox « » Textfile « » CSV «
17 16.7 15.4 15.1 16.1 17 16.1 14.3 16.1 14.8 15.9 17.6 15.9 14.8 16.5 15.6 14.6 17.1 15.2 14.8 15.4 16.6 15.1 15.4 15.2 16.6 16.1 15.7 15.8 15.7 16.9 15.9 17.1 17 16.6 17.1 16.6 16.6 16.5 17 15.9 17 16.1 16.1 16.8 16.7 15.7 18.7 16.1 16.3 17.2 16.1 16.5 16.5 15.1 16.7 14.4 16.2 15.9 17.3 15.6 15.6 14.7 15.8 15.8 14.8 16.1 16.3 16.1 17.4 16.7 16.1 15.4 16.9 15.5 17.6 18.4 15.9 15.2 15.5 15.9 15.8 17.6 18.2 15.9 15.7 16.4 15.6 15.8 17 16.8 16.6 17.7 15.7 18 18.2 16.4 18 16.3
 
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'Herman Ole Andreas Wold' @ www.yougetit.org


Autocorrelation Function
Time lag kACF(k)T-STATP-value
1-0.476563-4.71774e-06
2-0.081516-0.8070.21082
30.1806081.78790.038439
4-0.144522-1.43070.07785
5-0.127149-1.25870.105563
60.2467382.44260.008187
7-0.03257-0.32240.37391
8-0.072837-0.7210.236299
90.0537590.53220.2979
10-0.031218-0.3090.378972
11-0.069536-0.68840.246421
120.1019951.00970.157563
13-0.070654-0.69940.242967
140.0833540.82520.205642
15-0.11293-1.1180.13316
160.1270861.25810.105674
17-0.049305-0.48810.313287
18-0.049696-0.4920.311922
190.0346740.34330.36607
200.0015960.01580.493714
21-0.056711-0.56140.287901
220.1206471.19430.117613
23-0.107273-1.06190.145435
240.0523960.51870.302571
25-0.007919-0.07840.468837
260.0299030.2960.38392
27-0.067388-0.66710.253136
280.0560720.55510.290051
29-0.04425-0.4380.331157
300.0281430.27860.390569
31-0.007706-0.07630.469675
32-0.06746-0.66780.252909
330.084670.83820.201983
34-0.040239-0.39830.345622
35-0.063759-0.63120.264696
360.1531341.51590.066376
37-0.093551-0.92610.178331
380.0110930.10980.456392
390.057230.56650.286158
40-0.070218-0.69510.244312
41-0.06065-0.60040.274811
420.1488641.47370.071887
43-0.090388-0.89480.186546
440.0186950.18510.426778
450.0521530.51630.303407
46-0.13323-1.31890.095136
470.1182381.17050.122319
48-0.02002-0.19820.421653


Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
1-0.476563-4.71774e-06
2-0.399319-3.95317.3e-05
3-0.098596-0.97610.165721
4-0.158345-1.56750.060107
5-0.361591-3.57960.000269
6-0.136641-1.35270.089636
70.013970.13830.445145
80.0266850.26420.396101
9-0.018997-0.18810.425607
10-0.028147-0.27860.390554
11-0.042957-0.42530.335793
120.0279490.27670.391302
13-0.093256-0.92320.179088
140.0291560.28860.386739
15-0.138624-1.37230.086551
160.0484910.480.316137
170.0616420.61020.271561
18-0.003456-0.03420.48639
19-0.032006-0.31680.376018
20-0.04351-0.43070.333807
21-0.05435-0.5380.295886
220.0501750.49670.310255
23-0.10642-1.05350.14735
24-0.020467-0.20260.419929
25-0.016591-0.16420.434939
260.0911040.90190.184665
270.0407010.40290.343944
28-0.017875-0.17690.429956
29-0.022755-0.22530.411122
300.0134790.13340.447061
310.003230.0320.487279
32-0.179001-1.7720.03975
33-0.108821-1.07730.142001
34-0.104963-1.03910.150662
35-0.1503-1.48790.069995
36-0.047554-0.47080.31943
37-0.045156-0.4470.327922
38-0.011244-0.11130.4558
390.0936060.92660.178193
400.0282580.27970.390134
41-0.074959-0.74210.229915
42-0.019633-0.19440.423148
43-0.033414-0.33080.370759
440.0109280.10820.457037
45-0.007304-0.07230.471255
46-0.17799-1.7620.040593
470.0317960.31480.376803
480.0442270.43780.331239
 
Charts produced by software:
http://www.freestatistics.org/blog/date/2011/Apr/11/t1302536452k45x4mpwz75v9lf/1mzv91302536591.png (open in new window)
http://www.freestatistics.org/blog/date/2011/Apr/11/t1302536452k45x4mpwz75v9lf/1mzv91302536591.ps (open in new window)


http://www.freestatistics.org/blog/date/2011/Apr/11/t1302536452k45x4mpwz75v9lf/23duo1302536591.png (open in new window)
http://www.freestatistics.org/blog/date/2011/Apr/11/t1302536452k45x4mpwz75v9lf/23duo1302536591.ps (open in new window)


http://www.freestatistics.org/blog/date/2011/Apr/11/t1302536452k45x4mpwz75v9lf/3c5m61302536591.png (open in new window)
http://www.freestatistics.org/blog/date/2011/Apr/11/t1302536452k45x4mpwz75v9lf/3c5m61302536591.ps (open in new window)


 
Parameters (Session):
par1 = 48 ; par2 = 1 ; par3 = 1 ; par4 = 0 ; par5 = 12 ; par6 = White Noise ; par7 = 0.95 ;
 
Parameters (R input):
par1 = 48 ; par2 = 1 ; par3 = 1 ; 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