Home » date » 2010 » Dec » 10 »

paper - time-series (2)

*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 14:01:10 +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/t1291989608d4bcve9zz8clc2p.htm/, Retrieved Fri, 10 Dec 2010 15:00:10 +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/t1291989608d4bcve9zz8clc2p.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 time7 seconds
R Server'George Udny Yule' @ 72.249.76.132


Autocorrelation Function
Time lag kACF(k)T-STATP-value
10.8479456.56820
20.6360074.92653e-06
30.5257724.07266.9e-05
40.4739223.6710.000258
50.346652.68510.00468
60.2108291.63310.053845
70.162371.25770.106685
80.1541351.19390.118603
90.055150.42720.335386
10-0.086959-0.67360.251581
11-0.178826-1.38520.085562
12-0.225736-1.74850.042742
13-0.284194-2.20140.015784
14-0.354481-2.74580.003977
15-0.366352-2.83780.003095
16-0.328943-2.5480.006707
17-0.290604-2.2510.01403
18-0.267162-2.06940.02141
19-0.205962-1.59540.057941
20-0.122843-0.95150.172574
21-0.060514-0.46870.320477
22-0.039889-0.3090.379205
23-0.015509-0.12010.45239
240.0242530.18790.425809
250.0757090.58640.27989
260.0879320.68110.249209
270.0968060.74990.228136
280.1329841.03010.153552
290.2135741.65430.051641
300.2676512.07320.021227
310.2625392.03360.02321
320.2138591.65650.051416
330.1800861.39490.084088
340.1400771.0850.141124
350.0814640.6310.265214
360.037720.29220.385578
370.0227510.17620.430353
38-0.008615-0.06670.473509
39-0.081496-0.63130.265132
40-0.156406-1.21150.115224
41-0.199841-1.5480.063446
42-0.222606-1.72430.044902
43-0.251224-1.9460.028173
44-0.270981-2.0990.020016
45-0.266787-2.06650.021551
46-0.248942-1.92830.029277
47-0.242037-1.87480.032844
48-0.24245-1.8780.032621
49-0.220337-1.70670.046522
50-0.16874-1.30710.098091
51-0.12745-0.98720.163748
52-0.099519-0.77090.221905
53-0.075835-0.58740.279565
54-0.042268-0.32740.372249
55-0.009125-0.07070.471944
560.0095430.07390.470659
570.0066590.05160.479518
580.0005530.00430.498297
59-0.004305-0.03330.486754
60NANANA


Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
10.8479456.56820
2-0.2954-2.28820.012833
30.3027552.34510.011173
4-0.034168-0.26470.396088
5-0.297214-2.30220.012405
60.1254640.97180.167516
70.0839890.65060.258902
8-0.08716-0.67510.25109
9-0.244069-1.89050.031758
10-0.02425-0.18780.425818
11-0.103218-0.79950.213571
12-0.110731-0.85770.197231
130.0348810.27020.393972
14-0.08656-0.67050.252558
150.0447560.34670.365024
16-0.008081-0.06260.475149
170.0693540.53720.296553
180.0302010.23390.407917
190.1273180.98620.163998
200.006880.05330.478838
21-0.004682-0.03630.485594
22-0.021692-0.1680.433564
23-0.036621-0.28370.388821
24-0.02869-0.22220.412444
250.0776540.60150.274884
26-0.153926-1.19230.118918
270.0383050.29670.383858
280.060590.46930.320269
290.1883531.4590.074894
300.0026230.02030.491929
31-0.014071-0.1090.456787
32-0.098185-0.76050.224955
33-0.005561-0.04310.482892
34-0.039587-0.30660.380089
350.0125880.09750.461324
360.0639630.49550.311044
37-0.113848-0.88190.190686
38-0.168402-1.30440.098534
39-0.046941-0.36360.358716
40-0.032553-0.25220.400893
410.0018850.01460.494201
420.0508450.39380.347545
430.0582620.45130.326701
44-0.080023-0.61990.268849
450.0330460.2560.399425
460.0297120.23010.409379
470.024090.18660.426303
48-0.078294-0.60650.273248
490.0048350.03740.485126
50-0.057577-0.4460.328606
51-0.060269-0.46680.321152
520.0094720.07340.470879
53-0.062774-0.48620.314281
54-0.055285-0.42820.335007
550.0241920.18740.425993
56-0.050065-0.38780.349769
57-0.017716-0.13720.445654
58-0.031561-0.24450.40385
59-0.039347-0.30480.380795
60NANANA
 
Charts produced by software:
http://www.freestatistics.org/blog/date/2010/Dec/10/t1291989608d4bcve9zz8clc2p/1ebb71291989662.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/10/t1291989608d4bcve9zz8clc2p/1ebb71291989662.ps (open in new window)


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


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