Home » date » 2007 » Dec » 18 » attachments

ACF en PACF industriële productie

R Software Module: rwasp_autocorrelation.wasp (opens new window with default values)
Title produced by software: (Partial) Autocorrelation Function
Date of computation: Tue, 18 Dec 2007 09:30:41 -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/18/t1197994637r77so18sslk9cis.htm/, Retrieved Tue, 18 Dec 2007 17:17:17 +0100
 
User-defined keywords:
 
Dataseries X:
» Textbox « » Textfile « » CSV «
106,5 112,3 102,8 96,5 101,0 98,9 105,1 103,0 99,0 104,3 94,6 90,4 108,9 111,4 100,8 102,5 98,2 98,7 113,3 104,6 99,3 111,8 97,3 97,7 115,6 111,9 107,0 107,1 100,6 99,2 108,4 103,0 99,8 115,0 90,8 95,9 114,4 108,2 112,6 109,1 105,0 105,0 118,5 103,7 112,5 116,6 96,6 101,9 116,5 119,3 115,4 108,5 111,5 108,8 121,8 109,6 112,2 119,6 103,4 105,3 113,5
 
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 time12 seconds
R Server'Herman Ole Andreas Wold' @ 193.190.124.10:1001


Autocorrelation Function
Time lag kACF(k)T-STATP-value
0170
10.0726860.50880.306587
20.1899071.32940.094944
30.3844962.69150.004852
40.0149940.1050.458418
50.1423620.99650.161944
60.1249860.87490.192948
7-0.270085-1.89060.9677
8-0.132604-0.92820.82108
9-0.043284-0.3030.618408
10-0.339041-2.37330.989202
11-0.122042-0.85430.80145
12-0.258498-1.80950.961744
13-0.246847-1.72790.95485
14-0.04949-0.34640.63475
15-0.077817-0.54470.705792
16-0.098512-0.68960.753145
170.1095980.76720.223325
180.0055510.03890.484582
19-0.107803-0.75460.772956
200.1525881.06810.145351
210.125850.8810.191322
22-0.050286-0.3520.636826
230.1958181.37070.088353
24-0.050941-0.35660.638533
25-0.01101-0.07710.530559
260.1863971.30480.099032
27-0.085597-0.59920.724092
28-0.080969-0.56680.713277
290.0563250.39430.347543
30-0.086636-0.60650.726494
310.0953350.66730.253842
32-0.006454-0.04520.517925
33-0.156023-1.09220.859948
340.0681710.47720.317671
35-0.016942-0.11860.546959
36-0.094223-0.65960.743688
370.0374730.26230.397091
38-0.046434-0.3250.626733
39-0.068914-0.48240.684164
400.0660.4620.323064
41-0.037216-0.26050.60222
42-0.063706-0.44590.671199
430.0430910.30160.382104
440.0181550.12710.449696
45-0.04479-0.31350.622396
460.0286650.20070.4209
470.0252960.17710.430092


Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
00.0726860.50880.306587
10.1856041.29920.099972
20.3745782.6220.005806
3-0.047594-0.33320.629782
40.0107280.07510.470223
5-0.016408-0.11490.545487
6-0.344948-2.41460.990235
7-0.282177-1.97520.973056
8-0.006333-0.04430.517591
9-0.106144-0.7430.769487
100.0219020.15330.439389
11-0.113092-0.79160.783808
120.0195590.13690.44583
130.0284110.19890.42159
140.075920.53140.298758
150.0208420.14590.442301
160.1073370.75140.228015
17-0.033608-0.23530.592505
18-0.33624-2.35370.988678
19-0.193182-1.35230.908752
200.156781.09750.138902
21-0.035832-0.25080.598501
220.1383740.96860.168747
23-0.036385-0.25470.599988
240.0198470.13890.445037
25-0.005279-0.0370.514664
26-0.065573-0.4590.675873
27-0.0655-0.45850.675689
28-0.011415-0.07990.531682
29-0.034138-0.2390.593935
300.1288730.90210.185705
31-0.097914-0.68540.751839
32-0.023935-0.16750.566186
33-0.02962-0.20730.581698
340.0177760.12440.450742
35-0.069487-0.48640.685578
36-0.044-0.3080.620307
37-0.027493-0.19250.575908
38-0.003989-0.02790.511082
39-0.022383-0.15670.561929
400.0671220.46990.320271
41-0.018051-0.12640.550017
420.0309850.21690.414595
43-0.002549-0.01780.507081
440.0050540.03540.48596
45-0.160143-1.1210.866124
46-0.080401-0.56280.711934
47-0.03105-0.21730.58558
 
Charts produced by software:
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2007/Dec/18/t1197994637r77so18sslk9cis/10u531197995426.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2007/Dec/18/t1197994637r77so18sslk9cis/10u531197995426.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2007/Dec/18/t1197994637r77so18sslk9cis/22wnv1197995426.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2007/Dec/18/t1197994637r77so18sslk9cis/22wnv1197995426.ps (open in new window)


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