Home » date » 2007 » Nov » 30 » attachments

Q1 Export

R Software Module: rwasp_autocorrelation.wasp (opens new window with default values)
Title produced by software: (Partial) Autocorrelation Function
Date of computation: Fri, 30 Nov 2007 08:37:45 -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/Nov/30/t1196436505dblu8sz2qsk0yb2.htm/, Retrieved Fri, 30 Nov 2007 16:28:28 +0100
 
User-defined keywords:
 
Dataseries X:
» Textbox « » Textfile « » CSV «
544.5 619.8 777.6 640.4 633.0 722.0 860.1 495.1 692.8 766.7 648.5 640.0 681.6 752.5 1031.7 685.5 887.6 655.4 944.2 626.6 1221.8 939.6 886.6 811.3 774.7 910.6 911.6 697.7 829.8 824.3 885.6 538.9 686.0 878.7 812.7 640.4 773.9 795.9 836.3 876.1 851.7 692.4 877.3 536.8 705.9 951.0 755.7 695.5 744.8 672.1 666.6 760.8 756.0 604.4 883.9 527.9 756.2 812.9 655.6 707.6
 
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.7460
1-0.045544-0.35280.637257
20.1038770.80460.212105
30.124930.96770.168538
40.2518351.95070.027884
50.0266670.20660.418525
60.1572151.21780.114038
70.0629040.48730.313928
80.1493251.15670.125996
9-0.018397-0.14250.55642
10-0.059658-0.46210.677163
11-0.184912-1.43230.921379
120.3413622.64420.005218
13-0.285847-2.21420.984686
14-0.090199-0.69870.756274
15-0.079133-0.6130.728891
160.0243060.18830.425648
17-0.126409-0.97920.834284
18-0.084822-0.6570.743162
19-0.023666-0.18330.572416
20-0.007149-0.05540.521989
21-0.154625-1.19770.882131
22-0.093867-0.72710.765001
23-0.168382-1.30430.90144
240.2129791.64970.052113
25-0.124332-0.96310.830311
26-0.092985-0.72030.762919
27-0.067623-0.52380.698829
280.0362830.2810.389821
29-0.204599-1.58480.940868
30-0.131923-1.02190.844528
310.090520.70120.242955
32-0.03547-0.27470.607774
33-0.143483-1.11140.864589
34-0.005335-0.04130.516412
35-0.194086-1.50340.931007
360.1123730.87040.193766
37-0.112019-0.86770.805491
38-0.076308-0.59110.721655
39-0.060169-0.46610.678573
400.0667670.51720.303468
41-0.073701-0.57090.714896
420.008750.06780.473094
430.1247360.96620.168911
44-0.028364-0.21970.586577
45-0.012332-0.09550.537892
460.0574640.44510.328918
47-0.015928-0.12340.548889
480.1150130.89090.188273
490.013370.10360.458929
500.0125430.09720.461463
510.044990.34850.364345
520.0508330.39380.34758
530.0006330.00490.498052
540.011590.08980.464383
550.0756330.58580.280088
56-0.009502-0.07360.529214
57-0.002853-0.02210.508778
580.027610.21390.415689
590.0091130.07060.471979


Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
0-0.045544-0.35280.637257
10.1020150.79020.216261
20.1355131.04970.149037
30.2616762.02690.02356
40.0396570.30720.379884
50.1079420.83610.203204
60.0143190.11090.456027
70.07230.560.288771
8-0.059678-0.46230.677217
9-0.176226-1.3650.911331
10-0.306517-2.37430.9896
110.2876462.22810.014817
12-0.237049-1.83620.964356
13-0.09829-0.76140.775286
14-0.041884-0.32440.626629
150.0103140.07990.468294
160.1097380.850.199344
17-0.051794-0.40120.65515
180.0937090.72590.235372
190.0044630.03460.486269
20-0.102165-0.79140.784075
21-0.05105-0.39540.653036
22-0.144401-1.11850.866099
230.056280.43590.332222
240.1072210.83050.204765
25-0.112465-0.87120.806429
26-0.043834-0.33950.632303
27-0.033737-0.26130.602632
28-0.194884-1.50960.931798
29-0.100179-0.7760.779598
300.0525610.40710.342678
31-0.02975-0.23040.590735
32-0.012452-0.09650.538259
330.0496260.38440.35102
34-0.118827-0.92040.819482
350.0148590.11510.454375
36-0.033608-0.26030.602247
37-0.012928-0.10010.539715
38-0.070629-0.54710.706828
39-0.061833-0.4790.683145
400.1004550.77810.219778
410.0728040.56390.287449
42-0.011457-0.08870.535211
43-0.070353-0.5450.706098
440.0065780.05090.479767
45-0.041567-0.3220.625706
460.0697420.54020.295523
47-0.13956-1.0810.857995
48-0.038293-0.29660.616107
49-0.078728-0.60980.72786
50-0.024791-0.1920.575815
51-0.018213-0.14110.555859
520.0167720.12990.448533
530.0934050.72350.236088
54-0.023627-0.1830.572299
55-0.02098-0.16250.564274
56-0.029516-0.22860.590034
57-0.045944-0.35590.63841
58-0.036462-0.28240.610707
59NANANA
 
Charts produced by software:
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2007/Nov/30/t1196436505dblu8sz2qsk0yb2/1gzdu1196437063.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2007/Nov/30/t1196436505dblu8sz2qsk0yb2/1gzdu1196437063.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2007/Nov/30/t1196436505dblu8sz2qsk0yb2/241421196437063.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2007/Nov/30/t1196436505dblu8sz2qsk0yb2/241421196437063.ps (open in new window)


 
Parameters:
par1 = 60 ; par2 = 0.0 ; 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 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