Home » date » 2009 » Dec » 27 »

acf wlh

*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, 27 Dec 2009 07:14:34 -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/Dec/27/t1261923299amqkgtyzczghvio.htm/, Retrieved Sun, 27 Dec 2009 15:15: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/2009/Dec/27/t1261923299amqkgtyzczghvio.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 «
612613 611324 594167 595454 590865 589379 584428 573100 567456 569028 620735 628884 628232 612117 595404 597141 593408 590072 579799 574205 572775 572942 619567 625809 619916 587625 565742 557274 560576 548854 531673 525919 511038 498662 555362 564591 541657 527070 509846 514258 516922 507561 492622 490243 469357 477580 528379 533590 517945 506174 501866 516141 528222 532638 536322 536535 523597 536214 586570 596594
 
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.2460371.88980.031847
2-0.216194-1.66060.051048
3-0.257927-1.98120.026119
4-0.18458-1.41780.080757
50.0878860.67510.251135
60.2242361.72240.045119
70.0923450.70930.240461
8-0.211912-1.62770.054456
9-0.263779-2.02610.02364
10-0.224745-1.72630.044764
110.2365841.81720.03713
120.7324135.62580
130.1237220.95030.172912
14-0.209993-1.6130.056042
15-0.233581-1.79420.038955
16-0.182797-1.40410.082767
170.0402780.30940.379062
180.1340481.02960.153691
190.0338040.25970.398017
20-0.228407-1.75440.042275
21-0.250498-1.92410.029584
22-0.178329-1.36980.087975
230.1854881.42480.079747
240.5021193.85680.000143
250.0531350.40810.342325
26-0.178613-1.37190.087637
27-0.161132-1.23770.11037
28-0.117075-0.89930.186082
290.0330510.25390.400238
300.0815950.62670.266622
310.0182610.14030.444464
32-0.190902-1.46630.073932
33-0.176362-1.35470.090345
34-0.079512-0.61070.271859
350.1189640.91380.182276
360.2909622.23490.014611
370.040630.31210.378038
38-0.078995-0.60680.273166
39-0.087993-0.67590.250878
40-0.034343-0.26380.396429
410.0286360.220.413331
420.0536970.41250.34075
430.0161940.12440.450715
44-0.088365-0.67870.249977
45-0.069091-0.53070.298809
46-0.03104-0.23840.40619
470.0558190.42880.334832
480.1402231.07710.142915
490.0222850.17120.432337
50-0.028245-0.2170.414496
51-0.037049-0.28460.388481
52-0.018955-0.14560.442367
53-0.009775-0.07510.470201
540.0001189e-040.499639
55-0.008439-0.06480.474269
56-0.042217-0.32430.373437
57-0.011167-0.08580.465966
58-0.000519-0.0040.498416
59NANANA
60NANANA


Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
10.2460371.88980.031847
2-0.294559-2.26260.01368
3-0.135899-1.04390.150404
4-0.158697-1.2190.113853
50.0967610.74320.230145
60.0840220.64540.260591
7-0.000123-9e-040.499626
8-0.202615-1.55630.062491
9-0.100167-0.76940.222363
10-0.224318-1.7230.045061
110.2745992.10920.019589
120.604264.64141e-05
13-0.230423-1.76990.040954
140.0396840.30480.38079
150.0019340.01490.494098
16-0.092157-0.70790.240906
17-0.085421-0.65610.257144
18-0.191617-1.47180.073189
19-0.04701-0.36110.359662
20-0.054952-0.42210.337244
21-0.030447-0.23390.407947
220.0319330.24530.403546
23-0.127514-0.97950.165677
24-0.037536-0.28830.387056
250.0127950.09830.461022
26-0.061888-0.47540.318138
270.068810.52850.299553
280.003030.02330.490755
29-0.006928-0.05320.478871
30-0.013982-0.10740.45742
310.0025680.01970.492165
320.0063840.0490.480528
330.005870.04510.482095
340.0309470.23770.406465
35-0.136025-1.04480.150182
36-0.134833-1.03570.152292
370.0959780.73720.231955
380.0281330.21610.414829
39-0.08471-0.65070.258894
400.0661520.50810.306631
41-0.031924-0.24520.403571
420.0545020.41860.338502
43-0.013285-0.1020.459534
440.1161080.89180.188051
450.0105850.08130.467736
46-0.079115-0.60770.27286
470.0767750.58970.278816
48-0.051691-0.3970.346383
49-0.081386-0.62510.267145
500.0066030.05070.479862
51-0.077926-0.59860.275878
52-0.077669-0.59660.276533
53-0.029547-0.2270.410621
54-0.03405-0.26150.397293
55-0.044393-0.3410.367161
56-0.086862-0.66720.253624
570.0423640.32540.373013
580.0318970.2450.403651
59NANANA
60NANANA
 
Charts produced by software:
http://www.freestatistics.org/blog/date/2009/Dec/27/t1261923299amqkgtyzczghvio/1wdki1261923271.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Dec/27/t1261923299amqkgtyzczghvio/1wdki1261923271.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Dec/27/t1261923299amqkgtyzczghvio/2a06i1261923271.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Dec/27/t1261923299amqkgtyzczghvio/2a06i1261923271.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