Home » date » 2007 » Dec » 10 » attachments

Paper XIII acf pacf lag 60

R Software Module: rwasp_autocorrelation.wasp (opens new window with default values)
Title produced by software: (Partial) Autocorrelation Function
Date of computation: Mon, 10 Dec 2007 09:12:42 -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/10/t1197302338uf9boy7l5vfx9lf.htm/, Retrieved Mon, 10 Dec 2007 16:59:28 +0100
 
User-defined keywords:
Superbenzine, lag 60
 
Dataseries X:
» Textbox « » Textfile « » CSV «
1 1.04 1.02 1.07 1.12 1.08 1.02 1.01 1.04 0.98 0.95 0.94 0.94 0.96 0.97 1.03 1.01 0.99 1 1 1.02 1.01 0.99 0.98 1.01 1.03 1.03 1 0.96 0.97 0.98 1.02 1.04 1.01 1.01 1 1.01 1.02 1.03 1.06 1.12 1.12 1.13 1.13 1.13 1.17 1.14 1.08 1.07 1.12 1.14 1.21 1.2 1.23 1.29 1.31 1.37 1.35 1.26 1.26
 
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 time4 seconds
R Server'Gwilym Jenkins' @ 72.249.127.135


Autocorrelation Function
Time lag kACF(k)T-STATP-value
017.68110
10.1768521.35840.08975
2-0.156777-1.20420.883345
3-0.081949-0.62950.734262
4-0.106847-0.82070.792442
50.0834290.64080.262057
6-0.058518-0.44950.672635
7-0.16866-1.29550.899903
8-0.201122-1.54480.936135
9-0.132206-1.01550.842991
100.0404640.31080.37852
110.3048322.34150.011303
120.0799650.61420.270716
13-0.101222-0.77750.780016
140.0951460.73080.233887
15-0.029426-0.2260.58902
160.0694620.53350.29783
170.0556390.42740.335333
18-0.12609-0.96850.83163
190.0137420.10560.458147
200.0249080.19130.424464
21-0.019739-0.15160.559997
22-0.031368-0.24090.594782
23-0.063649-0.48890.686638
240.0346970.26650.395387
250.1188440.91290.182515
26-0.068796-0.52840.70041
27-0.065504-0.50310.691632
28-0.058003-0.44550.671217
29-0.056466-0.43370.666965
300.0862320.66240.25516
310.029890.22960.409603
32-0.085983-0.66040.744232
33-0.134477-1.03290.847076
34-0.124111-0.95330.82784
35-0.003408-0.02620.510398
360.1741411.33760.09308
370.0931190.71530.238634
380.0342730.26330.396634
39-0.011897-0.09140.536251
40-0.05404-0.41510.66021
410.1908881.46620.073947
420.0122050.09370.462813
43-0.176778-1.35790.91016
44-0.167754-1.28850.898707
45-0.130875-1.00530.840565
46-0.035033-0.26910.605603
47-0.010598-0.08140.532301
480.0752540.5780.28272
490.0121480.09330.462986
500.0050890.03910.484476
510.037450.28770.387308
520.1527311.17320.122725
530.1141770.8770.19202
54-0.091742-0.70470.75811
55-0.029409-0.22590.588967
560.0188040.14440.442826
57-0.049543-0.38050.647546
58-0.002389-0.01840.507289
59NANANA


Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
00.1768521.35840.08975
1-0.194125-1.49110.929369
2-0.015564-0.11950.547376
3-0.125489-0.96390.830486
40.1217780.93540.176699
5-0.157376-1.20880.884224
6-0.105264-0.80850.788988
7-0.216715-1.66460.949355
8-0.100748-0.77390.778949
9-0.051065-0.39220.651852
100.272592.09380.020292
11-0.086252-0.66250.744889
12-0.013723-0.10540.541796
130.1056120.81120.21025
14-0.110469-0.84850.800214
150.0358290.27520.392059
160.0196080.15060.440397
17-0.032844-0.25230.599149
180.1286690.98830.163515
190.090720.69680.244323
20-0.037701-0.28960.613425
21-0.097311-0.74750.771122
22-0.014855-0.11410.545227
230.082680.63510.263916
240.0430920.3310.370909
25-0.075782-0.58210.718638
260.0129070.09910.460682
27-0.136038-1.04490.849841
280.0232480.17860.429444
29-0.036639-0.28140.610317
30-0.050383-0.3870.649926
31-0.054865-0.42140.662513
32-0.103942-0.79840.786079
33-0.153864-1.18190.878997
34-0.120275-0.92380.820336
350.053260.40910.341975
360.0695050.53390.297715
370.0937480.72010.237157
38-0.020881-0.16040.563439
39-0.050704-0.38950.650833
400.1014590.77930.219452
41-0.093425-0.71760.762086
42-0.086846-0.66710.746339
43-0.092293-0.70890.759416
440.0657230.50480.307779
45-0.054391-0.41780.661191
46-0.055354-0.42520.663873
470.0303550.23320.408221
48-0.071935-0.55250.708669
49-0.031066-0.23860.593889
500.0124080.09530.462197
510.0104940.08060.468015
520.02250.17280.431691
53-0.00457-0.03510.513941
54-0.03216-0.2470.597126
550.0710580.54580.293627
56-0.08559-0.65740.743269
570.0949460.72930.234353
58NANANA
59NANANA
 
Charts produced by software:
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2007/Dec/10/t1197302338uf9boy7l5vfx9lf/1dtkh1197303155.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2007/Dec/10/t1197302338uf9boy7l5vfx9lf/1dtkh1197303155.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2007/Dec/10/t1197302338uf9boy7l5vfx9lf/21nwr1197303155.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2007/Dec/10/t1197302338uf9boy7l5vfx9lf/21nwr1197303155.ps (open in new window)


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