Home » date » 2008 » Dec » 19 »

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, 19 Dec 2008 10:24:24 -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/19/t1229707508ynx0j6og5vrxby0.htm/, Retrieved Fri, 19 Dec 2008 18:25:10 +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/19/t1229707508ynx0j6og5vrxby0.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'George Udny Yule' @ 72.249.76.132


Autocorrelation Function
Time lag kACF(k)T-STATP-value
10.0510250.39190.348262
2-0.144024-1.10630.136551
3-0.151793-1.16590.124164
4-0.178163-1.36850.088173
50.4094043.14470.001302
60.0281750.21640.414705
7-0.131468-1.00980.158351
8-0.150366-1.1550.126377
9-0.126241-0.96970.168083
100.2535411.94750.02812
110.1027410.78920.216587
12-0.007892-0.06060.475933
13-0.117915-0.90570.184384
14-0.040691-0.31260.37786
150.0769010.59070.278492
16-0.056368-0.4330.333307
170.0751750.57740.282924
18-0.147822-1.13540.130391
190.0739740.56820.286025
200.1952521.49980.069505
21-0.059219-0.45490.325437
22-0.048203-0.37030.35626
23-0.205524-1.57870.059881
240.0340670.26170.397241
250.2223221.70770.046476
260.0172010.13210.44767
27-0.130041-0.99890.16097
28-0.157022-1.20610.116295
29-0.015181-0.11660.453785
300.2041991.56850.061058
310.0679590.5220.301812
32-0.071564-0.54970.292301
33-0.185592-1.42560.079632
34-0.089597-0.68820.24701
350.0740960.56910.28571
360.066980.51450.304417
370.0256260.19680.422315
38-0.03544-0.27220.393201
39-0.011737-0.09020.464235
40-0.024553-0.18860.42553
410.0244980.18820.425694
42-0.010364-0.07960.46841
43-0.10165-0.78080.219024
44-0.106008-0.81430.209384
45-0.064642-0.49650.310684
46-0.045821-0.3520.363061
470.0192920.14820.441352
480.0132970.10210.459497
490.042740.32830.371926
500.0068070.05230.47924
51-0.006922-0.05320.478889
520.0389790.29940.382842
53-0.029777-0.22870.409938
540.0052550.04040.483971
550.0244040.18750.425975
560.0110480.08490.466328
57-0.016085-0.12360.451045
580.0027260.02090.491682
59NANANA
60NANANA


Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
10.0510250.39190.348262
2-0.14701-1.12920.131691
3-0.139226-1.06940.144619
4-0.193621-1.48720.071139
50.4094363.14490.001301
6-0.114633-0.88050.191077
7-0.077594-0.5960.276725
8-0.109252-0.83920.202378
90.0358140.27510.392102
100.0537790.41310.340522
110.0344270.26440.39618
120.0424760.32630.372688
13-0.035023-0.2690.394428
140.1001780.76950.222338
15-0.089067-0.68410.248283
16-0.135638-1.04190.150865
170.10940.84030.202061
18-0.107067-0.82240.207081
190.1569651.20570.116378
200.1189750.91390.182255
21-0.00236-0.01810.4928
22-0.186635-1.43360.078487
23-0.054868-0.42140.33748
240.0194610.14950.440841
250.0741540.56960.285561
260.0556580.42750.335281
27-0.135589-1.04150.150951
280.067670.51980.30258
29-0.060857-0.46740.32095
300.0245710.18870.425474
31-0.119446-0.91750.181313
320.1072890.82410.2066
33-0.070844-0.54420.29419
34-0.061803-0.47470.318371
35-0.029953-0.23010.409415
36-0.06185-0.47510.318243
370.0410740.31550.376751
380.0778780.59820.276
390.0419880.32250.3741
40-0.121172-0.93070.17789
410.0417320.32060.374842
42-0.072815-0.55930.289036
43-0.133706-1.0270.154303
44-0.120432-0.92510.179352
45-0.101888-0.78260.218491
46-0.033841-0.25990.397908
470.0225710.17340.431476
480.0711560.54660.293371
49-0.049219-0.37810.353373
50-0.053821-0.41340.340403
510.0139640.10730.457474
520.0535720.41150.341101
530.0511490.39290.34791
54-0.021644-0.16630.434264
550.0597480.45890.323984
56-0.00311-0.02390.490513
57-0.019329-0.14850.441239
58-0.052922-0.40650.342923
59NANANA
60NANANA
 
Charts produced by software:
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/19/t1229707508ynx0j6og5vrxby0/1zurv1229707462.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/19/t1229707508ynx0j6og5vrxby0/1zurv1229707462.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/19/t1229707508ynx0j6og5vrxby0/2bzaj1229707462.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/19/t1229707508ynx0j6og5vrxby0/2bzaj1229707462.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