Home » date » 2009 » Dec » 15 »

Paper-ACF3-Yt

*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, 15 Dec 2009 11:09:38 -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/15/t1260900638yusjb4zaqzeq14y.htm/, Retrieved Tue, 15 Dec 2009 19:10:40 +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/15/t1260900638yusjb4zaqzeq14y.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:
SDHW, DSHW
 
Dataseries X:
» Textbox « » Textfile « » CSV «
128 502 629.7 595.9 823.7 498.7 766.9 1611.3 329.7 1378.9 1159.4 790.1 -189.6 862.4 426.6 852 834.7 1026.7 1052.8 1280.9 -243.6 976 908.2 416 610.7 728 520.8 905.8 768.9 479.3 1054.2 1411.9 -131 1526.2 1049.5 550.8 168.5 458.2 297 616.3 762.7 693.1 512.7 1169.2 -915.1 1384.2 1368.9 -275.1 -408.9 -37.5 171.5 671.8 -18.5 231.6 747.5 1505.7 -83.6 1173.2 1452.1 777 -52.8 861.2 735.2 1073.6 966.9 1189.8 1093.5 1782.7 -70.4 1471.6 1273.8 900.8 -910.2 299.8 460.2 677.2 937.1 1265.4 1275.6 1582.6 -154.2 1667.7 1083.1 891.7 -26.5 423.4 662.8 711.4 993.3 1133.2 343.9 1415.8 -531.8 1193.6 1201.3 805.6 -164.8
 
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
10.3819643.52150.000346
20.2974072.7420.003723
30.2504062.30860.011696
40.1199681.1060.135913
50.207141.90970.02977
60.0488070.450.326937
7-0.029494-0.27190.39317
8-0.00631-0.05820.476873
9-0.062261-0.5740.283735
10-0.039446-0.36370.358502
11-0.223491-2.06050.021205
12-0.444959-4.10234.7e-05
13-0.180209-1.66140.050154
14-0.249551-2.30070.011927
15-0.080069-0.73820.231212
16-0.132901-1.22530.111926
17-0.141237-1.30210.098193
18-0.056048-0.51670.303342
19-0.038117-0.35140.363072
20-0.004293-0.03960.484261
21-0.027131-0.25010.401544
220.0385730.35560.361502
230.0469830.43320.332996
240.0399070.36790.356923
250.0153950.14190.443734
26-0.055557-0.51220.304917
27-0.064667-0.59620.276312
280.0460220.42430.336209
29-0.049333-0.45480.325197
300.0362660.33440.369466
31-0.076807-0.70810.240402
32-0.011939-0.11010.456307
33-0.012067-0.11130.455838
34-0.146005-1.34610.090924
35-0.053407-0.49240.311856
36-0.111549-1.02840.153332
37-0.050636-0.46680.320905
380.0606050.55870.288902
39-0.089293-0.82320.206338
40-0.068907-0.63530.263472
410.0116540.10740.457343
42-0.068628-0.63270.264308
430.096980.89410.186895
44-0.008423-0.07770.469143
450.0136120.12550.450215
460.0660880.60930.271974
470.0286210.26390.396258
480.0328470.30280.381376
490.0188140.17350.431351
500.044280.40820.342061
510.0981240.90470.184101
520.0833690.76860.222124
530.0910560.83950.201774
540.0828230.76360.223612
55-0.068725-0.63360.264017
56-0.016956-0.15630.438072
57-0.062425-0.57550.283226
58-0.041605-0.38360.351123
59-0.04389-0.40460.343377
600.0436660.40260.344133


Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
10.3819643.52150.000346
20.1773921.63550.052824
30.1078320.99420.161483
4-0.046221-0.42610.335543
50.1410451.30040.098494
6-0.104186-0.96050.169752
7-0.097417-0.89810.185825
8-0.006654-0.06140.475612
9-0.027216-0.25090.401242
10-0.013252-0.12220.451522
11-0.225646-2.08030.020252
12-0.36782-3.39110.000529
130.1524931.40590.081697
14-0.040202-0.37060.355914
150.1641061.5130.066996
16-0.081329-0.74980.227717
170.0690740.63680.262973
18-0.07555-0.69650.243998
190.034710.320.374872
20-0.019789-0.18240.427834
210.009360.08630.465717
220.0949980.87580.191794
23-0.16004-1.47550.071886
24-0.174095-1.60510.056093
25-0.0324-0.29870.382942
26-0.146269-1.34850.090535
270.0756940.69790.243584
280.0550270.50730.306621
29-0.019164-0.17670.430089
300.0375820.34650.364915
31-0.126918-1.17010.12261
320.0692310.63830.262505
33-0.033357-0.30750.379592
34-0.050825-0.46860.320284
35-0.061886-0.57060.284903
36-0.094929-0.87520.191965
37-0.056796-0.52360.300948
38-0.013529-0.12470.450515
39-0.115145-1.06160.145716
40-0.029227-0.26950.394115
410.0671970.61950.268613
42-0.010181-0.09390.462721
430.0349320.32210.3741
440.0562240.51840.302778
45-0.071346-0.65780.25623
46-0.029036-0.26770.394789
47-0.047278-0.43590.332013
48-0.159699-1.47240.07231
490.0822630.75840.225146
500.023760.21910.413566
51-0.043911-0.40480.343305
52-0.021317-0.19650.422333
530.025650.23650.406813
540.0085110.07850.46882
55-0.108124-0.99690.160832
56-0.030225-0.27870.39059
57-0.056369-0.51970.302314
580.0042510.03920.484414
59-0.082205-0.75790.225306
600.0215730.19890.42141
 
Charts produced by software:
http://www.freestatistics.org/blog/date/2009/Dec/15/t1260900638yusjb4zaqzeq14y/1iw351260900575.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Dec/15/t1260900638yusjb4zaqzeq14y/1iw351260900575.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Dec/15/t1260900638yusjb4zaqzeq14y/2kvyv1260900575.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Dec/15/t1260900638yusjb4zaqzeq14y/2kvyv1260900575.ps (open in new window)


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