Home » date » 2010 » May » 02 »

Inschrijving Nieuwe Personenwagens Stap 2

*Unverified author*
R Software Module: /rwasp_autocorrelation.wasp (opens new window with default values)
Title produced by software: (Partial) Autocorrelation Function
Date of computation: Sun, 02 May 2010 14:17:16 +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/May/02/t1272809886nqcpigmyd413yo3.htm/, Retrieved Sun, 02 May 2010 16:18:07 +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/May/02/t1272809886nqcpigmyd413yo3.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:
KDGP2W21
 
Dataseries X:
» Textbox « » Textfile « » CSV «
41086 39690 43129 37863 35953 29133 24693 22205 21725 27192 21790 13253 37702 30364 32609 30212 29965 28352 25814 22414 20506 28806 22228 13971 36845 35338 35022 34777 26887 23970 22780 17351 21382 24561 17409 11514 31514 27071 29462 26105 22397 23843 21705 18089 20764 25316 17704 15548 28029 29383 36438 32034 22679 24319 18004 17537 20366 22782 19169 13807 29743 25591 29096 26482 22405 27044 17970 18730 19684 19785 18479 10698
 
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'RServer@AstonUniversity' @ vre.aston.ac.uk


Autocorrelation Function
Time lag kACF(k)T-STATP-value
10.5811914.50191.6e-05
20.3664672.83860.003087
30.1431571.10890.135952
40.0222040.1720.432011
50.0321090.24870.402214
60.0162710.1260.450064
7-0.03923-0.30390.381138
8-0.043867-0.33980.367601
9-0.060991-0.47240.319166
10-0.278502-2.15730.0175
11-0.435643-3.37450.000651
12-0.550778-4.26633.6e-05
13-0.417675-3.23530.000989
14-0.213554-1.65420.051656
15-0.01961-0.15190.439889
16-0.098895-0.7660.223328
17-0.011575-0.08970.464429
18-0.009765-0.07560.469979
19-0.042498-0.32920.371579
200.0589220.45640.324871
210.0314070.24330.404309
220.1398491.08330.141512
230.320222.48040.007973
240.3920783.0370.001767
250.323432.50530.007484
260.2313091.79170.039111
270.0193010.14950.440829
280.0154240.11950.45265
29-0.022954-0.17780.429739
30-0.047428-0.36740.357316
31-0.047861-0.37070.356071
320.0115870.08970.464393
330.0193110.14960.440799
34-0.082772-0.64110.261934
35-0.145892-1.13010.13147
36-0.28532-2.21010.015463
37-0.24934-1.93140.029082
38-0.105983-0.82090.207465
39-0.025052-0.19410.423395
400.0335180.25960.398019
410.0191640.14840.441244
42-0.003092-0.0240.490485
43-0.010934-0.08470.466393
44-0.061118-0.47340.318816
45-0.036822-0.28520.388228
460.0144930.11230.455494
470.078240.6060.273386
480.1062360.82290.206912


Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
10.5811914.50191.6e-05
20.0433140.33550.369206
3-0.129777-1.00520.159407
4-0.038609-0.29910.382963
50.0996070.77160.221703
6-0.016915-0.1310.448097
7-0.104024-0.80580.211779
80.0158470.12270.451358
9-0.00253-0.01960.492214
10-0.370425-2.86930.002836
11-0.275131-2.13120.018591
12-0.186274-1.44290.077129
130.0989990.76680.223091
140.0801440.62080.268543
150.1067020.82650.205895
16-0.274173-2.12370.018912
170.1229040.9520.172455
180.0367930.2850.388313
19-0.121707-0.94270.174798
200.0937690.72630.23523
21-0.052048-0.40320.34413
22-0.050412-0.39050.34878
230.093310.72280.236312
240.0849090.65770.256623
250.0782250.60590.273425
260.0076610.05930.476438
27-0.190693-1.47710.072439
280.0111430.08630.465751
29-0.052151-0.4040.343839
30-0.012347-0.09560.462062
310.028140.2180.414095
320.0782010.60570.273484
330.0773320.5990.275711
34-0.093618-0.72520.235586
350.0118010.09140.463735
360.0936410.72530.235532
37-0.078614-0.60890.272432
380.0491160.38040.352479
397.4e-056e-040.499771
40-0.046216-0.3580.360803
41-0.099594-0.77150.221733
420.077450.59990.275409
43-0.055509-0.430.334378
440.0087650.06790.473048
450.0930530.72080.236921
46-0.117934-0.91350.182315
47-0.080156-0.62090.268513
48-0.107153-0.830.204914
 
Charts produced by software:
http://www.freestatistics.org/blog/date/2010/May/02/t1272809886nqcpigmyd413yo3/1jo791272809832.png (open in new window)
http://www.freestatistics.org/blog/date/2010/May/02/t1272809886nqcpigmyd413yo3/1jo791272809832.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/May/02/t1272809886nqcpigmyd413yo3/2jo791272809832.png (open in new window)
http://www.freestatistics.org/blog/date/2010/May/02/t1272809886nqcpigmyd413yo3/2jo791272809832.ps (open in new window)


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