Home » date » 2010 » Dec » 13 »

*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: Mon, 13 Dec 2010 19:58:53 +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/13/t1292270301uhv6lghwp705wx4.htm/, Retrieved Mon, 13 Dec 2010 20:58:21 +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/13/t1292270301uhv6lghwp705wx4.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 «
76.14 75.93 74.49 74.73 75.56 84.19 79.30 74.70 77.09 74.88 77.56 74.08 68.38 71.63 64.65 69.13 58.10 50.28 46.95 41.76 43.91 41.53 54.04 72.69 99.29 114.57 132.55 131.52 122.77 109.05 101.84 93.75 90.82 89.43 91.27 82.15 76.91 70.13 73.67 68.19 65.10 65.10 60.60 57.58 53.40 61.00 58.13 57.95 61.97 71.81 72.51 68.29 68.61 68.00 60.93 59.71 62.36 56.47
 
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'Sir Ronald Aylmer Fisher' @ 193.190.124.24


Autocorrelation Function
Time lag kACF(k)T-STATP-value
10.9434676.39890
20.8209125.56771e-06
30.6457494.37973.4e-05
40.4517323.06380.001824
50.2513531.70480.047493
60.0631890.42860.335118
7-0.10901-0.73930.231727
8-0.268423-1.82050.037594
9-0.41225-2.7960.003762
10-0.527866-3.58020.000412
11-0.603666-4.09438.5e-05
12-0.636477-4.31684.2e-05
13-0.608917-4.12997.6e-05
14-0.536146-3.63630.000348
15-0.430771-2.92160.002691
16-0.321058-2.17750.017304
17-0.209198-1.41880.081342
18-0.107425-0.72860.234972
19-0.020473-0.13890.445084
200.0439670.29820.383448
210.096970.65770.25701
220.130960.88820.189523
230.1512261.02570.155206
240.1551291.05210.149116
250.1529181.03710.152546
260.1378270.93480.17739
270.1157490.7850.218225
280.0912680.6190.269483
290.0668350.45330.326233
300.0441410.29940.383
310.0185610.12590.450184
320.003030.02060.491846
33-0.009375-0.06360.474788
34-0.013858-0.0940.462762
35-0.016622-0.11270.455366
36-0.014492-0.09830.461065
37-0.012608-0.08550.466112
38-0.0103-0.06990.472305
39-0.008241-0.05590.477836
40-0.00353-0.02390.490501
41-0.001312-0.00890.49647
42-0.001673-0.01130.495498
43-0.000481-0.00330.498707
44-0.000903-0.00610.497569
459.3e-056e-040.499751
46NANANA
47NANANA
48NANANA


Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
10.9434676.39890
2-0.630015-4.2734.8e-05
3-0.336621-2.28310.013547
40.0921540.6250.267523
5-0.103298-0.70060.243539
6-0.051003-0.34590.365491
7-0.121837-0.82630.206438
8-0.279298-1.89430.032242
9-0.123277-0.83610.203709
100.0944040.64030.262583
110.0679750.4610.323475
12-0.072162-0.48940.313434
130.2674461.81390.038109
14-0.125495-0.85110.199548
15-0.175532-1.19050.119975
16-0.145215-0.98490.164913
170.0759560.51520.304455
18-0.022119-0.150.440703
19-0.122916-0.83370.204391
20-0.227605-1.54370.064758
210.0348050.23610.407218
22-0.063718-0.43220.333823
230.0978410.66360.255133
24-0.012553-0.08510.466259
250.1315970.89250.188377
26-0.170431-1.15590.126841
27-0.002936-0.01990.4921
28-0.075202-0.510.306228
29-0.032715-0.22190.412693
300.0148820.10090.460022
31-0.143365-0.97240.167981
32-0.049747-0.33740.368675
33-0.035782-0.24270.404663
340.000760.00520.497954
350.051330.34810.364662
36-0.081318-0.55150.291972
370.1101250.74690.229462
38-0.078339-0.53130.298877
390.0075630.05130.479657
40-0.07404-0.50220.308973
41-0.033125-0.22470.411618
42-0.079184-0.53710.296909
430.001320.0090.496448
44-0.077104-0.52290.30176
450.0570440.38690.350309
46NANANA
47NANANA
48NANANA
 
Charts produced by software:
http://www.freestatistics.org/blog/date/2010/Dec/13/t1292270301uhv6lghwp705wx4/1m5fe1292270329.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/13/t1292270301uhv6lghwp705wx4/1m5fe1292270329.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/13/t1292270301uhv6lghwp705wx4/2m5fe1292270329.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/13/t1292270301uhv6lghwp705wx4/2m5fe1292270329.ps (open in new window)


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