Home » date » 2010 » Dec » 19 »

*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, 19 Dec 2010 16:55:52 +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/19/t1292777629h6pijgf8rvfpmm8.htm/, Retrieved Sun, 19 Dec 2010 17:53:49 +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/19/t1292777629h6pijgf8rvfpmm8.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 «
14.36 14.62 13.51 14.95 16.72 16.33 15.21 16.69 15.81 16.02 16.7 15.99 17.68 18.89 18.72 21.14 20.97 23.75 23.05 23.45 21.74 19.37 21.1 21.2 22.67 22.24 23.78 23.27 25.74 26.1 27.49 31.41 28.79 26.76 26.41 27.05 29.43 32.1 36.84 34.22 36.53 40.99 45.97 43.6 47.84 51.47 51.31 48.47 48.28 46.56 43.83 51.17 49.59 49.11 49.97 50.07 53.3 57.08 68.54 71.62 67.64 64.79 80.97 88.42 110.22 99 95.95 107.94 97.82 111.64 114.73 117.58 99.19 90.19 59.74 44.51 23.94 21.29 20.77 25.07 32.95 40.05 44.59 40.28 41.19 38.14 41.85 43.76 50.16 52.94 47.69 51.52 58.69 50.44 45.72 43.24 51.49 50.43 58.73 65.12 64.13
 
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'RServer@AstonUniversity' @ vre.aston.ac.uk


Autocorrelation Function
Time lag kACF(k)T-STATP-value
10.9576759.62450
20.8975899.02070
30.8175328.21610
40.7384897.42170
50.6606576.63950
60.5920075.94960
70.5257725.28390
80.4598614.62156e-06
90.3965373.98516.4e-05
100.3375413.39220.000495
110.2905672.92020.002157
120.2409862.42190.008612
130.2080762.09110.019512
140.1815751.82480.035493
150.1676541.68490.047548
160.1610631.61870.05432
170.1582131.590.057478
180.157111.57890.058739
190.1498331.50580.06762
200.1397181.40410.081671
210.1299871.30640.0972
220.122411.23020.110738
230.1137781.14350.127777
240.1093451.09890.137212
250.1098991.10450.136006
260.1011681.01670.155856
270.0893460.89790.185684
280.065080.6540.257285
290.0362110.36390.358342
30-0.003826-0.03850.484701
31-0.038287-0.38480.350605
32-0.064222-0.64540.260059
33-0.084829-0.85250.197972
34-0.109255-1.0980.137409
35-0.131342-1.320.094915
36-0.154055-1.54820.062348
37-0.17894-1.79830.037556
38-0.193992-1.94960.026999
39-0.203685-2.0470.021627
40-0.209126-2.10170.019034
41-0.218574-2.19660.015166
42-0.23088-2.32030.011167
43-0.240967-2.42170.008616
44-0.248386-2.49630.007085
45-0.252727-2.53990.006306
46-0.25549-2.56760.005852
47-0.256018-2.57290.005769
48-0.260504-2.6180.005102
49-0.263397-2.64710.00471
50-0.265644-2.66970.004424
51-0.267326-2.68660.004221
52-0.268146-2.69480.004125
53-0.270734-2.72080.003835
54-0.273101-2.74460.003585
55-0.279884-2.81280.002951
56-0.287934-2.89370.002332
57-0.293751-2.95220.001962
58-0.296364-2.97840.001814
59-0.295453-2.96930.001864
60-0.289219-2.90660.002246


Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
10.9576759.62450
2-0.235965-2.37140.009808
3-0.241857-2.43060.008418
40.0534160.53680.296286
50.0022090.02220.491166
60.0382670.38460.35068
7-0.058933-0.59230.277496
8-0.087708-0.88150.190082
90.0038010.03820.484801
100.0169070.16990.432708
110.0920580.92520.178541
12-0.15043-1.51180.066853
130.1457461.46470.07305
140.0374220.37610.353822
150.0402460.40450.343363
160.0436570.43870.330891
17-0.061277-0.61580.269698
180.019770.19870.421454
19-0.081364-0.81770.207728
20-0.011862-0.11920.452674
210.0514620.51720.303077
22-0.016508-0.16590.434283
230.0074850.07520.470095
240.0018590.01870.492565
250.1027071.03220.152225
26-0.173057-1.73920.042523
27-0.008299-0.08340.466847
28-0.091354-0.91810.180378
29-0.045478-0.4570.324309
30-0.06071-0.61010.271574
310.0502670.50520.307268
320.0967820.97270.166525
33-0.070819-0.71170.239139
34-0.123554-1.24170.108612
350.0344530.34620.36494
36-0.027059-0.27190.393112
370.0079380.07980.468286
380.0478160.48050.315939
390.0175730.17660.430086
40-0.103536-1.04050.150291
41-0.069095-0.69440.244514
42-0.082004-0.82410.205903
430.027320.27460.392105
440.0408310.41030.341211
450.0160090.16090.43625
46-0.04779-0.48030.316033
470.0165620.16640.43407
48-0.044764-0.44990.326884
49-0.014817-0.14890.440962
50-0.034718-0.34890.363942
51-0.029167-0.29310.385015
520.022540.22650.410625
53-0.016837-0.16920.432985
54-0.054141-0.54410.293783
55-0.011185-0.11240.455362
56-0.048224-0.48460.314489
570.0318770.32040.37468
58-0.016335-0.16420.434966
590.0736780.74050.230371
60-0.021005-0.21110.416617
 
Charts produced by software:
http://www.freestatistics.org/blog/date/2010/Dec/19/t1292777629h6pijgf8rvfpmm8/1678t1292777749.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/19/t1292777629h6pijgf8rvfpmm8/1678t1292777749.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/19/t1292777629h6pijgf8rvfpmm8/2678t1292777749.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/19/t1292777629h6pijgf8rvfpmm8/2678t1292777749.ps (open in new window)


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