Home » date » 2011 » Apr » 11 »

differentiatie autocorrelatie-Inschrijvingen nieuwe personenwagens (eigen reeks)-Ling Weng

*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 19:36:46 +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/t1302550519ap73ovks83he6jw.htm/, Retrieved Mon, 11 Apr 2011 21:35:23 +0200
 
Original text written by user:
 
IsPrivate?
No (this computation is public)
 
User-defined keywords:
KDGP2W12
 
Dataseries X:
» Textbox « » Textfile « » CSV «
26281 23899 25727 30733 28599 16723 43738 45272 46532 41032 37967 35366 33892 21560 26588 33527 24859 17952 45504 40129 40357 41913 33730 37842 33025 24050 30429 34507 25189 20253 48527 44446 46380 48950 38883 42928 37107 30186 32602 39892 32194 21629 59968 45694 55756 48554 41052 49822 39191 31994 35735 38930 33658 23849 58972 59249 63955 53785 52760 44795 37348 32370 32717 40974 33591 21124 58608 46865 51378 46235 47206 45382 41227 33795 31295 42625 33625 21538 56421 53152 53536 52408 41454 38271 35306 26414 31917 38030 27534 18387
 
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'George Udny Yule' @ 216.218.223.82


Autocorrelation Function
Time lag kACF(k)T-STATP-value
1-0.32303-3.04750.001519
2-0.115901-1.09340.138583
30.1367941.29050.100109
4-0.038033-0.35880.360296
5-0.070451-0.66460.254001
6-0.124491-1.17440.121676
7-0.09064-0.85510.197398
80.0273730.25820.398409
90.1333681.25820.105807
10-0.158787-1.4980.068837
11-0.248642-2.34570.010607
120.789697.44990
13-0.276585-2.60930.005321
14-0.076437-0.72110.236367
150.087290.82350.206215
160.0148690.14030.444381
17-0.068958-0.65060.258506
18-0.127939-1.2070.11532
19-0.045988-0.43380.332725
20-0.027374-0.25820.398407
210.1264781.19320.117983
22-0.135194-1.27540.102739
23-0.187809-1.77180.039926
240.6505886.13760
25-0.200583-1.89230.030851
26-0.066092-0.62350.267273
270.0354740.33470.369335
280.0374160.3530.362467
29-0.077952-0.73540.232017
30-0.106443-1.00420.159007
310.0030820.02910.488435
32-0.031499-0.29720.383518
330.111171.04880.148561
34-0.106043-1.00040.159914
35-0.185597-1.75090.041703
360.5096644.80823e-06
37-0.139901-1.31980.095139
38-0.084671-0.79880.213271
390.0413120.38970.348831
400.0637440.60140.274564
41-0.098285-0.92720.178161
42-0.058433-0.55130.29142
43-0.018368-0.17330.43141
44-0.028604-0.26990.393949
450.0963050.90850.183022
46-0.092028-0.86820.193814
47-0.119438-1.12680.131433
480.3672853.4650.000409
49-0.0808-0.76230.223959
50-0.083747-0.79010.215795
510.0322760.30450.380731
520.0560730.5290.299063
53-0.104666-0.98740.163057
54-0.006532-0.06160.475501
55-0.020821-0.19640.422361
56-0.015363-0.14490.442547
570.0673540.63540.263395
58-0.072793-0.68670.247021
59-0.093429-0.88140.190236
600.2539972.39620.00933


Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
1-0.32303-3.04750.001519
2-0.245909-2.31990.011317
30.0127290.12010.452343
4-0.00856-0.08080.467909
5-0.064307-0.60670.272806
6-0.221704-2.09160.019664
7-0.297993-2.81130.003035
8-0.225778-2.130.017966
90.0340610.32130.374358
10-0.12672-1.19550.117538
11-0.562321-5.30490
120.5629875.31120
130.1540381.45320.074843
140.0457140.43130.33366
15-0.150133-1.41640.080081
160.1298641.22510.111879
170.0164480.15520.438518
18-0.024507-0.23120.408844
190.1031030.97270.166675
20-0.185815-1.7530.041524
21-0.165055-1.55710.061494
220.0210340.19840.42158
230.1330961.25560.106268
240.0320330.30220.381603
250.068320.64450.260446
260.0361690.34120.366871
27-0.098021-0.92470.178804
28-0.040197-0.37920.352716
290.0670230.63230.264409
300.0497950.46980.319837
310.0184080.17370.431262
320.1148181.08320.140825
330.0108680.10250.459282
340.0377740.35640.361206
35-0.03407-0.32140.374325
36-0.028978-0.27340.392598
37-0.0389-0.3670.357252
38-0.090482-0.85360.197807
390.0477610.45060.326697
400.0064830.06120.475684
41-0.03559-0.33580.368922
420.0403450.38060.352199
43-0.061154-0.57690.282723
44-0.001919-0.01810.492799
45-0.027759-0.26190.397011
460.0047020.04440.48236
470.077220.72850.234113
48-0.115758-1.09210.138877
49-0.017618-0.16620.434184
500.0004290.00410.498389
510.0885770.83560.202799
52-0.034632-0.32670.372324
53-0.056224-0.53040.298572
540.0350470.33060.37085
55-0.037801-0.35660.361113
560.0124610.11760.453344
57-0.002284-0.02150.491429
58-0.01091-0.10290.459128
59-0.081926-0.77290.220817
600.0106020.10.460276
 
Charts produced by software:
http://www.freestatistics.org/blog/date/2011/Apr/11/t1302550519ap73ovks83he6jw/1qgmc1302550603.png (open in new window)
http://www.freestatistics.org/blog/date/2011/Apr/11/t1302550519ap73ovks83he6jw/1qgmc1302550603.ps (open in new window)


http://www.freestatistics.org/blog/date/2011/Apr/11/t1302550519ap73ovks83he6jw/2h9ec1302550603.png (open in new window)
http://www.freestatistics.org/blog/date/2011/Apr/11/t1302550519ap73ovks83he6jw/2h9ec1302550603.ps (open in new window)


http://www.freestatistics.org/blog/date/2011/Apr/11/t1302550519ap73ovks83he6jw/30eaj1302550603.png (open in new window)
http://www.freestatistics.org/blog/date/2011/Apr/11/t1302550519ap73ovks83he6jw/30eaj1302550603.ps (open in new window)


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