Home » date » 2010 » Dec » 24 »

paper

*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, 24 Dec 2010 13:19:31 +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/24/t12931966562rwj3d6rpo1tqdf.htm/, Retrieved Fri, 24 Dec 2010 14:17:38 +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/24/t12931966562rwj3d6rpo1tqdf.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 «
3494,17 3667,03 3813,06 3917,96 3895,51 3801,06 3570,12 3701,61 3862,27 3970,1 4138,52 4199,75 4290,89 4443,91 4502,64 4356,98 4591,27 4696,96 4621,4 4562,84 4202,52 4296,49 4435,23 4105,18 4116,68 3844,49 3720,98 3674,4 3857,62 3801,06 3504,37 3032,6 3047,03 2962,34 2197,82 2014,45 1862,83 1905,41 1810,99 1670,07 1864,44 2052,02 2029,6 2070,83 2293,41 2443,27 2513,17 2466,92 2502,66 2539,91 2482,6 2626,15 2656,32 2446,66 2467,38 2462,32 2504,58 2579,39 2649,24 2636,87
 
Output produced by software:


Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time1 seconds
R Server'Gwilym Jenkins' @ 72.249.127.135


Autocorrelation Function
Time lag kACF(k)T-STATP-value
10.2491631.91390.030247
20.0355880.27340.392767
30.2058751.58140.059572
40.1981411.5220.066682
50.2307851.77270.040721
6-0.016365-0.12570.450196
7-0.046188-0.35480.362012
80.1210920.93010.178049
9-0.015337-0.11780.453311
10-0.176216-1.35350.090523
110.1154260.88660.189445
12-0.069702-0.53540.297195
13-0.116449-0.89450.187355
140.0321330.24680.402952
15-0.073017-0.56090.288509
160.0274860.21110.416759
17-0.205037-1.57490.060311
18-0.232593-1.78660.039571
190.0688510.52890.299445
20-0.131598-1.01080.158113
21-0.234361-1.80020.038474
22-0.219609-1.68680.048457
23-0.16263-1.24920.108265
24-0.136147-1.04580.149968
25-0.091123-0.69990.243362
26-0.162376-1.24720.108619
27-0.043957-0.33760.368416
280.0403460.30990.378864
29-0.012793-0.09830.461028
300.0586650.45060.32696
31-0.072208-0.55460.29062
32-0.041937-0.32210.37425
33-0.001903-0.01460.494193
34-0.002456-0.01890.492507
350.0246420.18930.425262
360.013840.10630.457849


Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
10.2491631.91390.030247
2-0.028248-0.2170.414489
30.2174591.67030.050076
40.1040890.79950.213596
50.188041.44440.076963
6-0.15986-1.22790.112179
7-0.050856-0.39060.348739
80.0459810.35320.362605
9-0.09394-0.72160.236705
10-0.17092-1.31290.097157
110.2541731.95230.027824
12-0.195744-1.50350.069017
13-0.008275-0.06360.474767
140.1026980.78880.216682
15-0.049643-0.38130.35217
16-0.0191-0.14670.441932
17-0.199912-1.53560.064997
18-0.077928-0.59860.275874
190.0635150.48790.313726
20-0.166836-1.28150.102518
210.0092110.07080.471916
22-0.215716-1.65690.05142
230.0009970.00770.496957
24-0.114885-0.88240.190559
250.0803820.61740.269665
26-0.016524-0.12690.449717
27-0.018312-0.14070.44431
280.1236790.950.172995
290.0932470.71620.238333
30-0.138497-1.06380.145873
31-0.015744-0.12090.452078
32-0.131048-1.00660.159119
33-0.073008-0.56080.288535
34-0.046416-0.35650.361358
350.0285670.21940.413539
360.0799330.6140.270796
 
Charts produced by software:
http://www.freestatistics.org/blog/date/2010/Dec/24/t12931966562rwj3d6rpo1tqdf/1uh2s1293196769.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/24/t12931966562rwj3d6rpo1tqdf/1uh2s1293196769.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/24/t12931966562rwj3d6rpo1tqdf/25q1d1293196769.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/24/t12931966562rwj3d6rpo1tqdf/25q1d1293196769.ps (open in new window)


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