Home » date » 2008 » Dec » 08 »

ACF Step 2

*The author of this computation has been verified*
R Software Module: rwasp_autocorrelation.wasp (opens new window with default values)
Title produced by software: (Partial) Autocorrelation Function
Date of computation: Mon, 08 Dec 2008 13:08:11 -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/08/t1228766919h69yykifecl67ot.htm/, Retrieved Mon, 08 Dec 2008 20:08:43 +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/08/t1228766919h69yykifecl67ot.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 «
7.8 7.6 7.5 7.6 7.5 7.3 7.6 7.5 7.6 7.9 7.9 8.1 8.2 8.0 7.5 6.8 6.5 6.6 7.6 8.0 8.0 7.7 7.5 7.6 7.7 7.9 7.8 7.5 7.5 7.1 7.5 7.5 7.6 7.7 7.7 7.9 8.1 8.2 8.2 8.1 7.9 7.3 6.9 6.6 6.7 6.9 7.0 7.1 7.2 7.1 6.9 7.0 6.8 6.4 6.7 6.7 6.4 6.3 6.2 6.5 6.8 6.8 6.5 6.3 5.9 5.9 6.4 6.4
 
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'Gwilym Jenkins' @ 72.249.127.135


Autocorrelation Function
Time lag kACF(k)T-STATP-value
10.882227.2750
20.6999585.7720
30.5136434.23563.5e-05
40.3857663.18110.001106
50.3579122.95140.002169
60.3680923.03540.001701
70.3702933.05350.001614
80.35832.95460.002149
90.3466372.85840.002823
100.3330352.74630.003853
110.3351782.7640.003671
120.3376022.78390.003474
130.2924032.41120.009303
140.2378321.96120.026975
150.1515971.25010.107774
160.0747850.61670.269749
170.0256930.21190.41642
18-0.004381-0.03610.485643
19-0.024799-0.20450.419289
20-0.047208-0.38930.34914
21-0.067123-0.55350.290864
22-0.094527-0.77950.219199
23-0.118329-0.97580.166321
24-0.119455-0.98510.164046
25-0.123686-1.01990.155685
26-0.11128-0.91760.181025
27-0.110238-0.9090.183268
28-0.120171-0.9910.16261
29-0.143631-1.18440.120187
30-0.168922-1.3930.084083
31-0.196428-1.61980.054953
32-0.205528-1.69480.047342
33-0.189624-1.56370.061268
34-0.165015-1.36080.089043
35-0.126435-1.04260.15041
36-0.101993-0.84110.201633
37-0.119631-0.98650.163693
38-0.14442-1.19090.118913
39-0.176309-1.45390.075289
40-0.178035-1.46810.073342
41-0.177877-1.46680.073518
42-0.183433-1.51260.067504
43-0.208673-1.72080.044921
44-0.238519-1.96690.02664
45-0.235765-1.94420.028007
46-0.208725-1.72120.044882
47-0.15385-1.26870.10444
48-0.096533-0.7960.214392
49-0.087118-0.71840.237488
50-0.109476-0.90280.18492
51-0.160508-1.32360.095037
52-0.213869-1.76360.041145
53-0.242944-2.00340.024562
54-0.229825-1.89520.03116
55-0.207163-1.70830.04607
56-0.176294-1.45380.075307
57-0.139329-1.14890.127304
58-0.115063-0.94880.173032
59-0.085198-0.70260.242363
60-0.070082-0.57790.282618


Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
10.882227.2750
2-0.353444-2.91460.002409
3-0.053175-0.43850.33121
40.1653071.36320.088665
50.2807862.31540.011807
6-0.063658-0.52490.300667
7-0.089152-0.73520.232384
80.0919190.7580.225541
90.1814181.4960.069638
10-0.041451-0.34180.366774
110.020260.16710.433907
120.027850.22970.409524
13-0.184568-1.5220.066325
140.0547420.45140.326564
15-0.153206-1.26340.105385
160.0079950.06590.473815
17-0.066156-0.54550.293584
18-0.035763-0.29490.384482
19-0.07949-0.65550.257181
20-0.04243-0.34990.363754
210.0169360.13970.44467
22-0.068128-0.56180.288051
23-0.070464-0.58110.28156
240.1257511.0370.151712
25-0.036416-0.30030.382435
260.0395440.32610.372681
27-0.013901-0.11460.454539
280.0099530.08210.467413
29-0.037275-0.30740.379748
300.0062120.05120.479649
31-0.050435-0.41590.339396
320.0687580.5670.286294
330.0310910.25640.399214
340.0183420.15130.440112
350.0376950.31080.378437
36-0.070328-0.57990.281936
37-0.122227-1.00790.158535
380.0015420.01270.494944
390.0041860.03450.486284
400.0664870.54830.292654
41-0.207641-1.71220.045704
42-0.063673-0.52510.300624
43-0.022219-0.18320.427584
440.0023980.01980.492141
450.0698380.57590.283293
46-0.058725-0.48430.314878
470.0389090.32090.374653
480.0825170.68040.249265
49-0.139722-1.15220.126641
50-0.009879-0.08150.467655
51-0.014758-0.12170.451749
52-0.093979-0.7750.220522
530.036530.30120.382079
540.0350950.28940.386577
550.0173610.14320.443293
560.0027960.02310.490837
570.0282950.23330.408103
580.0520660.42930.334515
59-0.023476-0.19360.423538
60-0.120151-0.99080.162651
 
Charts produced by software:
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/08/t1228766919h69yykifecl67ot/1t5y31228766889.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/08/t1228766919h69yykifecl67ot/1t5y31228766889.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/08/t1228766919h69yykifecl67ot/2vwxb1228766889.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/08/t1228766919h69yykifecl67ot/2vwxb1228766889.ps (open in new window)


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