Home » date » 2010 » Dec » 16 »

*The author of this computation has been verified*
R Software Module: /rwasp_autocorrelation.wasp (opens new window with default values)
Title produced by software: (Partial) Autocorrelation Function
Date of computation: Thu, 16 Dec 2010 14:11:45 +0000
 
Cite this page as follows:
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL http://www.freestatistics.org/blog/date/2010/Dec/16/t1292508754nuogl9d5wwkky8l.htm/, Retrieved Thu, 16 Dec 2010 15:12:36 +0100
 
BibTeX entries for LaTeX users:
@Manual{KEY,
    author = {{YOUR NAME}},
    publisher = {Office for Research Development and Education},
    title = {Statistical Computations at FreeStatistics.org, URL http://www.freestatistics.org/blog/date/2010/Dec/16/t1292508754nuogl9d5wwkky8l.htm/},
    year = {2010},
}
@Manual{R,
    title = {R: A Language and Environment for Statistical Computing},
    author = {{R Development Core Team}},
    organization = {R Foundation for Statistical Computing},
    address = {Vienna, Austria},
    year = {2010},
    note = {{ISBN} 3-900051-07-0},
    url = {http://www.R-project.org},
}
 
Original text written by user:
 
IsPrivate?
No (this computation is public)
 
User-defined keywords:
 
Dataseries X:
» Textbox « » Textfile « » CSV «
2260 2498 2695 2799 2947 2930 2318 2540 2570 2669 2450 2842 3440 2678 2981 2260 2844 2546 2456 2295 2379 2479 2057 2280 2351 2276 2548 2311 2201 2725 2408 2139 1898 2539 2069 2063 2565 2442 2194 2798 2074 2628 2289 2154 2466 2137 1846 2072 1786 1754 2226 1947 1823 2521 2072 2368 2164 2095 1834 1856 2017
 
Output produced by software:


Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time2 seconds
R Server'George Udny Yule' @ 72.249.76.132


Autocorrelation Function
Time lag kACF(k)T-STATP-value
1-0.537085-4.16025.1e-05
20.0588930.45620.324952
30.1139670.88280.190437
4-0.08852-0.68570.24778
5-0.030892-0.23930.40585
60.001110.00860.496586
7-0.064673-0.5010.309117
80.0270420.20950.417397
90.1040890.80630.211635
10-0.070937-0.54950.292359
11-0.056153-0.4350.332576
120.1179260.91340.182331
13-0.08062-0.62450.26734
140.0483540.37460.354658
15-0.011161-0.08650.465698
16-0.058451-0.45280.326179
170.1165050.90240.185216
18-0.028831-0.22330.41202
19-0.075465-0.58450.280522
20-0.03046-0.23590.407141
210.0763470.59140.278242
22-0.040651-0.31490.376973
23-0.094707-0.73360.233027
240.0810990.62820.266131
250.100170.77590.220424
26-0.138378-1.07190.144035
270.1529541.18480.120389
28-0.071041-0.55030.292085
290.0037460.0290.488475
300.0157290.12180.451718
31-0.079773-0.61790.269482
320.0943270.73070.233918
33-0.060371-0.46760.320872
340.0417270.32320.373828
35-0.053309-0.41290.340565
360.0243290.18850.425579
370.0250650.19420.423357
38-0.084581-0.65520.257433
390.1237990.95890.170718
40-0.119752-0.92760.178666
410.0972450.75330.22712
42-0.036204-0.28040.390055
430.0338010.26180.397178
44-0.038608-0.29910.382965
45-0.005815-0.0450.48211
460.0278990.21610.414819
47-0.104577-0.810.210556
480.068390.52970.299122
49-0.004856-0.03760.485061
50-0.002755-0.02130.491522
510.0146240.11330.455095
520.0329140.25490.399818
53-0.007087-0.05490.478203
54-0.01499-0.11610.453976
55-0.011458-0.08880.464788
56-0.005175-0.04010.48408
57-0.005129-0.03970.48422
580.0051770.04010.484073
590.0052380.04060.483887
60NANANA


Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
1-0.537085-4.16025.1e-05
2-0.322634-2.49910.007603
3-0.027419-0.21240.416262
4-0.001776-0.01380.494534
5-0.085976-0.6660.253993
6-0.138342-1.07160.144097
7-0.21178-1.64040.053073
8-0.172826-1.33870.092858
90.0638050.49420.311473
100.092810.71890.237495
11-0.105033-0.81360.209551
12-0.078698-0.60960.272217
13-0.078657-0.60930.272321
140.048440.37520.354413
150.0803750.62260.26796
16-0.037213-0.28830.387074
170.0284350.22030.413209
180.0699570.54190.294952
190.0079780.06180.475464
20-0.149841-1.16070.125188
21-0.101869-0.78910.216589
22-0.018564-0.14380.443072
23-0.147623-1.14350.12869
24-0.160344-1.2420.109531
250.085780.66440.254475
26-0.053713-0.41610.339427
270.0340220.26350.396522
280.0541170.41920.338286
290.0473950.36710.357412
30-0.004874-0.03780.485004
31-0.103166-0.79910.213686
320.1197410.92750.178689
330.1010710.78290.218384
340.0584810.4530.326095
35-0.060725-0.47040.319897
36-0.080804-0.62590.266876
370.0362930.28110.389791
38-0.043098-0.33380.369834
390.0358370.27760.39114
40-0.042544-0.32950.371447
41-0.024474-0.18960.425142
42-0.129413-1.00240.160081
430.030370.23520.407409
440.0643550.49850.309979
45-0.010243-0.07930.468513
46-0.064382-0.49870.309908
47-0.113105-0.87610.192234
48-0.000204-0.00160.499371
49-0.01468-0.11370.454922
500.0360860.27950.390404
510.017650.13670.445858
520.0352130.27280.392988
530.0145360.11260.455363
54-0.027752-0.2150.415262
55-0.003401-0.02630.489535
56-0.00131-0.01010.49597
57-0.063456-0.49150.312424
58-0.054521-0.42230.337152
59-0.004238-0.03280.486962
60NANANA
 
Charts produced by software:
http://www.freestatistics.org/blog/date/2010/Dec/16/t1292508754nuogl9d5wwkky8l/1ujgq1292508702.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/16/t1292508754nuogl9d5wwkky8l/1ujgq1292508702.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/16/t1292508754nuogl9d5wwkky8l/2ujgq1292508702.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/16/t1292508754nuogl9d5wwkky8l/2ujgq1292508702.ps (open in new window)


 
Parameters (Session):
par1 = 60 ; par2 = 1 ; par3 = 1 ; par4 = 0 ; par5 = 12 ; par6 = White Noise ; par7 = 0.95 ;
 
Parameters (R input):
par1 = 60 ; par2 = 1 ; par3 = 1 ; par4 = 0 ; par5 = 12 ; par6 = White Noise ; par7 = 0.95 ;
 
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 (par6 == 'White Noise') par6 <- 'white' else par6 <- 'ma'
par7 <- as.numeric(par7)
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='time lag', ylab='ACF', ci.type=par6, ci=par7, sub=paste('(lambda=',par2,', d=',par3,', D=',par4,', CI=', par7, ', CI type=',par6,')',sep=''))
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 2:(par1+1)) {
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(abs(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,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(abs(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:

  • personalize online software applications according to your needs
  • enforce strict security rules with respect to the data that you upload (e.g. statistical data)
  • manage user sessions of online applications
  • alert you about important changes or upgrades in resources or applications

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