Home » date » 2010 » Dec » 05 »

*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: Sun, 05 Dec 2010 13:25:23 +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/05/t1291555531a38l0xhtzk5laix.htm/, Retrieved Sun, 05 Dec 2010 14:25:31 +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/05/t1291555531a38l0xhtzk5laix.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 «
1579 2146 2462 3695 4831 5134 6250 5760 6249 2917 1741 2359 1511 2059 2635 2867 4403 5720 4502 5749 5627 2846 1762 2429 1169 2154 2249 2687 4359 5382 4459 6398 4596 3024 1887 2070 1351 2218 2461 3028 4784 4975 4607 6249 4809 3157 1910 2228 1594 2467 2222 3607 4685 4962 5770 5480 5000 3228 1993 2288 1580 2111 2192 3601 4665 4876 5813 5589 5331 3075 2002 2306 1507 1992 2487 3490 4647 5594 5611 5788 6204 3013 1931 2549 1504 2090 2702 2939 4500 6208 6415 5657 5964 3163 1997 2422 1376 2202 2683 3303 5202 5231 4880 7998 4977 3531 2025 2205 1442 2238 2179 3218 5139 4990 4914 6084 5672 3548 1793 2086
 
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'Sir Ronald Aylmer Fisher' @ 193.190.124.24


Autocorrelation Function
Time lag kACF(k)T-STATP-value
10.7219977.90910
20.3781184.14213.2e-05
30.001470.01610.493589
4-0.427046-4.67814e-06
5-0.715973-7.84310
6-0.798206-8.74390
7-0.71598-7.84320
8-0.385985-4.22832.3e-05
90.0296470.32480.372961
100.3574283.91547.5e-05
110.6785337.4330
120.849019.30040
130.6579967.2080
140.3581143.92297.3e-05
15-0.009708-0.10630.457743
16-0.390924-4.28241.9e-05
17-0.621464-6.80780
18-0.713787-7.81910
19-0.634949-6.95550
20-0.333587-3.65430.000192
210.0025380.02780.488933
220.3116113.41350.000438
230.618446.77470
240.7285957.98140
250.5794976.34810
260.316853.47090.000361
27-0.011895-0.13030.448273
28-0.339402-3.7180.000153
29-0.560649-6.14160
30-0.632975-6.93390
31-0.541916-5.93640
32-0.283434-3.10490.001188
33-0.000692-0.00760.496984
340.2783633.04930.001411
350.5242525.74290
360.6275786.87480
370.5161925.65460
380.2542082.78470.003114
39-0.013812-0.15130.439994
40-0.278256-3.04810.001416
41-0.482412-5.28460
42-0.549872-6.02350
43-0.466124-5.10611e-06
44-0.262502-2.87560.002387
45-0.000387-0.00420.498311
460.251552.75560.003386
470.4376464.79422e-06
480.5390295.90480
490.445694.88232e-06
500.2149422.35460.010084
51-0.009253-0.10140.459717
52-0.23888-2.61680.005009
53-0.42381-4.64264e-06
54-0.466444-5.10961e-06
55-0.398872-4.36941.3e-05
56-0.232515-2.54710.006064
570.0015610.01710.493193
580.2039982.23470.013645
590.3631833.97856e-05
600.4732055.18370


Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
10.7219977.90910
2-0.299049-3.27590.000689
3-0.314878-3.44930.000388
4-0.508132-5.56630
5-0.343824-3.76640.000129
6-0.265166-2.90470.002188
7-0.330766-3.62340.000214
8-0.012209-0.13370.446917
9-0.005084-0.05570.477842
10-0.191771-2.10070.018879
110.1614861.7690.039718
120.3435923.76390.00013
13-0.160301-1.7560.040819
14-0.050542-0.55370.290421
150.0254270.27850.39054
160.1021071.11850.132788
170.1386451.51880.065724
180.0502980.5510.291332
190.0727320.79670.213588
200.0184970.20260.419885
21-0.11584-1.2690.103454
220.0424910.46550.321221
230.1828662.00320.023704
240.0372920.40850.34181
25-0.092168-1.00970.157346
26-0.08763-0.95990.169509
270.0906920.99350.161237
280.0157240.17220.431766
29-0.123171-1.34930.089895
300.1319171.44510.075522
310.0600840.65820.25584
32-0.083436-0.9140.181276
33-0.057407-0.62890.265318
340.0392380.42980.334045
35-0.056313-0.61690.269242
360.0193940.21240.416059
370.051410.56320.287187
38-0.111281-1.2190.112614
390.0341110.37370.354654
400.0274160.30030.382222
410.0041190.04510.482041
42-0.02351-0.25750.398602
43-0.028106-0.30790.379351
44-0.054615-0.59830.275391
450.0310140.33970.367323
460.0844670.92530.178336
47-0.080816-0.88530.188884
48-0.02429-0.26610.395317
49-0.019711-0.21590.414709
50-0.052721-0.57750.282333
510.0063450.06950.472353
520.0617240.67620.250122
53-0.0621-0.68030.248823
54-0.061369-0.67230.251355
550.0154280.1690.433039
56-0.005782-0.06330.474803
57-0.064841-0.71030.239448
58-0.035646-0.39050.348437
59-0.027818-0.30470.380549
600.0472140.51720.302984
 
Charts produced by software:
http://www.freestatistics.org/blog/date/2010/Dec/05/t1291555531a38l0xhtzk5laix/14t2y1291555519.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/05/t1291555531a38l0xhtzk5laix/14t2y1291555519.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/05/t1291555531a38l0xhtzk5laix/24t2y1291555519.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/05/t1291555531a38l0xhtzk5laix/24t2y1291555519.ps (open in new window)


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