Home » date » 2008 » Dec » 21 »

ACF 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: Sun, 21 Dec 2008 04:22:09 -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/t1229858591fdbhkohcx97fqws.htm/, Retrieved Sun, 21 Dec 2008 12:23:13 +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/t1229858591fdbhkohcx97fqws.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 «
1995 1947 1766 1635 1833 1910 1960 1970 2061 2093 2121 2175 2197 2350 2440 2409 2473 2408 2455 2448 2498 2646 2757 2849 2921 2982 3081 3106 3119 3061 3097 3162 3257 3277 3295 3364 3494 3667 3813 3918 3896 3801 3570 3702 3862 3970 4139 4200 4291 4444 4503 4357 4591 4697 4621 4563 4203 4296 4435 4105 4117
 
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.1393851.07970.142304
2-0.107352-0.83150.204482
30.0545350.42240.337113
4-0.125083-0.96890.168245
50.0933330.7230.236259
6-0.069929-0.54170.295027
7-0.199038-1.54170.064197
80.0758620.58760.279495
90.1050520.81370.20951
10-0.144423-1.11870.133865
11-0.124592-0.96510.169188
120.0123860.09590.461944
130.0276970.21450.415427
140.2104251.62990.054176
150.0379270.29380.384968
16-0.048881-0.37860.35315
170.088110.68250.248776
18-0.023826-0.18460.427099
19-0.129358-1.0020.160183
20-0.140034-1.08470.141197
21-0.087199-0.67540.250995
220.0038560.02990.488136
23-0.010033-0.07770.469155
24-0.028066-0.21740.414318
250.0498730.38630.350314
260.0835920.64750.25989
270.0778770.60320.274313
28-0.028841-0.22340.41199
29-0.092713-0.71810.237726
30-0.000134-0.0010.499587
310.0402320.31160.378198
320.033510.25960.398043
33-0.06668-0.51650.303702
34-0.086232-0.6680.253363
35-0.117423-0.90960.183348
36-0.059294-0.45930.323844
37-0.067531-0.52310.301419
38-0.074849-0.57980.282116
390.199611.54620.063661
400.1018760.78910.216572
410.0043770.03390.486534
42-0.025416-0.19690.422297
43-0.139551-1.0810.142021
440.0387270.30.382614
45-0.028722-0.22250.412349
46-0.105265-0.81540.209039
47-0.064775-0.50170.308841
480.0273460.21180.416483
490.0311920.24160.404953
50-0.077422-0.59970.27548
51-0.08408-0.65130.258677
52-0.023438-0.18160.428273
530.1307711.0130.157576
540.1067310.82670.205832
55-0.071719-0.55550.290297
560.0373470.28930.386679
570.0932520.72230.23645
580.0445740.34530.365551
590.0024450.01890.492477
60NANANA


Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
10.1393851.07970.142304
2-0.129292-1.00150.160306
30.0927770.71860.237573
4-0.17021-1.31840.096183
50.175031.35580.090126
6-0.186837-1.44720.076518
7-0.087437-0.67730.250414
80.0562950.43610.332181
90.1052270.81510.209125
10-0.218159-1.68990.048123
11-0.065072-0.5040.308037
120.051240.39690.346425
130.0023310.01810.492826
140.1641651.27160.104209
150.003840.02970.488186
160.0327840.25390.400204
17-0.038328-0.29690.38379
180.0085360.06610.473753
19-0.127165-0.9850.164285
20-0.095609-0.74060.230918
21-0.040656-0.31490.376958
22-0.025432-0.1970.422249
23-0.067927-0.52620.300357
240.0492490.38150.352098
250.098590.76370.224028
260.0035450.02750.489091
270.0704410.54560.293669
28-0.074787-0.57930.282279
29-0.093304-0.72270.236326
30-0.067094-0.51970.302589
310.0277330.21480.41532
320.0308160.23870.406074
33-0.058428-0.45260.326242
34-1.4e-05-1e-040.499957
35-0.146149-1.13210.131056
360.0052660.04080.4838
37-0.0802-0.62120.268402
38-0.010569-0.08190.467512
390.1223710.94790.173497
40-0.033719-0.26120.397423
41-0.033524-0.25970.398001
42-0.099695-0.77220.221503
43-0.042789-0.33140.370732
440.0052350.04060.483893
45-0.073895-0.57240.284598
46-0.044225-0.34260.36656
47-0.113962-0.88270.190449
480.0318270.24650.403055
496e-040.00460.498155
50-0.022908-0.17740.429879
51-0.078391-0.60720.272999
52-0.005118-0.03960.484255
53-0.026522-0.20540.418962
540.0074560.05780.477069
55-0.095823-0.74220.230419
560.0378160.29290.385295
570.0146880.11380.454898
580.0092920.0720.47143
590.051940.40230.344436
60NANANA
 
Charts produced by software:
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/21/t1229858591fdbhkohcx97fqws/1tmtl1229858527.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/21/t1229858591fdbhkohcx97fqws/1tmtl1229858527.ps (open in new window)


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