Home » date » 2009 » Dec » 16 »

Paper-ACF2-Xt

*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: Wed, 16 Dec 2009 13:41:59 -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/16/t12609961931k208s8qb582qlc.htm/, Retrieved Wed, 16 Dec 2009 21:43:16 +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/16/t12609961931k208s8qb582qlc.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 «
98,8 100,5 110,4 96,4 101,9 106,2 81 94,7 101 109,4 102,3 90,7 96,2 96,1 106 103,1 102 104,7 86 92,1 106,9 112,6 101,7 92 97,4 97 105,4 102,7 98,1 104,5 87,4 89,9 109,8 111,7 98,6 96,9 95,1 97 112,7 102,9 97,4 111,4 87,4 96,8 114,1 110,3 103,9 101,6 94,6 95,9 104,7 102,8 98,1 113,9 80,9 95,7 113,2 105,9 108,8 102,3 99 100,7 115,5 100,7 109,9 114,6 85,4 100,5 114,8 116,5 112,9 102 106 105,3 118,8 106,1 109,3 117,2 92,5 104,2 112,5 122,4 113,3 100 110,7 112,8 109,8 117,3 109,1 115,9 96 99,8 116,8 115,7 99,4 94,3 91
 
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.0677790.62490.266858
20.2701872.4910.007341
30.3302743.0450.001549
4-0.059672-0.55010.291831
50.1896491.74850.041996
60.1046610.96490.16866
7-0.096391-0.88870.18834
80.0372170.34310.366178
9-0.01795-0.16550.434474
10-0.036213-0.33390.369653
11-0.039796-0.36690.357302
12-0.049071-0.45240.326061
13-0.077849-0.71770.237445
140.0082210.07580.469882
15-0.006461-0.05960.47632
16-0.110602-1.01970.155381
170.0280920.2590.398132
18-0.026244-0.2420.404697
19-0.140439-1.29480.099451
200.0673550.6210.268137
21-0.012016-0.11080.456027
22-0.178771-1.64820.051503
230.2000731.84460.034291
24-0.210995-1.94530.027523
25-0.07816-0.72060.236567
260.0933420.86060.195949
27-0.186895-1.72310.044255
28-0.035394-0.32630.372494
29-0.039884-0.36770.357002
30-0.197527-1.82110.036054
31-0.03318-0.30590.380212
32-0.093388-0.8610.195832
33-0.167224-1.54170.063428
34-0.113165-1.04330.149877
35-0.076606-0.70630.240975
36-0.07706-0.71050.239684
370.0739330.68160.248663
380.0224410.20690.418295
390.0154320.14230.4436
400.1105871.01960.155416
410.0843710.77790.219404
420.0205690.18960.425024
430.0601930.5550.290191
440.1274951.17540.121549
45-0.059661-0.550.291864
460.1705851.57270.05975
47-0.038583-0.35570.361466
48-0.130152-1.19990.116749
490.04720.43520.332275
50-0.153788-1.41790.079944
51-0.07514-0.69280.245175
52-0.019438-0.17920.4291
53-0.150147-1.38430.084947
540.0127460.11750.453364
55-0.042333-0.39030.348648
56-0.1147-1.05750.146645
570.022060.20340.419661
58-0.032649-0.3010.382071
59-0.047739-0.44010.33048
600.0585480.53980.295379


Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
10.0677790.62490.266858
20.2668192.460.007961
30.3231472.97930.001883
4-0.165777-1.52840.065065
50.0244390.22530.411138
60.0727190.67040.2522
7-0.10858-1.00110.15982
8-0.10426-0.96120.169581
90.0264130.24350.404095
100.0642550.59240.277576
11-0.087965-0.8110.209815
12-0.046012-0.42420.336242
13-0.012576-0.11590.453986
140.0744030.6860.247302
150.0180860.16670.433984
16-0.126542-1.16670.123305
170.0260990.24060.405216
180.0600510.55360.290638
19-0.149164-1.37520.086338
20-0.000365-0.00340.498663
210.1465641.35130.0901
22-0.162382-1.49710.069037
230.1095841.01030.157605
24-0.147205-1.35720.089161
25-0.060514-0.55790.289185
260.0530880.48940.312892
27-0.00766-0.07060.471932
28-0.116359-1.07280.143203
29-0.050451-0.46510.321511
30-0.033857-0.31210.377847
31-0.050569-0.46620.321125
32-0.043091-0.39730.34608
33-0.078979-0.72820.234261
34-0.083486-0.76970.221805
350.0101380.09350.462877
360.0592810.54650.293062
370.1186931.09430.138459
380.0236740.21830.413872
390.0432280.39850.345616
40-0.014543-0.13410.446827
410.0239630.22090.41284
42-0.027678-0.25520.3996
43-0.114354-1.05430.147369
440.1358831.25280.106861
450.0042640.03930.484365
46-0.037569-0.34640.36496
47-0.074218-0.68430.247836
48-0.110457-1.01840.155697
49-0.09316-0.85890.196409
50-0.040912-0.37720.353487
51-0.020054-0.18490.426877
52-0.053813-0.49610.31054
530.0057360.05290.478976
540.0315670.2910.385867
55-0.023567-0.21730.414258
56-0.093441-0.86150.195698
570.0319210.29430.384625
58-0.025027-0.23070.409036
59-0.05067-0.46720.320791
600.0009710.00890.49644
 
Charts produced by software:
http://www.freestatistics.org/blog/date/2009/Dec/16/t12609961931k208s8qb582qlc/11x7m1260996117.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Dec/16/t12609961931k208s8qb582qlc/11x7m1260996117.ps (open in new window)


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