Home » date » 2008 » Dec » 20 »

PaperACF2Geoffrey

*Unverified author*
R Software Module: rwasp_autocorrelation.wasp (opens new window with default values)
Title produced by software: (Partial) Autocorrelation Function
Date of computation: Sat, 20 Dec 2008 07:59:43 -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/20/t1229785394bqgmc322b9bdukv.htm/, Retrieved Sat, 20 Dec 2008 16:03:14 +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/20/t1229785394bqgmc322b9bdukv.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 «
127.84 132.43 134.13 134.78 133.13 129.08 134.48 132.86 134.08 134.54 134.51 135.97 136.09 139.14 135.63 136.55 138.83 138.84 135.37 132.22 134.75 135.98 136.06 138.05 139.59 140.58 139.81 140.77 140.96 143.59 142.7 145.11 146.7 148.53 148.99 149.65 151.11 154.82 156.56 157.6 155.24 160.68 163.22 164.55 166.76 159.05 159.82 164.95 162.89 163.55 158.68 157.97 156.59 161.56 162.31 166.26 168.45 163.63 153.2 133.52 123.28
 
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.4208073.25960.00092
20.1604491.24280.109383
3-0.062848-0.48680.31408
4-0.137973-1.06870.144736
50.0042940.03330.486787
6-0.070888-0.54910.292488
70.0293060.2270.410597
80.0373140.2890.386777
90.1268030.98220.164969
100.0739240.57260.284522
11-0.024161-0.18720.426087
120.0052930.0410.483715
13-0.024695-0.19130.424473
140.1765551.36760.088271
150.0370960.28730.387421
16-0.085224-0.66010.255844
17-0.10959-0.84890.199662
18-0.086856-0.67280.251834
19-0.020624-0.15980.436805
20-0.011351-0.08790.465116
21-0.057303-0.44390.329367
22-0.08036-0.62250.267997
23-0.067307-0.52140.302018
24-0.032165-0.24910.40205
25-0.049883-0.38640.350288
26-0.003587-0.02780.488964
27-0.056589-0.43830.331359
28-0.062126-0.48120.316054
29-0.057946-0.44880.327579
30-0.02848-0.22060.413074
310.0523530.40550.343266
32-0.009502-0.07360.470785
330.0060740.0470.481315
34-0.05678-0.43980.330824
35-0.03161-0.24480.403704
36-0.035738-0.27680.391432
37-0.089107-0.69020.246358
38-0.013447-0.10420.458696
39-0.080816-0.6260.266845
400.1390541.07710.142873
410.1280290.99170.162661
42-0.018763-0.14530.442466
43-0.023895-0.18510.426893
44-0.069062-0.5350.297331
450.0614750.47620.317837
46-0.015607-0.12090.452091
47-0.023712-0.18370.427444
48-0.056265-0.43580.332262
49-0.044419-0.34410.365999
50-0.023097-0.17890.429306
51-0.051652-0.40010.345255
520.0035450.02750.489091
53-0.029784-0.23070.409164
540.0567470.43960.330918
550.0645550.50.309438
56-0.037979-0.29420.384815
57-0.088688-0.6870.247373
58-0.107322-0.83130.204547
59-0.046472-0.360.360067
60NANANA


Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
10.4208073.25960.00092
2-0.020208-0.15650.438069
3-0.149804-1.16040.125246
4-0.06867-0.53190.298374
50.1410521.09260.139472
6-0.141232-1.0940.139169
70.0785540.60850.272585
80.0255920.19820.421765
90.1236210.95760.171062
10-0.074608-0.57790.282744
11-0.032266-0.24990.401747
120.0594320.46040.323462
130.0034310.02660.489444
140.1962791.52040.066835
15-0.145246-1.12510.13252
16-0.116556-0.90280.185111
17-0.001821-0.01410.494395
180.0588760.45610.324999
19-0.095355-0.73860.231509
200.0432280.33480.369456
21-0.104507-0.80950.21071
22-0.041406-0.32070.374765
23-0.067599-0.52360.301235
240.0416890.32290.373939
25-0.033997-0.26330.396596
260.0423750.32820.371938
27-0.092494-0.71650.238246
28-0.087658-0.6790.249875
290.0027050.0210.491675
300.1144980.88690.189337
310.0687120.53220.298263
32-0.135718-1.05130.148677
330.0394970.30590.380354
34-0.092953-0.720.237157
350.0831610.64420.260962
36-0.040902-0.31680.376238
37-0.019509-0.15110.440195
38-0.029556-0.22890.409846
39-0.077949-0.60380.27413
400.1941031.50350.068976
410.0275230.21320.415949
42-0.14964-1.15910.125502
430.0285470.22110.412872
440.0131440.10180.459622
45-0.009471-0.07340.470882
46-0.032548-0.25210.400908
470.0204050.15810.437472
48-0.034165-0.26460.396095
49-0.073071-0.5660.286751
50-0.095506-0.73980.231158
510.070220.54390.294256
520.0241310.18690.426177
530.0031180.02420.490406
54-0.044861-0.34750.364719
55-0.072658-0.56280.287832
560.0082160.06360.474734
57-0.023361-0.1810.428507
58-0.009415-0.07290.471053
59-0.03806-0.29480.384578
60NANANA
 
Charts produced by software:
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/20/t1229785394bqgmc322b9bdukv/15qd41229785178.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/20/t1229785394bqgmc322b9bdukv/15qd41229785178.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/20/t1229785394bqgmc322b9bdukv/22bpb1229785178.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/20/t1229785394bqgmc322b9bdukv/22bpb1229785178.ps (open in new window)


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