Home » date » 2007 » Dec » 14 » attachments

ACF - Serie 1 - D=1 - paper

R Software Module: rwasp_autocorrelation.wasp (opens new window with default values)
Title produced by software: (Partial) Autocorrelation Function
Date of computation: Fri, 14 Dec 2007 03:42:24 -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/14/t1197628080pbxhojcwxcddxna.htm/, Retrieved Fri, 14 Dec 2007 11:28:02 +0100
 
User-defined keywords:
 
Dataseries X:
» Textbox « » Textfile « » CSV «
20972 35681 37034 35645 33379 32747 49585 41745 48564 52518 45594 51442 25094 33702 39120 33842 29896 31481 43895 39477 53726 61465 50104 47460 26451 30306 42598 34485 29027 35489 40357 37532 43899 48572 43901 50556 18387 27534 38030 31917 26414 35306 38271 41454 52408 53536 53152 56421 21538 33625 42625 31295 33795 41227 45382 47206 46235 51378 46865 58608
 
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 time2 seconds
R Server'Gwilym Jenkins' @ 72.249.127.135


Autocorrelation Function
Time lag kACF(k)T-STATP-value
016.92820
10.4792093.32010.000862
20.3510992.43250.009387
30.1745821.20950.116189
40.0724760.50210.308938
50.1557771.07930.142934
60.11910.82520.206684
70.0491160.34030.367562
80.0525040.36380.358818
90.0460470.3190.375547
10-0.185884-1.28780.898012
11-0.334713-2.3190.98765
12-0.435596-3.01790.997967
13-0.362122-2.50890.992229
14-0.203192-1.40780.917176
15-0.090338-0.62590.732821
16-0.209836-1.45380.923743
17-0.069847-0.48390.684677
18-0.047865-0.33160.62919
19-0.103752-0.71880.762131
20-0.045735-0.31690.623638
21-0.153186-1.06130.853069
22-0.054213-0.37560.645564
230.1162610.80550.212258
240.1574391.09080.140409
250.1395820.96710.169182
260.096350.66750.253814
27-0.041642-0.28850.612898
28-0.010271-0.07120.528217
29-0.064939-0.44990.672601
30-0.070301-0.48710.685784
31-0.014658-0.10160.540232
320.0409510.28370.388923
330.0985990.68310.248909
34-0.006323-0.04380.51738
35-0.041724-0.28910.613115
36-0.136338-0.94460.825198
37-0.089943-0.62310.731931
380.0113150.07840.46892
390.0050410.03490.486141
400.0618120.42820.335195
410.0298930.20710.418401
420.0231920.16070.436511
430.0301630.2090.417677
44-0.027567-0.1910.575331
450.007160.04960.48032
46-0.02336-0.16180.563944
470.0056770.03930.484394


Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
00.4792093.32010.000862
10.1576641.09230.140071
2-0.056834-0.39380.652248
3-0.047724-0.33060.628823
40.1725981.19580.118826
50.0149780.10380.458891
6-0.097326-0.67430.74832
70.0323270.2240.411867
80.0620730.43010.334541
9-0.337092-2.33540.988126
10-0.308932-2.14030.981282
11-0.144184-0.99890.838582
120.0226320.15680.438029
130.0251790.17440.431124
140.0975360.67570.251222
15-0.1555-1.07730.856642
160.1931671.33830.093551
170.1549081.07320.144267
18-0.111232-0.77060.777651
19-0.033192-0.230.59045
20-0.106042-0.73470.766946
21-0.11362-0.78720.782478
22-0.036029-0.24960.598025
23-0.011386-0.07890.531273
240.0260770.18070.428694
25-0.03125-0.21650.585246
26-0.166274-1.1520.872482
270.0267830.18560.426785
28-0.027112-0.18780.574103
290.0265410.18390.427441
300.0264170.1830.427774
31-0.07084-0.49080.687095
320.0790620.54780.293199
33-0.071858-0.49780.689568
34-0.037437-0.25940.601771
350.0363450.25180.401133
36-0.057491-0.39830.653916
370.0248070.17190.432133
38-0.048785-0.3380.631579
39-0.046017-0.31880.624376
40-0.050411-0.34930.635789
41-0.029777-0.20630.581287
42-0.023898-0.16560.565404
430.0249950.17320.431624
440.0918840.63660.263709
45-0.100912-0.69910.756081
46-0.050616-0.35070.636317
47NANANA
 
Charts produced by software:
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2007/Dec/14/t1197628080pbxhojcwxcddxna/1qc701197628942.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2007/Dec/14/t1197628080pbxhojcwxcddxna/1qc701197628942.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2007/Dec/14/t1197628080pbxhojcwxcddxna/2pqal1197628942.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2007/Dec/14/t1197628080pbxhojcwxcddxna/2pqal1197628942.ps (open in new window)


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