Home » date » 2008 » Dec » 21 »

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: Sun, 21 Dec 2008 12:55:13 -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/21/t12298893529647gbgxdd8236y.htm/, Retrieved Sun, 21 Dec 2008 20:55:54 +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/21/t12298893529647gbgxdd8236y.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 «
90.8 96.4 90 92.1 97.2 95.1 88.5 91 90.5 75 66.3 66 68.4 70.6 83.9 90.1 90.6 87.1 90.8 94.1 99.8 96.8 87 96.3 107.1 115.2 106.1 89.5 91.3 97.6 100.7 104.6 94.7 101.8 102.5 105.3 110.3 109.8 117.3 118.8 131.3 125.9 133.1 147 145.8 164.4 149.8 137.7 151.7 156.8 180 180.4 170.4 191.6 199.5 218.2 217.5 205 194 199.3
 
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.1158570.88990.188563
2-0.168235-1.29220.100657
3-0.164038-1.260.106315
4-0.127117-0.97640.166425
50.2736532.1020.019917
6-0.019664-0.1510.44023
7-0.085968-0.66030.255806
8-0.179091-1.37560.087069
9-0.095539-0.73380.232973
100.2219681.7050.04673
110.0645240.49560.311002
12-0.032336-0.24840.402352
13-0.143043-1.09870.138174
14-0.083325-0.640.262314
150.0643510.49430.311469
16-0.039221-0.30130.382137
170.1271010.97630.166455
18-0.126114-0.96870.168325
190.0797350.61250.271294
200.182051.39840.083621
21-0.052801-0.40560.343262
22-0.010695-0.08220.467402
23-0.184658-1.41840.08067
240.0438190.33660.368814
250.2167741.66510.0506
260.0124890.09590.461951
27-0.115254-0.88530.1898
28-0.127615-0.98020.165488
29-0.007749-0.05950.476369
300.1698261.30450.098572
310.0341550.26240.396982
32-0.069074-0.53060.298855
33-0.181421-1.39350.084345
34-0.083286-0.63970.262412
350.0642310.49340.311793
360.0734010.56380.287512
370.0541430.41590.339502
38-0.0256-0.19660.422395
39-0.010409-0.080.468271
40-0.040337-0.30980.378889
410.0250960.19280.423903
420.0052490.04030.483987
43-0.098257-0.75470.226708
44-0.097411-0.74820.228646
45-0.055193-0.42390.336574
46-0.036191-0.2780.390996
470.0317190.24360.404178
480.0210850.1620.435945
490.0484490.37210.355559
500.0109790.08430.46654
51-0.008963-0.06880.472672
520.0345050.2650.395952
53-0.020978-0.16110.436269
540.0028810.02210.49121
550.0155020.11910.452811
560.0072730.05590.477821
57-0.013174-0.10120.459872
580.0019410.01490.494078
59NANANA
60NANANA


Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
10.1158570.88990.188563
2-0.184129-1.41430.081261
3-0.125508-0.9640.169479
4-0.129987-0.99850.161069
50.2727882.09530.020222
6-0.168612-1.29510.100159
7-0.001852-0.01420.49435
8-0.182485-1.40170.083123
90.0076130.05850.476784
100.0814070.62530.267094
110.0087630.06730.473281
12-0.047227-0.36280.359041
13-0.05355-0.41130.341162
14-0.015566-0.11960.452616
15-0.062272-0.47830.317094
16-0.10578-0.81250.209882
170.158211.21520.114559
18-0.166697-1.28040.102703
190.2526371.94050.028548
200.0130930.10060.460117
21-0.001597-0.01230.495128
22-0.11498-0.88320.190362
23-0.011997-0.09220.463445
240.0110180.08460.46642
250.1969651.51290.06782
26-0.032331-0.24830.402367
27-0.119526-0.91810.181153
280.0659420.50650.307193
29-0.069863-0.53660.296772
300.0451790.3470.364903
31-0.040561-0.31160.37824
320.0471110.36190.359373
33-0.08246-0.63340.264464
34-0.048945-0.3760.354151
35-0.055939-0.42970.334498
36-0.065773-0.50520.307646
370.0861660.66190.255321
380.0823550.63260.264725
39-0.027175-0.20870.417686
40-0.055154-0.42360.336682
41-0.030031-0.23070.409183
42-0.085223-0.65460.25763
43-0.078312-0.60150.274898
44-0.067126-0.51560.304028
45-0.139273-1.06980.144538
460.0083440.06410.474557
47-0.061562-0.47290.319027
480.0195580.15020.440547
49-0.04-0.30720.379869
50-0.038414-0.29510.38449
510.026610.20440.419374
520.0701320.53870.296064
530.0295770.22720.410531
54-0.071979-0.55290.291217
550.0166350.12780.449382
56-0.049509-0.38030.35255
57-0.005628-0.04320.482831
58-0.0134-0.10290.459184
59NANANA
60NANANA
 
Charts produced by software:
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/21/t12298893529647gbgxdd8236y/1qy311229889312.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/21/t12298893529647gbgxdd8236y/1qy311229889312.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/21/t12298893529647gbgxdd8236y/2ox871229889312.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/21/t12298893529647gbgxdd8236y/2ox871229889312.ps (open in new window)


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