Home » date » 2007 » Dec » 17 » attachments

Paper XVI AcorF lag60

R Software Module: rwasp_autocorrelation.wasp (opens new window with default values)
Title produced by software: (Partial) Autocorrelation Function
Date of computation: Mon, 17 Dec 2007 11:59:17 -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/17/t1197916963f1lyum3xfcezjcd.htm/, Retrieved Mon, 17 Dec 2007 19:42:45 +0100
 
User-defined keywords:
LPG lag 60
 
Dataseries X:
» Textbox « » Textfile « » CSV «
0.4 0.37 0.36 0.36 0.36 0.36 0.32 0.31 0.32 0.33 0.33 0.29 0.33 0.32 0.31 0.33 0.32 0.32 0.3 0.3 0.33 0.35 0.35 0.37 0.38 0.39 0.4 0.32 0.29 0.29 0.3 0.3 0.32 0.32 0.34 0.34 0.34 0.33 0.33 0.33 0.34 0.35 0.34 0.36 0.39 0.43 0.42 0.39 0.37 0.36 0.39 0.39 0.37 0.36 0.38 0.38 0.44 0.49 0.47 0.48
 
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 time1 seconds
R Server'Gwilym Jenkins' @ 72.249.127.135


Autocorrelation Function
Time lag kACF(k)T-STATP-value
017.68110
10.0704850.54140.295134
2-0.103707-0.79660.785558
3-0.076146-0.58490.719573
4-0.116022-0.89120.811775
50.0629560.48360.315238
6-0.151161-1.16110.874859
7-0.171366-1.31630.903416
8-0.06623-0.50870.693577
90.0533760.410.341649
100.1094090.84040.202043
110.1791781.37630.086967
120.0635080.48780.313745
130.0031930.02450.490259
14-0.046872-0.360.639945
15-0.138502-1.06390.854134
16-0.035811-0.27510.607888
17-0.028088-0.21570.585036
18-0.091618-0.70370.757815
19-0.078803-0.60530.726348
200.1559441.19780.117887
210.1458591.12040.133549
220.1093430.83990.202184
23-0.074108-0.56920.714322
240.0945780.72650.235213
250.0837630.64340.261231
260.0344480.26460.396121
27-0.085363-0.65570.742712
28-0.104451-0.80230.787201
29-0.128407-0.98630.835997
30-0.026041-0.20.578925
310.0767250.58930.278943
32-0.056061-0.43060.665839
330.0076560.05880.476652
34-0.030992-0.23810.593667
350.0488920.37550.3543
360.098960.76010.225103
37-0.01483-0.11390.545153
38-0.052324-0.40190.655399
39-0.101563-0.78010.780781
40-0.040611-0.31190.621908
410.0726510.5580.289462
420.071010.54540.293753
43-0.099946-0.76770.777135
440.0071860.05520.478083
45-0.006832-0.05250.520837
46-0.004008-0.03080.512229
470.0611850.470.320054
48-0.005342-0.0410.516295
49-0.030269-0.23250.591524
50-0.064519-0.49560.688983
51-0.011974-0.0920.536484
520.0127520.09790.461153
53-0.019528-0.150.559362
54-0.012255-0.09410.537337
55-0.037728-0.28980.613506
56-0.014826-0.11390.54514
570.0060840.04670.481441
58-0.002839-0.02180.508662
59NANANA


Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
00.0704850.54140.295134
1-0.109218-0.83890.797549
2-0.061373-0.47140.680458
3-0.119538-0.91820.818871
40.0667490.51270.305034
5-0.1975-1.5170.9327
6-0.156834-1.20470.883428
7-0.102624-0.78830.783152
80.0154710.11880.452904
90.0124790.09590.461982
100.162791.25040.108042
110.0443930.3410.36716
120.0213560.1640.43513
13-0.057551-0.44210.669969
14-0.114658-0.88070.808974
15-0.027287-0.20960.582647
160.0125640.09650.461723
17-0.056343-0.43280.666623
18-0.072326-0.55550.709688
190.1559341.19780.117901
200.044060.33840.36812
210.0420380.32290.373957
22-0.10757-0.82630.794008
230.1919091.47410.072887
240.0463780.35620.361468
250.1531791.17660.122042
26-0.022092-0.16970.567084
270.0936380.71920.237414
28-0.173098-1.32960.905615
290.0106190.08160.467635
30-0.024024-0.18450.572885
31-0.050939-0.39130.651497
32-0.071399-0.54840.707265
33-0.051374-0.39460.652724
34-0.000592-0.00450.501805
350.0153350.11780.453317
36-0.037722-0.28970.613487
37-0.063872-0.49060.687238
380.0004210.00320.498716
39-0.022416-0.17220.568059
400.0894810.68730.247289
410.0115950.08910.464668
42-0.026659-0.20480.580771
43-0.052313-0.40180.655368
44-0.060065-0.46140.676883
45-0.169667-1.30320.901222
460.0244040.18750.425975
47-0.049408-0.37950.647165
480.0396870.30480.380781
49-0.098956-0.76010.774889
500.0464250.35660.361331
51-0.104533-0.80290.787382
520.0074790.05740.477192
530.02740.21050.417014
540.0191990.14750.441632
55-0.010001-0.07680.530487
56-0.001386-0.01060.50423
57-0.02442-0.18760.574074
58NANANA
59NANANA
 
Charts produced by software:
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2007/Dec/17/t1197916963f1lyum3xfcezjcd/1jhgi1197917955.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2007/Dec/17/t1197916963f1lyum3xfcezjcd/1jhgi1197917955.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2007/Dec/17/t1197916963f1lyum3xfcezjcd/206no1197917955.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2007/Dec/17/t1197916963f1lyum3xfcezjcd/206no1197917955.ps (open in new window)


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