Home » date » 2007 » Dec » 05 » attachments

Partial Autocorrelation Function - industriële productie 2

R Software Module: rwasp_autocorrelation.wasp (opens new window with default values)
Title produced by software: (Partial) Autocorrelation Function
Date of computation: Wed, 05 Dec 2007 12:38:57 -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/05/t1196882980kpl4w5c0kibp72e.htm/, Retrieved Wed, 05 Dec 2007 20:29:40 +0100
 
User-defined keywords:
lamda= -0,6 D=1 d=1
 
Dataseries X:
» Textbox « » Textfile « » CSV «
105,3 101,3 108,4 107,4 109,1 109,5 111,4 110,1 117,0 129,6 113,5 113,3 110,1 107,4 110,1 112,5 106,0 117,6 117,8 113,5 121,2 130,4 115,2 117,9 110,7 107,6 124,3 115,1 112,5 127,9 117,4 119,3 130,4 126,0 125,4 130,5 115,9 108,7 124,0 119,4 118,6 131,3 111,1 124,8 132,3 126,7 131,7 130,9 122,1 113,2 133,6 119,2 129,4 131,4 117,1 130,5 132,3 140,8 137,5 128,6 126,7 120,8 139,3 128,6 131,3 136,3 128,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 time2 seconds
R Server'Herman Ole Andreas Wold' @ 193.190.124.10:1001


Autocorrelation Function
Time lag kACF(k)T-STATP-value
017.34850
1-0.544662-4.00240.999904
2-0.059321-0.43590.667684
30.2402731.76560.041555
4-0.237364-1.74430.956598
50.0912790.67080.252616
60.2125071.56160.062112
7-0.334986-2.46160.991472
80.0215580.15840.43736
90.4121353.02860.001882
10-0.495898-3.64410.999698
110.2681881.97080.026942
12-0.019677-0.14460.557215
13-0.18799-1.38140.913583
140.2464331.81090.03786
15-0.055043-0.40450.656273
16-0.252102-1.85260.965294
170.293342.15560.017795
180.0161240.11850.45306
19-0.215903-1.58660.940774
200.1452451.06730.145286
21-0.08527-0.62660.733221
220.0270320.19860.421643
230.1809951.330.094549
24-0.153054-1.12470.867157
25-0.187966-1.38130.913557
260.3558262.61480.005774
27-0.241473-1.77450.959188
280.0674170.49540.31116
290.1028410.75570.22655
30-0.243687-1.79070.960528
310.1755041.28970.101328
320.034380.25260.400752
33-0.131-0.96270.829993
340.0167540.12310.451235
350.1582741.16310.124957
36-0.237208-1.74310.956498
370.1995671.46650.074155
38-0.108903-0.80030.786469
39-0.017862-0.13130.55197
400.1203340.88430.190235
41-0.090555-0.66540.745699
42-0.006236-0.04580.518191
430.0381040.280.390272
440.0033720.02480.490161
45-0.013598-0.09990.539613
460.0237520.17450.431047
47-0.072131-0.53010.700877


Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
0-0.544662-4.00240.999904
1-0.506123-3.71920.999762
2-0.160665-1.18060.87854
3-0.286604-2.10610.98007
4-0.251017-1.84460.964707
50.1554881.14260.129124
6-0.00982-0.07220.528631
7-0.332704-2.44490.991108
80.2601111.91140.030632
9-0.031664-0.23270.591555
100.0081130.05960.476341
11-0.055753-0.40970.658177
12-0.028807-0.21170.583427
13-0.036081-0.26510.604045
14-0.059459-0.43690.668049
15-0.196586-1.44460.922827
16-0.077752-0.57140.714937
170.0757630.55670.290002
180.1867081.3720.087865
19-0.149935-1.10180.862282
20-0.054759-0.40240.655508
210.0943750.69350.245481
220.1590211.16860.123857
230.2354381.73010.044661
24-0.060786-0.44670.671555
250.1170170.85990.196825
26-0.124115-0.91210.817102
27-0.103027-0.75710.773858
280.095330.70050.243302
29-0.078728-0.57850.717345
30-0.053601-0.39390.652393
31-0.196095-1.4410.922321
32-0.024971-0.18350.572454
330.0451960.33210.370543
34-0.028815-0.21170.583448
350.0552160.40580.343263
360.0298390.21930.413634
37-0.06852-0.50350.691675
380.1296010.95240.172576
39-0.186848-1.3730.912293
40-0.107106-0.78710.782658
410.0204920.15060.440431
420.04120.30280.381618
43-0.040621-0.29850.616766
44-0.036576-0.26880.605437
45-0.03837-0.2820.610475
460.0064440.04740.481203
470.0133110.09780.46122
 
Charts produced by software:
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2007/Dec/05/t1196882980kpl4w5c0kibp72e/1ub5p1196883532.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2007/Dec/05/t1196882980kpl4w5c0kibp72e/1ub5p1196883532.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2007/Dec/05/t1196882980kpl4w5c0kibp72e/2vpdg1196883532.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2007/Dec/05/t1196882980kpl4w5c0kibp72e/2vpdg1196883532.ps (open in new window)


 
Parameters:
par1 = 48 ; par2 = -0.6 ; par3 = 1 ; 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