Home » date » 2007 » Dec » 06 » attachments

ACF/PACF Timeserie 1: Inschrijving aantal personenwagens

R Software Module: rwasp_autocorrelation.wasp (opens new window with default values)
Title produced by software: (Partial) Autocorrelation Function
Date of computation: Thu, 06 Dec 2007 06:03:14 -0700
 
Cite this page as follows:
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL http://www.freestatistics.org/blog/date/2007/Dec/06/t1196945469usw2unf7v4fhqgs.htm/, Retrieved Thu, 06 Dec 2007 13:51:12 +0100
 
User-defined keywords:
 
Dataseries X:
» Textbox « » Textfile « » CSV «
20972 35681 37034 35645 33379 32747 49585 41745 48564 52518 45594 51442 25094 33702 39120 33842 29896 31481 43895 39477 53726 61465 50104 47460 26451 30306 42598 34485 29027 35489 40357 37532 43899 48572 43901 50556 18387 27534 38030 31917 26414 35306 38271 41454 52408 53536 53152 56421 21538 33625 42625 31295 33795 41227 45382 47206 46235 51378 46865 58608
 
Text written by user:
 
Output produced by software:


Summary of compuational 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
016.92820
10.2784791.92940.029805
20.3462612.3990.010187
30.2749121.90460.031414
40.2345921.62530.055324
50.1569351.08730.141171
60.1259340.87250.19364
7-0.073817-0.51140.694298
8-0.056863-0.3940.652322
9-0.046666-0.32330.626067
10-0.212374-1.47140.926141
11-0.117192-0.81190.78958
12-0.33199-2.30010.987083
13-0.261646-1.81270.961936
14-0.156744-1.0860.858538
15-0.119643-0.82890.794371
16-0.333579-2.31110.987417
17-0.038483-0.26660.604547
18-0.097785-0.67750.749322
19-0.049198-0.34090.63265
200.0633530.43890.331345
21-0.003075-0.02130.508455
220.0041940.02910.488471
230.0720370.49910.309998
24-0.124838-0.86490.804302
25-0.006095-0.04220.516754
260.0296230.20520.41913
27-0.041527-0.28770.612595
28-0.013017-0.09020.535741
29-0.046384-0.32140.625332
30-0.064881-0.44950.672455
31-0.001441-0.010.503963
32-0.003292-0.02280.50905
33-0.014142-0.0980.538821
34-0.007801-0.0540.521438
35-0.023369-0.16190.563969


Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
00.2784791.92940.029805
10.2913012.01820.024589
20.1486111.02960.154177
30.0728520.50470.308027
4-0.013761-0.09530.537778
5-0.018136-0.12570.549734
6-0.21575-1.49480.929239
7-0.107554-0.74520.770094
80.016740.1160.454078
9-0.160072-1.1090.863525
100.0163830.11350.455052
11-0.224438-1.5550.936736
12-0.090216-0.6250.732545
130.096380.66770.25375
140.1059990.73440.233143
15-0.221768-1.53650.934503
160.1234350.85520.19835
170.0717270.49690.31075
18-0.050111-0.34720.635012
190.06660.46140.32329
203.8e-053e-040.499895
21-0.101215-0.70120.75673
22-0.058879-0.40790.657429
23-0.312731-2.16670.982372
24-0.050745-0.35160.636651
250.054160.37520.354569
260.0871430.60370.274429
27-0.106148-0.73540.767168
28-0.062255-0.43130.665915
290.0838640.5810.28197
300.0488190.33820.368333
31-0.038729-0.26830.605199
320.1484751.02870.154396
33-0.076336-0.52890.700333
34-0.106279-0.73630.767442
35-0.100038-0.69310.754202
 
Charts produced by software:
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2007/Dec/06/t1196945469usw2unf7v4fhqgs/1ommn1196946192.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2007/Dec/06/t1196945469usw2unf7v4fhqgs/1ommn1196946192.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2007/Dec/06/t1196945469usw2unf7v4fhqgs/2mm8f1196946192.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2007/Dec/06/t1196945469usw2unf7v4fhqgs/2mm8f1196946192.ps (open in new window)


 
Parameters:
par1 = 36 ; par2 = -1.2 ; par3 = 0 ; par4 = 1 ; par5 = 12 ;
 
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 (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='lags',ylab='ACF')
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 1:par1) {
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(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-1,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(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:

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