Home » date » 2010 » Dec » 28 »

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: Tue, 28 Dec 2010 16:30:36 +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/28/t1293553741vq9aihhbjcmnqcw.htm/, Retrieved Tue, 28 Dec 2010 17:29:01 +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/28/t1293553741vq9aihhbjcmnqcw.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 «
36845 35338 35022 34777 26887 23970 22780 17351 21382 24561 17409 11514 31514 27071 29462 26105 22397 23843 21705 18089 20764 25316 17704 15548 28029 29383 36438 32034 22679 24319 18004 17537 20366 22782 19169 13807 29743 25591 29096 26482 22405 27044 17970 18730 19684 19785 18479 10698 31956 29506 34506 27165 26736 23691 18157 17328 18205 20995 17382 9367 31124 26551 30651 25859 25100 25778 20418 18688 20424 24776 19814 12738 31566 30111 30019 31934 25826 26835 20205 17789 20520 22518 15572 11509
 
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
1-0.304956-2.77830.003378
2-0.051316-0.46750.320679
30.0117150.10670.457629
4-0.052171-0.47530.317911
50.0849710.77410.22053
6-0.249401-2.27210.012832
70.0633040.57670.282842
8-0.039126-0.35650.361201
90.0066680.06080.475852
10-0.082063-0.74760.228398
11-0.236775-2.15710.016944
120.7334066.68160
13-0.221279-2.01590.02352
14-0.028944-0.26370.396337
150.0183510.16720.433814
16-0.072127-0.65710.256464
170.0980280.89310.187198
18-0.245771-2.23910.013913
190.0762770.69490.244525
20-0.049502-0.4510.32659
21-0.025091-0.22860.409876
22-0.069732-0.63530.263492
23-0.146446-1.33420.092897
240.5698915.1921e-06
25-0.152158-1.38620.084695
26-0.049441-0.45040.326788
270.0248940.22680.410571
28-0.023283-0.21210.416267
290.0623840.56830.285668
30-0.217473-1.98130.025436
310.1151841.04940.148525
32-0.064281-0.58560.279856
33-0.023601-0.2150.415143
34-0.031277-0.28490.388198
35-0.146868-1.3380.09227
360.4240283.86310.000111
37-0.098512-0.89750.186027
38-0.063731-0.58060.281535
390.0198560.18090.428446
400.036190.32970.371228
41-0.027049-0.24640.402979
42-0.09495-0.8650.194757
430.0550760.50180.308579
44-0.061218-0.55770.289266
45-0.01902-0.17330.431426
46-0.031749-0.28920.386556
47-0.097629-0.88940.188167
480.3045152.77430.003416
49-0.04486-0.40870.341907
50-0.073919-0.67340.251271
510.0406860.37070.355913
520.0192090.1750.430753
53-0.048304-0.44010.330516
54-0.014412-0.13130.447926
550.0185270.16880.433186
56-0.026629-0.24260.404457
570.0136640.12450.450617
58-0.06646-0.60550.273256
59-0.066874-0.60930.272011
600.1755021.59890.056821


Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
1-0.304956-2.77830.003378
2-0.159111-1.44960.075473
3-0.062153-0.56620.28638
4-0.086484-0.78790.216497
50.0421740.38420.350896
6-0.250109-2.27860.01263
7-0.11027-1.00460.159003
8-0.139946-1.2750.10294
9-0.081238-0.74010.23066
10-0.202199-1.84210.034514
11-0.452337-4.1214.4e-05
120.5653885.15091e-06
130.1544471.40710.081569
140.028280.25760.398659
150.0035470.03230.48715
16-0.07271-0.66240.25477
17-0.051128-0.46580.321289
18-0.083317-0.75910.224985
190.0037160.03390.486538
20-0.065215-0.59410.277017
21-0.13282-1.21010.114847
22-0.067469-0.61470.270225
230.0482190.43930.330794
240.0918770.8370.202487
250.0745170.67890.24955
26-0.075051-0.68370.24802
27-0.083282-0.75870.225079
280.0576610.52530.30038
29-0.030901-0.28150.389505
30-0.013766-0.12540.45025
310.0748370.68180.248632
32-0.014786-0.13470.446587
330.0232210.21150.416489
340.1276641.16310.124066
35-0.02441-0.22240.412278
36-0.124161-1.13120.130623
37-0.076787-0.69960.243077
38-0.056425-0.51410.30429
39-0.0489-0.44550.328559
400.0872310.79470.214523
41-0.105283-0.95920.170128
420.1210291.10260.136688
43-0.062881-0.57290.284141
44-0.008345-0.0760.469789
45-0.01254-0.11420.454661
46-0.086727-0.79010.215855
47-0.018704-0.17040.432556
48-0.071688-0.65310.257747
490.0511510.4660.321215
500.0443420.4040.343635
510.0442250.40290.344027
52-0.083121-0.75730.225516
53-0.004435-0.04040.483933
54-0.008194-0.07470.470336
55-0.024612-0.22420.411566
560.0352690.32130.374388
570.058640.53420.297303
58-0.00856-0.0780.469013
59-0.059884-0.54560.293413
60-0.080564-0.7340.232516
 
Charts produced by software:
http://www.freestatistics.org/blog/date/2010/Dec/28/t1293553741vq9aihhbjcmnqcw/1r3961293553833.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/28/t1293553741vq9aihhbjcmnqcw/1r3961293553833.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/28/t1293553741vq9aihhbjcmnqcw/2r3961293553833.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/28/t1293553741vq9aihhbjcmnqcw/2r3961293553833.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