Home » date » 2010 » Dec » 10 »

paper - time-series (3)

*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, 10 Dec 2010 15:30:46 +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/10/t129199494681m8gewcxkw5g7e.htm/, Retrieved Fri, 10 Dec 2010 16:29:06 +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/10/t129199494681m8gewcxkw5g7e.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 «
296.95 296.84 287.54 287.81 283.99 275.79 269.52 278.35 283.43 289.46 282.30 293.55 304.78 300.99 315.29 316.21 331.79 329.38 317.27 317.98 340.28 339.21 336.71 340.11 347.72 328.68 303.05 299.83 320.04 317.94 303.31 308.85 319.19 314.52 312.39 315.77 320.23 309.45 296.54 297.28 301.39 306.68 305.91 314.76 323.34 341.58 330.12 318.16 317.84 325.39 327.56 329.77 333.29 346.10 358.00 344.82 313.30 301.26 306.38 319.31
 
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
10.2170211.6670.05041
2-0.368968-2.83410.003141
3-0.212738-1.63410.053785
40.218041.67480.049634
5-0.007399-0.05680.477434
6-0.309693-2.37880.010312
7-0.108469-0.83320.204055
80.3251622.49760.007656
90.1628251.25070.107994
10-0.191136-1.46810.073689
11-0.121961-0.93680.176339
120.0659170.50630.30726
130.018630.14310.44335
14-0.17827-1.36930.088045
15-0.151515-1.16380.124593
160.0433490.3330.37017
170.0543860.41770.338825
18-0.160074-1.22960.111872
19-0.068362-0.52510.300741
200.1318741.01290.157612
210.1435621.10270.137314
22-0.029695-0.22810.410182
23-0.053784-0.41310.340507
24-0.016273-0.1250.450476
250.09190.70590.241516
26-0.054341-0.41740.338951
27-0.107779-0.82790.205541
28-0.093972-0.72180.23663
290.0913550.70170.242809
300.1531391.17630.122103
310.1602931.23120.111561
32-0.007225-0.05550.477966
330.0070510.05420.478495
340.0338670.26010.397832
35-0.062783-0.48220.315707
36-0.083111-0.63840.262846
370.0307980.23660.406908
380.1057770.81250.209889
390.0045320.03480.486173
40-0.079812-0.6130.2711
41-0.059035-0.45350.325943
420.0050120.03850.48471
43-0.012925-0.09930.460626
44-0.047821-0.36730.357348
45-0.000994-0.00760.496967
460.0232770.17880.429356
47-0.007779-0.05980.476278
48-0.067762-0.52050.302336
49-0.07138-0.54830.292783
500.0353660.27170.393418
510.05840.44860.327689
520.0298540.22930.40971
530.008570.06580.473869
540.0283880.21810.414071
550.0123940.09520.462239
56-0.006181-0.04750.481147
57-0.01858-0.14270.443501
58-0.000921-0.00710.497189
59NANANA
60NANANA


Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
10.2170211.6670.05041
2-0.436631-3.35380.000699
3-0.003816-0.02930.488359
40.1610131.23680.110537
5-0.276406-2.12310.018975
6-0.152775-1.17350.122658
70.0238860.18350.427528
80.1503331.15470.126428
9-0.064082-0.49220.312195
10-0.029175-0.22410.411727
110.0480910.36940.356578
12-0.151977-1.16740.123881
13-0.026531-0.20380.419611
14-0.06443-0.49490.311256
15-0.135155-1.03810.151719
16-0.088297-0.67820.250142
17-0.10939-0.84020.202083
18-0.228204-1.75290.04241
19-0.022548-0.17320.431546
20-0.029697-0.22810.410177
21-0.039354-0.30230.381748
22-0.000911-0.0070.497221
230.0109850.08440.46652
24-0.148519-1.14080.129282
250.0903660.69410.245167
26-0.088554-0.68020.24952
27-0.122584-0.94160.175123
28-0.220999-1.69750.047433
29-0.030347-0.23310.408244
30-0.050747-0.38980.349046
310.0909480.69860.243779
32-0.0392-0.30110.382197
330.01030.07910.468604
340.0077870.05980.476254
35-0.080841-0.6210.268511
360.0783150.60160.274889
370.109630.84210.201571
380.0116040.08910.464639
39-0.06607-0.50750.30685
40-0.031511-0.2420.404795
41-0.096819-0.74370.23001
42-0.147553-1.13340.130821
430.072220.55470.290587
44-0.070754-0.54350.294426
45-0.039285-0.30180.381951
46-0.027397-0.21040.417025
470.038090.29260.385437
48-0.02617-0.2010.420689
490.0605480.46510.321792
500.037090.28490.388362
51-0.038821-0.29820.383303
520.0389660.29930.382879
530.0226130.17370.431351
54-0.076189-0.58520.280317
550.0477550.36680.357535
56-0.060122-0.46180.322961
57-0.015373-0.11810.453202
580.0012190.00940.49628
59NANANA
60NANANA
 
Charts produced by software:
http://www.freestatistics.org/blog/date/2010/Dec/10/t129199494681m8gewcxkw5g7e/1w6hi1291995042.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/10/t129199494681m8gewcxkw5g7e/1w6hi1291995042.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/10/t129199494681m8gewcxkw5g7e/2w6hi1291995042.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/10/t129199494681m8gewcxkw5g7e/2w6hi1291995042.ps (open in new window)


 
Parameters (Session):
par1 = 60 ; par2 = 1 ; par3 = 1 ; par4 = 0 ; par5 = 4 ; par6 = White Noise ; par7 = 0.95 ;
 
Parameters (R input):
par1 = 60 ; par2 = 1 ; par3 = 1 ; par4 = 0 ; par5 = 4 ; 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