Home » date » 2010 » Dec » 10 »

paper ACF

*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: Fri, 10 Dec 2010 10:47:04 +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/10/t1291977912pvcd3o4y4w6i3ma.htm/, Retrieved Fri, 10 Dec 2010 11:45:13 +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/10/t1291977912pvcd3o4y4w6i3ma.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 «
1.579 2.146 2.462 3.695 4.831 5.134 6.250 5.760 6.249 2.917 1.741 2.359 1.511 2.059 2.635 2.867 4.403 5.720 4.502 5.749 5.627 2.846 1.762 2.429 1.169 2.154 2.249 2.687 4.359 5.382 4.459 6.398 4.596 3.024 1.887 2.070 1.351 2.218 2.461 3.028 4.784 4.975 4.607 6.249 4.809 3.157 1.910 2.228 1.594 2.467 2.222 3.607 4.685 4.962 5.770 5.480 5.000 3.228 1.993 2.288 1.580 2.111 2.192 3.601 4.665 4.876 5.813 5.589 5.331 3.075 2.002 2.306 1.507 1.992 2.487 3.490 4.647 5.594 5.611 5.788 6.204 3.013 1.931 2.549 1.504 2.090 2.702 2.939 4.500 6.208 6.415 5.657 5.964 3.163 1.997 2.422 1.376 2.202 2.683 3.303 5.202 5.231 4.880 7.998 4.977 3.531 2.025 2.205 1.442 2.238 2.179 3.218 5.139 4.990 4.914 6.084 5.672 3.548 1.793 2.086
 
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'RServer@AstonUniversity' @ vre.aston.ac.uk


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


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
 
Charts produced by software:
http://www.freestatistics.org/blog/date/2010/Dec/10/t1291977912pvcd3o4y4w6i3ma/1kc2g1291978020.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/10/t1291977912pvcd3o4y4w6i3ma/1kc2g1291978020.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/10/t1291977912pvcd3o4y4w6i3ma/2v3j11291978020.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/10/t1291977912pvcd3o4y4w6i3ma/2v3j11291978020.ps (open in new window)


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