Home » date » 2009 » Dec » 13 »

deel 2 D=1 d=2

*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, 13 Dec 2009 10:13:07 -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/13/t1260724436lwtrcxr1m633jd4.htm/, Retrieved Sun, 13 Dec 2009 18:14: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/2009/Dec/13/t1260724436lwtrcxr1m633jd4.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 «
2350.44 2440.25 2408.64 2472.81 2407.6 2454.62 2448.05 2497.84 2645.64 2756.76 2849.27 2921.44 2981.85 3080.58 3106.22 3119.31 3061.26 3097.31 3161.69 3257.16 3277.01 3295.32 3363.99 3494.17 3667.03 3813.06 3917.96 3895.51 3801.06 3570.12 3701.61 3862.27 3970.1 4138.52 4199.75 4290.89 4443.91 4502.64 4356.98 4591.27 4696.96 4621.4 4562.84 4202.52 4296.49 4435.23 4105.18 4116.68 3844.49 3720.98 3674.4 3857.62 3801.06 3504.37 3032.6 3047.03 2962.34 2197.82 2014.45 1862.83 1905.41 1810.99 1670.07 1864.44 2052.02 2029.6 2070.83 2293.41 2443.27 2513.17
 
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
1-0.395521-2.95980.002253
2-0.157604-1.17940.121612
30.1299690.97260.167467
4-0.222071-1.66180.051068
50.3029592.26710.013631
60.0875540.65520.257513
7-0.343723-2.57220.006393
80.1827761.36780.088424
9-0.008527-0.06380.474673
10-0.106735-0.79870.213911
110.4498233.36620.000691
12-0.423381-3.16830.001242
13-0.107984-0.80810.211232
140.3091872.31370.012188
15-0.106802-0.79920.213766
160.0897170.67140.252369
17-0.086232-0.64530.260684
18-0.184536-1.38090.086392
190.2475221.85230.034629
20-0.053234-0.39840.345938
21-0.013399-0.10030.460243
220.0329410.24650.403096
23-0.067907-0.50820.306665
24-0.066428-0.49710.310531
250.1654811.23830.110377
26-0.103082-0.77140.221857
27-0.024582-0.1840.427355
280.0563120.42140.337539
29-0.071082-0.53190.298439
300.0786230.58840.279329
31-0.05732-0.42890.334806
320.012180.09110.463852
330.0033010.02470.490189
340.0128540.09620.461857
35-0.06707-0.50190.30885
360.0451830.33810.368269
370.0158270.11840.453071
38-0.034248-0.25630.399335
390.0339980.25440.400053
40-0.039839-0.29810.383354
410.0056690.04240.483156
420.0329690.24670.403015
43-0.038048-0.28470.388453
44-0.000883-0.00660.497376
45-0.013688-0.10240.459389
460.0094410.07060.471965
470.0170210.12740.44955
480.0059530.04450.482313
49-0.031488-0.23560.407288
500.0005920.00440.498241
51-0.000392-0.00290.498834
520.0054450.04070.483821
530.0025710.01920.492358
54-0.013864-0.10370.458869
550.0038050.02850.488694
56NANANA
57NANANA
58NANANA
59NANANA
60NANANA


Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
1-0.395521-2.95980.002253
2-0.372279-2.78590.003636
3-0.141495-1.05880.147107
4-0.381156-2.85230.003035
50.0501770.37550.354357
60.2530181.89340.031737
7-0.051333-0.38410.351166
80.0595380.44550.328822
90.0802080.60020.27539
10-0.105744-0.79130.21605
110.4051653.0320.001838
120.0421440.31540.376823
13-0.185766-1.39010.084993
14-0.000524-0.00390.498444
150.1080840.80880.211019
16-0.075905-0.5680.286145
17-0.135085-1.01090.15821
180.01430.1070.457582
19-0.052565-0.39340.347774
20-0.20625-1.54340.06418
210.1367931.02370.155197
22-0.117812-0.88160.190874
230.1911081.43010.079119
240.0032110.0240.490456
25-0.094722-0.70880.240685
26-0.123509-0.92430.179659
270.0063940.04780.481004
280.0623920.46690.321191
29-0.074506-0.55760.289685
30-0.061925-0.46340.322435
31-0.020101-0.15040.440485
32-0.03837-0.28710.387534
330.0651210.48730.313968
34-0.021677-0.16220.435861
350.0393680.29460.384693
36-0.01727-0.12920.448818
37-0.017155-0.12840.449156
380.0037370.0280.488894
390.0024910.01860.492598
400.0555730.41590.339548
410.0467550.34990.363869
42-0.075427-0.56440.287354
43-0.09783-0.73210.233582
44-0.078575-0.5880.279446
45-0.002819-0.02110.491623
46-0.041126-0.30780.379703
47-0.013306-0.09960.460519
48-0.043557-0.3260.372837
49-0.015539-0.11630.453922
500.0421250.31520.376878
51-0.029083-0.21760.414252
520.0090160.06750.473225
53-0.028621-0.21420.415592
540.017020.12740.449554
55-0.039746-0.29740.383619
56NANANA
57NANANA
58NANANA
59NANANA
60NANANA
 
Charts produced by software:
http://www.freestatistics.org/blog/date/2009/Dec/13/t1260724436lwtrcxr1m633jd4/1luab1260724368.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Dec/13/t1260724436lwtrcxr1m633jd4/1luab1260724368.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Dec/13/t1260724436lwtrcxr1m633jd4/2pzco1260724368.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Dec/13/t1260724436lwtrcxr1m633jd4/2pzco1260724368.ps (open in new window)


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