Home » date » 2007 » Dec » 03 » attachments

output1

R Software Module: rwasp_autocorrelation.wasp (opens new window with default values)
Title produced by software: (Partial) Autocorrelation Function
Date of computation: Mon, 03 Dec 2007 07:07:34 -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/03/t11966903469lo9bvksq8yxb7e.htm/, Retrieved Mon, 03 Dec 2007 14:59:06 +0100
 
User-defined keywords:
 
Dataseries X:
» Textbox « » Textfile « » CSV «
10,31 11,17 12,42 13,24 14,19 14,04 14,47 15,5 15,73 16,39 15,54 14,76 14,89 14,37 15,33 15,75 15,68 16,24 17,27 17,95 18,26 18,74 18,73 19,53 19,87 19,95 20,24 21,42 22,34 22,33 22,87 22,18 21,23 21,58 21,6 21,54 23,19 24,01 24,51 24,16 24,65 24,51 24,32 23,19 23,45 25,15 25,54 25,55 26,04 26,49 25,94 26,31 28,39 26,97 25,28 24,73 23,75 22,1 22,79 23,63 24,54 26,42 27,64 27,67 27,9 28,07 29,34 28,49 29,11 28,52 28,01 27,24 25,22 25 26,47 27,67 28,4 31,66 30,47 31,67 28,96 28,75 30,54 30,03 30,66 29,51 30,11 30,98 30,28 29,5 25,24 23,01 21,82 20,89 21,87 23,01 23,37 24,63 24,33 26,92 25,79 24,78 23,81 24,65 23,69 23,17 23,38 23,48 24,63 25,44 25,02 25,88 25,79 25,89 26,87 27,1 26,8 26,48 24,92 24,34 23,62 23,8 22,83 23,42 23,71 24,47 24,93 24,25 24,89 25,02 25,02 25,31 21,47 20,39 19,92 19,29 19,21 18,62 17,87 17,68 16,51 17,29 17,82 16,91 17,58 18,57 18,94 19,71 18 17,56 18,18 18,51 19,19 18,74 19,11 20,4 21,92 22,88 23,38 25,09 23,88 22,84 24,18 24,66 24,13 24,89 23,8 22,99 22,47 22,08 23,22 23,68 23,65 24,01 24,86 24,2 24,11 23,91 24,86 26 25,83 25,85 26,92 26,75 27,55 27,5 26,89 26,93 25,69 24,28 23,02 21,94 22,5 23,32 24,15 24,84 27 28,5 28,47 28,22 29,05 29,35 29,18 29,61 30,86 30,92 31,43 31,44 31,33 26,92 24,21 24,94 23,24 23,23 23,55 21,65 21,85 23,51 24,04 24,2 25,04 25,51 24,58 25,04 26,13 26,47 27,25 26,64 26,54 28,18 28,23 27,62 28,26 27,15 25,98 24,98 24,88 26,37 27,75 29,48 27,78 27,14 26,61 27,81 28,49 27,6 27,35 28,21 28,97 28,32 28,22 29,2 29,97 29,52 28,84 27,43 27,45 28,8 29,21 30,54 30,92 31,26 31,28 30,02 30,14 31,33 31,42 31,91 33,72 34,99 35,98 35,28 35,09 33,08 32,9 33,05 32,02 34,36 34,99 35,74 36,6 37,64 38,58 40,49 39,67 37,63 37,58 37,78 39,85 41,19 42,2 44,03 44,08 44,72 40,99 38,7 36,18 38,26 37,23 32,75 33,76 36,3 33,29 35,21 38,3 39,7 41,89 40,55 39,59 41,4 44,04 45,15 47,23 48,69 49,6 48,06 50,95 47,2 46,93 48,58 45,8 45,64 43,53 44,25 47,29 49,05 50,16 53,08 53,52 54,35 54,49 52,62 53,59 55,51 58,07 59,61 59,95 62,36 60,22 58,1 59,63 58,83 56,35 54,62 54,04 53,45 53,62 52,73 50,24 50,29 50,28 52,94 54,76 52,64 52,22 56,18 57,89 59,34 60,9 60,65 58,26 55,78 55,76 57,51 57,54 57,75 57,89 59,91 62,17 63,68 66,99 67,59 67,53 66,03 64,63 64,12 65,11 64,81 63,33 63 65,7 68,32 69,12 70,26 68,71 70,23 72,1 68,67 67,48 65,87 63,38 59,77 57,55 56,07 55,73 55,22 55,63 55,45 55 55,8 56 54,73 57,27 59,41 58,1 58,46 57,33 55,06 50,75 48,39 50,17 51,81 54,19 53,74 54,4 57,98 58,3 57,94 57,73 61,7 64,73 64,52 63,99 64,35 64,42 62,55 64,9 67,39 65,88 66,99 66,63 68,51 68,02 70,15 73,73 74,5 73,74 73,83 69,98 68,5 67,52 68,83 71,76 73,84 75,54 76,52 76,18 76,22 80,58 81,62 86,47 86,47
 
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 time3 seconds
R Server'Herman Ole Andreas Wold' @ 193.190.124.10:1001


Autocorrelation Function
Time lag kACF(k)T-STATP-value
0120.95230
10.2512475.26420
20.0476980.99940.159078
30.0782921.64040.05082
4-0.062647-1.31260.904998
5-0.002833-0.05930.52365
6-0.073057-1.53070.936721
7-0.043799-0.91770.82036
80.0352750.73910.23012
9-0.134997-2.82850.997555
10-0.100243-2.10030.981865
11-0.199157-4.17280.999982
12-0.492534-10.31971
13-0.024107-0.50510.693128
140.037080.77690.218812
150.0403260.84490.199304
160.0733241.53630.062592
170.0255330.5350.296471
180.0766151.60530.054578
19-0.041552-0.87060.807777
20-0.042828-0.89730.814987
210.108312.26940.011866
220.0932881.95460.025632
230.0774311.62240.052722
240.0215640.45180.325816
25-0.071812-1.50460.933431
260.0053070.11120.45576
27-0.08028-1.6820.953365
28-0.061991-1.29880.902661
290.0121450.25450.39963
300.0555111.16310.122714
310.1031992.16230.015569
32-0.000618-0.01290.505163
33-0.094767-1.98560.97615
34-0.107878-2.26030.987854
35-0.097267-2.0380.978924
36-0.079211-1.65960.95115
37-0.057134-1.19710.88404
38-0.078149-1.63740.948868
39-0.011558-0.24220.595615
400.0322790.67630.249594
410.0053180.11140.455663
42-0.069352-1.45310.926542
430.0401550.84130.200309
440.1288842.70040.003597
450.1408542.95120.001667
460.1555763.25970.000601
470.1262032.64420.00424


Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
00.2512475.26420
1-0.016466-0.3450.634869
20.0750011.57140.0584
3-0.107245-2.2470.987433
40.0422430.88510.188299
5-0.095929-2.00990.977476
60.0149540.31330.377096
70.0344530.72190.235379
8-0.14978-3.13820.999093
9-0.039555-0.82880.796155
10-0.194478-4.07480.999973
11-0.429236-8.99351
120.2120684.44336e-06
130.0064880.13590.445969
140.072091.51050.065823
15-0.048864-1.02380.846758
160.0209140.43820.330729
17-0.039562-0.82890.796199
18-0.082297-1.72430.957322
190.0138510.29020.385897
20-0.001536-0.03220.512834
210.0472340.98970.161444
22-0.088427-1.85270.967705
23-0.250344-5.24531
240.094261.9750.024449
250.0676541.41750.078521
26-0.027274-0.57150.716011
27-0.04349-0.91120.818661
280.0300720.63010.264488
290.0889291.86330.031545
30-0.018611-0.38990.651618
31-0.029829-0.6250.73385
32-0.067923-1.42310.922297
33-0.067163-1.40720.919965
34-0.101142-2.11920.982681
35-0.257004-5.38481
360.0015460.03240.487088
37-0.019971-0.41840.662083
38-0.080548-1.68770.953906
390.023640.49530.310314
400.0464660.97360.165402
41-0.004003-0.08390.533403
420.0888321.86120.03169
430.0329630.69070.245074
440.0452470.9480.171819
450.0425160.89080.18676
46-0.014292-0.29940.61763
47-0.094746-1.98510.976125
 
Charts produced by software:
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2007/Dec/03/t11966903469lo9bvksq8yxb7e/1gncy1196690849.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2007/Dec/03/t11966903469lo9bvksq8yxb7e/1gncy1196690849.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2007/Dec/03/t11966903469lo9bvksq8yxb7e/20dnc1196690849.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2007/Dec/03/t11966903469lo9bvksq8yxb7e/20dnc1196690849.ps (open in new window)


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