Home » date » 2009 » Nov » 26 »

*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: Thu, 26 Nov 2009 03:19:32 -0700
 
Cite this page as follows:
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL http://www.freestatistics.org/blog/date/2009/Nov/26/t1259230831za2qn8hz0zrawl6.htm/, Retrieved Thu, 26 Nov 2009 11:20:33 +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/2009/Nov/26/t1259230831za2qn8hz0zrawl6.htm/},
    year = {2009},
}
@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 = {2009},
    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 «
785.8 819.3 849.4 880.4 900.1 937.2 948.9 952.6 947.3 974.2 1000.8 1032.8 1050.7 1057.3 1075.4 1118.4 1179.8 1227 1257.8 1251.5 1236.3 1170.6 1213.1 1265.5 1300.8 1348.4 1371.9 1403.3 1451.8 1474.2 1438.2 1513.6 1562.2 1546.2 1527.5 1418.7 1448.5 1492.1 1395.4 1403.7 1316.6 1274.5 1264.4 1323.9 1332.1 1250.2 1096.7 1080.8 1039.2 792 746.6 688.8 715.8 672.9 629.5 681.2 755.4 760.6 765.9 836.8 904.9
 
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.3245712.51410.007317
20.139581.08120.141972
30.2332971.80710.037879
40.2486551.92610.029419
50.2387711.84950.034655
6-0.020655-0.160.436711
7-0.011905-0.09220.463416
80.1587331.22950.111835
90.0379020.29360.385043
10-0.150881-1.16870.12357
110.0962740.74570.229369
120.0141680.10970.456488
130.004440.03440.48634
140.0555410.43020.334289
15-0.01043-0.08080.467938
160.0579270.44870.327631
17-0.122494-0.94880.173256
18-0.195882-1.51730.067221
19-0.000556-0.00430.498288
20-0.077906-0.60350.274241
21-0.131977-1.02230.155373
22-0.178449-1.38230.086008
23-0.127103-0.98450.164403
24-0.115911-0.89780.186429
25-0.073005-0.56550.286923
26-0.094817-0.73440.232768
27-0.010736-0.08320.466999
280.080670.62490.267214
29-0.041953-0.3250.373169
30-0.053962-0.4180.338724
31-0.078307-0.60660.273214
32-0.047702-0.36950.356528
33-0.069252-0.53640.296826
34-0.08689-0.6730.25175
35-0.104996-0.81330.209632
36-0.068829-0.53310.297952
37-0.066013-0.51130.305495
38-0.062583-0.48480.314805
39-0.077032-0.59670.276481
40-0.044416-0.3440.366008
41-0.006171-0.04780.481016
42-0.00265-0.02050.491847
43-0.019991-0.15490.438729
44-0.052375-0.40570.343206
45-0.033724-0.26120.397407
46-0.034243-0.26520.395865
47-0.036814-0.28520.388251
48-0.047817-0.37040.356199
49-0.00243-0.01880.492524
500.0123150.09540.46216
510.0139120.10780.457273
52-0.000927-0.00720.497147
530.0149560.11580.45408
540.0337430.26140.39735
550.0297480.23040.409272
560.0166720.12910.44884
570.0196190.1520.43986
580.0199680.15470.4388
590.0103220.080.46827
60NANANA


Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
10.3245712.51410.007317
20.0382640.29640.383977
30.1984771.53740.064727
40.1357441.05150.14863
50.1288390.9980.161148
6-0.200019-1.54930.063279
7-0.038324-0.29690.3838
80.1099380.85160.198918
9-0.058704-0.45470.325475
10-0.17395-1.34740.091457
110.2560681.98350.025947
12-0.119781-0.92780.17861
130.0084960.06580.473874
140.1321791.02390.155008
15-0.018036-0.13970.444681
16-0.096472-0.74730.22891
17-0.13957-1.08110.141989
18-0.108842-0.84310.201263
190.0291940.22610.410932
20-0.070557-0.54650.293364
210.0868080.67240.251951
22-0.154706-1.19830.117747
230.0235880.18270.427821
24-0.1002-0.77610.220356
250.0917530.71070.240008
260.0169840.13160.447887
270.0372340.28840.387012
280.0991550.7680.222735
29-0.030477-0.23610.407091
30-0.163901-1.26960.104569
310.0027590.02140.491509
32-0.071596-0.55460.290622
33-0.038839-0.30080.382285
34-0.018983-0.1470.441796
35-0.00333-0.02580.489752
36-0.033563-0.260.397887
370.0204520.15840.437329
380.0755670.58530.280257
39-0.144446-1.11890.133827
40-0.0215-0.16650.434147
410.0138260.10710.457536
42-0.073287-0.56770.286185
430.01750.13560.446315
44-0.027667-0.21430.415517
450.0082870.06420.474517
46-0.034633-0.26830.394708
47-0.024703-0.19130.424449
48-0.003317-0.02570.489794
490.0221560.17160.432158
500.0779840.60410.274039
510.0100130.07760.469219
52-0.022668-0.17560.430605
53-0.030401-0.23550.407317
54-0.074577-0.57770.282825
550.009820.07610.469809
56-0.064584-0.50030.309359
57-0.035485-0.27490.392181
580.0595440.46120.323153
59-0.013815-0.1070.45757
60NANANA
 
Charts produced by software:
http://www.freestatistics.org/blog/date/2009/Nov/26/t1259230831za2qn8hz0zrawl6/1bqvx1259230771.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/26/t1259230831za2qn8hz0zrawl6/1bqvx1259230771.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Nov/26/t1259230831za2qn8hz0zrawl6/20m9h1259230771.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/26/t1259230831za2qn8hz0zrawl6/20m9h1259230771.ps (open in new window)


 
Parameters (Session):
par1 = 60 ; par2 = 1 ; par3 = 1 ; par4 = 0 ; par5 = 12 ; par6 = White Noise ; par7 = 0.95 ;
 
Parameters (R input):
par1 = 60 ; par2 = 1 ; par3 = 1 ; par4 = 0 ; par5 = 12 ; par6 = White Noise ; par7 = 0.95 ;
 
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 (par6 == 'White Noise') par6 <- 'white' else par6 <- 'ma'
par7 <- as.numeric(par7)
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='time lag', ylab='ACF', ci.type=par6, ci=par7, sub=paste('(lambda=',par2,', d=',par3,', D=',par4,', CI=', par7, ', CI type=',par6,')',sep=''))
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