Home » date » 2010 » Dec » 19 »

paperwerk_ACF3

*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, 19 Dec 2010 13:03:50 +0000
 
Cite this page as follows:
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL http://www.freestatistics.org/blog/date/2010/Dec/19/t1292763725a0zzqx772fhm98z.htm/, Retrieved Sun, 19 Dec 2010 14:02:08 +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/2010/Dec/19/t1292763725a0zzqx772fhm98z.htm/},
    year = {2010},
}
@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 = {2010},
    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 «
6.7 6.7 6.5 6.3 6.3 6.3 6.5 6.6 6.5 6.3 6.3 6.5 7 7.1 7.3 7.3 7.4 7.4 7.3 7.4 7.5 7.7 7.7 7.7 7.7 7.7 7.8 8 8.1 8.1 8.2 8.2 8.2 8.1 8.1 8.2 8.3 8.3 8.4 8.5 8.5 8.4 8 7.9 8.1 8.5 8.8 8.8 8.6 8.3 8.3 8.3 8.4 8.4 8.5 8.6 8.6 8.6 8.6 8.6 8.5 8.4 8.4 8.4 8.5 8.5 8.6 8.6 8.4 8.2 8 8 8 8 7.9 7.9 7.8 7.8 8 7.8 7.4 7.2 7 7 7.2 7.2 7.2 7 6.9 6.8 6.8 6.8 6.9 7.2 7.2 7.2 7.1 7.2 7.3 7.5 7.6 7.7 7.7 7.7 7.8 8 8.1 8.1 8 8.1 8.2 8.3 8.4 8.4 8.4 8.5 8.5 8.6 8.6 8.5 8.5
 
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'Gwilym Jenkins' @ 72.249.127.135


Autocorrelation Function
Time lag kACF(k)T-STATP-value
1-0.051402-0.53170.298016
2-0.044393-0.45920.323511
3-0.450935-4.66454e-06
4-0.205607-2.12680.017867
50.0233640.24170.404744
60.1098131.13590.129265
70.112151.16010.124298
8-0.023364-0.24170.404744
90.2593462.68270.004231
10-0.100467-1.03920.150518
110.1495331.54680.062435
12-0.42757-4.42281.2e-05
130.0093460.09670.461583
140.0093460.09670.461583
150.1191591.23260.110215
160.0747660.77340.220499
17-0.060748-0.62840.265547
180.0747660.77340.220499
19-0.070093-0.72510.235001
200.1098131.13590.129265
21-0.142523-1.47430.071672
22-0.060748-0.62840.265547
23-0.002336-0.02420.490382
240.1168221.20840.114775
250.0140190.1450.442488
26-0.011682-0.12080.452021
270.0046730.04830.480769
28-0.086449-0.89420.186603
290.0490650.50750.306411
30-0.095794-0.99090.161984
310.0373830.38670.349875
320.1028041.06340.144995
330.0514020.53170.298016
340.112151.16010.124298
35-0.198598-2.05430.021191
36-0.193925-2.0060.023691
37-0.011682-0.12080.452021
380.1471961.52260.065403
390.1214951.25680.105789
400.1238321.28090.101495
41-0.051402-0.53170.298016
42-0.168224-1.74010.042356
430.0140190.1450.442488
44-0.140187-1.45010.074977
450.0771030.79760.213447
460.0046730.04830.480769
470.1308411.35340.089385
480.0981311.01510.15618
49-0.063084-0.65250.257724
50-0.07243-0.74920.227684
51-0.095794-0.99090.161984
520.0514020.53170.298016
53-0.067757-0.70090.242448
540.1331781.37760.085601
55-0.077103-0.79760.213447
560.1004671.03920.150518
57-0.014019-0.1450.442488
580.0070090.07250.471168
59-0.044393-0.45920.323511
60-0.133178-1.37760.085601


Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
1-0.051402-0.53170.298016
2-0.047159-0.48780.313338
3-0.457974-4.73733e-06
4-0.338684-3.50340.000336
5-0.152622-1.57870.058675
6-0.246508-2.54990.006096
7-0.288566-2.98490.001758
8-0.363594-3.7610.000138
90.0977641.01130.157081
10-0.131789-1.36320.087835
110.1825021.88780.03088
12-0.217413-2.24890.013282
130.1026281.06160.145405
140.199262.06120.020856
15-0.028755-0.29740.383352
16-0.070332-0.72750.234249
17-0.065472-0.67720.249857
180.0531780.55010.291706
19-0.112645-1.16520.123262
20-0.149783-1.54940.062124
210.0547650.56650.286123
22-0.232192-2.40180.009019
230.13231.36850.087008
24-0.048378-0.50040.3089
25-0.091961-0.95120.171811
260.0851130.88040.190305
270.0504780.52220.301322
28-0.044252-0.45770.324032
29-0.183484-1.8980.030197
30-0.129832-1.3430.091057
31-0.15932-1.6480.051141
32-0.04498-0.46530.321341
33-0.018689-0.19330.423538
340.0786940.8140.208723
350.0738480.76390.223306
36-0.096844-1.00180.159359
370.0713720.73830.230982
380.0262490.27150.393258
39-0.016515-0.17080.432338
400.0684550.70810.240211
410.0253760.26250.396724
42-0.115786-1.19770.116839
43-0.018688-0.19330.423541
44-0.075894-0.7850.21708
45-0.064886-0.67120.251776
460.0339720.35140.362985
470.0212570.21990.413192
480.0783730.81070.209668
49-0.007341-0.07590.469806
500.0721930.74680.228419
510.0693070.71690.237492
520.0543510.56220.287572
53-0.012551-0.12980.448472
54-0.01531-0.15840.437231
55-0.004617-0.04780.481001
560.0565330.58480.279962
57-0.045782-0.47360.318386
58-0.01142-0.11810.453095
590.0906750.93790.175192
60-0.067161-0.69470.244369
 
Charts produced by software:
http://www.freestatistics.org/blog/date/2010/Dec/19/t1292763725a0zzqx772fhm98z/1723g1292763827.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/19/t1292763725a0zzqx772fhm98z/1723g1292763827.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/19/t1292763725a0zzqx772fhm98z/2zt211292763827.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/19/t1292763725a0zzqx772fhm98z/2zt211292763827.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/19/t1292763725a0zzqx772fhm98z/3zt211292763827.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/19/t1292763725a0zzqx772fhm98z/3zt211292763827.ps (open in new window)


 
Parameters (Session):
par1 = 60 ; par2 = 1 ; par3 = 2 ; par4 = 1 ; par5 = 12 ; par6 = White Noise ; par7 = 0.95 ;
 
Parameters (R input):
par1 = 60 ; par2 = 1 ; par3 = 2 ; par4 = 1 ; 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 (par8 != '') par8 <- as.numeric(par8)
ox <- x
if (par8 == '') {
if (par2 == 0) {
x <- log(x)
} else {
x <- (x ^ par2 - 1) / par2
}
} else {
x <- log(x,base=par8)
}
if (par3 > 0) x <- diff(x,lag=1,difference=par3)
if (par4 > 0) x <- diff(x,lag=par5,difference=par4)
bitmap(file='picts.png')
op <- par(mfrow=c(2,1))
plot(ox,type='l',main='Original Time Series',xlab='time',ylab='value')
if (par8=='') {
mytitle <- paste('Working Time Series (lambda=',par2,', d=',par3,', D=',par4,')',sep='')
mysub <- paste('(lambda=',par2,', d=',par3,', D=',par4,', CI=', par7, ', CI type=',par6,')',sep='')
} else {
mytitle <- paste('Working Time Series (base=',par8,', d=',par3,', D=',par4,')',sep='')
mysub <- paste('(base=',par8,', d=',par3,', D=',par4,', CI=', par7, ', CI type=',par6,')',sep='')
}
plot(x,type='l', main=mytitle,xlab='time',ylab='value')
par(op)
dev.off()
bitmap(file='pic1.png')
racf <- acf(x, par1, main='Autocorrelation', xlab='time lag', ylab='ACF', ci.type=par6, ci=par7, sub=mysub)
dev.off()
bitmap(file='pic2.png')
rpacf <- pacf(x,par1,main='Partial Autocorrelation',xlab='lags',ylab='PACF',sub=mysub)
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