Home » date » 2008 » Dec » 17 »

autocorrelation function paper d=0,D=1

*Unverified author*
R Software Module: rwasp_autocorrelation.wasp (opens new window with default values)
Title produced by software: (Partial) Autocorrelation Function
Date of computation: Wed, 17 Dec 2008 05:28:16 -0700
 
Cite this page as follows:
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL http://www.freestatistics.org/blog/date/2008/Dec/17/t122951706864y9zrmmls0nw6g.htm/, Retrieved Wed, 17 Dec 2008 13:31:12 +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/2008/Dec/17/t122951706864y9zrmmls0nw6g.htm/},
    year = {2008},
}
@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 = {2008},
    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 «
12.5 14.8 15.9 14.8 12.9 14.3 14.2 15.9 15.3 15.5 15.1 15 12.1 15.8 16.9 15.1 13.7 14.8 14.7 16 15.4 15 15.5 15.1 11.7 16.3 16.7 15 14.9 14.6 15.3 17.9 16.4 15.4 17.9 15.9 13.9 17.8 17.9 17.4 16.7 16 16.6 19.1 17.8 17.2 18.6 16.3 15.1 19.2 17.7 19.1 18 17.5 17.8 21.1 17.2 19.4 19.8 17.6 16.2 19.5 19.9 20 17.3 18.9 18.6 21.4 18.6 19.8 20.8 19.6 17.7 19.8 22.2 20.7 17.9 21.2 21.4 21.7 23.2 21.5 22.9 23.2 18.6
 
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.0920020.78610.217187
20.2783592.37830.010006
30.5343434.56541e-05
40.1095580.93610.176164
50.1595721.36340.088476
60.3327982.84340.002893
7-0.078036-0.66670.25352
80.1078220.92120.179983
90.1986411.69720.04696
10-0.092172-0.78750.216763
11-0.033537-0.28650.387639
120.0446640.38160.351931
13-0.144822-1.23740.109959
14-0.055549-0.47460.318241
15-0.021719-0.18560.42665
16-0.256374-2.19050.015843
170.0099180.08470.46635
18-0.021188-0.1810.428421
19-0.182929-1.5630.061195
20-0.004592-0.03920.484405
210.0407320.3480.364417
22-0.210831-1.80130.037889
230.1929251.64840.051789
24-0.192902-1.64820.051809
25-0.043037-0.36770.357077
260.0940010.80310.212249
27-0.101553-0.86770.19421
28-0.066159-0.56530.286815
290.0917630.7840.217782
30-0.133304-1.13890.129224
310.000310.00260.498948
320.0383330.32750.372108
33-0.153055-1.30770.097539
340.0149610.12780.44932
350.0997890.85260.198335
36-0.067766-0.5790.282189
370.0694520.59340.277375
380.1283411.09650.138222
390.0092660.07920.468557
400.1345731.14980.126991
410.1183211.01090.157694
420.0360770.30820.379388
430.1342481.1470.12756
440.1878261.60480.05643
45-0.067251-0.57460.283667
460.1736781.48390.071069
470.0160880.13750.445526
48-0.051075-0.43640.331924
490.1143610.97710.165873
50-0.090548-0.77360.220821
51-0.119958-1.02490.154393
520.0434060.37090.355908
53-0.153879-1.31470.096356
54-0.161354-1.37860.086113
55-0.056166-0.47990.316373
56-0.191226-1.63380.053299
57-0.156866-1.34030.092158
58-0.098344-0.84030.201755
59-0.209694-1.79160.038669
60-0.126055-1.0770.142509


Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
10.0920020.78610.217187
20.2721992.32570.011409
30.5344494.56631e-05
40.0557070.4760.317761
5-0.157485-1.34560.091306
60.0187430.16010.436606
7-0.208088-1.77790.039792
8-0.048932-0.41810.338559
90.1348761.15240.126462
100.0574970.49130.312359
11-0.167858-1.43420.077896
12-0.164619-1.40650.081909
13-0.050108-0.42810.334911
140.0414440.35410.362145
150.089840.76760.222603
16-0.134442-1.14870.127221
170.0554070.47340.318671
180.0891980.76210.224226
190.0133580.11410.454725
20-0.029147-0.2490.402018
210.0970620.82930.20482
22-0.145794-1.24570.108436
230.1499361.28110.102115
24-0.267107-2.28220.012698
250.0709730.60640.273068
260.0114880.09820.46104
270.0058530.050.480126
28-0.032973-0.28170.389476
29-0.009443-0.08070.467957
30-0.033368-0.28510.388188
31-0.032031-0.27370.392554
320.0001210.0010.499589
33-0.018191-0.15540.438458
340.0985760.84220.201204
350.1318581.12660.131802
360.0890030.76040.22472
370.0687680.58760.279322
38-0.048189-0.41170.340872
390.0462070.39480.347074
40-0.065652-0.56090.288282
410.0240.20510.419048
420.0397120.33930.36768
430.0396550.33880.367862
44-0.008043-0.06870.472701
45-0.118299-1.01070.157739
46-0.119588-1.02180.155134
47-0.036896-0.31520.376738
48-0.111469-0.95240.172021
490.134251.1470.127557
50-0.028558-0.2440.403957
51-0.001168-0.010.496031
52-0.096304-0.82280.206645
530.0014830.01270.494964
54-0.036096-0.30840.379326
55-0.006302-0.05380.478603
56-0.000702-0.0060.497615
57-0.04322-0.36930.356496
58-0.076338-0.65220.258151
59-0.022581-0.19290.423773
600.0437430.37370.354841
 
Charts produced by software:
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/17/t122951706864y9zrmmls0nw6g/1g01a1229516894.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/17/t122951706864y9zrmmls0nw6g/1g01a1229516894.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/17/t122951706864y9zrmmls0nw6g/2j1pu1229516894.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/17/t122951706864y9zrmmls0nw6g/2j1pu1229516894.ps (open in new window)


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