Home » date » 2008 » Dec » 03 »

(P)ACF Algemeen indexcijfer Metaalverwerking

*Unverified author*
R Software Module: rwasp_autocorrelation.wasp (opens new window with default values)
Title produced by software: (Partial) Autocorrelation Function
Date of computation: Wed, 03 Dec 2008 09:58:16 -0700
 
Cite this page as follows:
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL http://www.freestatistics.org/blog/date/2008/Dec/03/t1228323645tmxqg3su20rzc4u.htm/, Retrieved Wed, 03 Dec 2008 17:00:47 +0000
 
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/2008/Dec/03/t1228323645tmxqg3su20rzc4u.htm/},
    year = {2008},
}
@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 = {2008},
    note = {{ISBN} 3-900051-07-0},
    url = {http://www.R-project.org},
}
 
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
 
Feedback Forum:
2008-11-27 13:41:43 [a2386b643d711541400692649981f2dc] [reply
test

Post a new message
 
Original text written by user:
 
IsPrivate?
No (this computation is public)
 
User-defined keywords:
 
Dataseries X:
» Textbox « » Textfile « » CSV «
92 95.9 108.8 103.4 102.1 110.1 83.2 82.7 106.8 113.7 102.5 96.6 92.1 95.6 102.3 98.6 98.2 104.5 84 73.8 103.9 106 97.2 102.6 89 93.8 116.7 106.8 98.5 118.7 90 91.9 113.3 113.1 104.1 108.7 96.7 101 116.9 105.8 99 129.4 83 88.9 115.9 104.2 113.4 112.2 100.8 107.3 126.6 102.9 117.9 128.8 87.5 93.8 122.7 126.2 124.6 116.7 115.2 111.1 129.9 113.3 118.5 137.9 103.6 101.7 127.4 137.5 128.3 118.2 117.1
 
Output produced by software:


Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time1 seconds
R Server'George Udny Yule' @ 72.249.76.132


Autocorrelation Function
Time lag kACF(k)T-STATP-value
10.3270822.79460.003317
20.0467080.39910.345503
30.3643443.1130.001322
40.1681391.43660.077555
50.2618322.23710.014167
60.5550934.74275e-06
70.2538312.16870.016681
80.1336571.1420.128599
90.2673792.28450.012626
10-0.043063-0.36790.356994
110.1800051.5380.06419
120.6512655.56440
130.1369411.170.122898
14-0.080562-0.68830.246716
150.1422641.21550.114045
16-0.02723-0.23260.408342
170.0693570.59260.277645
180.3140282.68310.004509
190.0819840.70050.24293
20-0.016411-0.14020.444439
210.0927430.79240.215348
22-0.184464-1.57610.059668
230.0232180.19840.421653
240.3524213.01110.001787
25-0.043093-0.36820.356901
26-0.157789-1.34810.09089
27-0.018785-0.16050.436466
28-0.139622-1.19290.118379
29-0.0477-0.40760.342398
300.1208921.03290.15253
31-0.028026-0.23950.405711
32-0.075733-0.64710.259811
33-0.0644-0.55020.29192
34-0.244053-2.08520.020274
35-0.070441-0.60190.274569
360.1697761.45060.075592


Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
10.3270822.79460.003317
2-0.067496-0.57670.282964
30.4163483.55730.000331
4-0.130028-1.1110.135116
50.4121253.52120.000372
60.2912922.48880.007549
70.0583990.4990.309654
80.0614840.52530.300476
9-0.043952-0.37550.354181
10-0.375978-3.21240.00098
110.2164291.84920.034241
120.362033.09320.001403
13-0.24277-2.07420.020793
14-0.125581-1.0730.14341
15-0.214726-1.83460.035318
16-0.003937-0.03360.486628
17-0.043102-0.36830.356872
18-0.039275-0.33560.369082
190.074030.63250.264514
200.0062250.05320.478864
210.1093540.93430.17661
22-0.073644-0.62920.265587
230.0802290.68550.247607
24-0.142518-1.21770.113635
25-0.026363-0.22520.411209
26-0.026151-0.22340.41191
27-0.070008-0.59810.275797
280.0734580.62760.266105
29-0.071419-0.61020.271811
30-0.020902-0.17860.429377
310.0561870.48010.316311
320.0192090.16410.435043
33-0.092293-0.78860.216463
340.0602180.51450.304228
35-0.116096-0.99190.162256
360.135931.16140.124635
 
Charts produced by software:
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/03/t1228323645tmxqg3su20rzc4u/12auk1228323494.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/03/t1228323645tmxqg3su20rzc4u/12auk1228323494.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/03/t1228323645tmxqg3su20rzc4u/2mrhd1228323494.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/03/t1228323645tmxqg3su20rzc4u/2mrhd1228323494.ps (open in new window)


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