Home » date » 2008 » Dec » 19 »

Paper statistiek_Autocorrelation function (d=1, D=1)_DC

*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: Fri, 19 Dec 2008 02:40:12 -0700
 
Cite this page as follows:
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL http://www.freestatistics.org/blog/date/2008/Dec/19/t1229679735bjutrmvwvehfkgm.htm/, Retrieved Fri, 19 Dec 2008 10:42:15 +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/2008/Dec/19/t1229679735bjutrmvwvehfkgm.htm/},
    year = {2008},
}
@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 = {2008},
    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.1 101.1 111.1 93.3 100 108 70.4 75.4 105.5 112.3 102.5 93.5 86.7 95.2 103.8 97 95.5 101 67.5 64 106.7 100.6 101.2 93.1 84.2 85.8 91.8 92.4 80.3 79.7 62.5 57.1 100.8 100.7 86.2 83.2 71.7 77.5 89.8 80.3 78.7 93.8 57.6 60.6 91 85.3 77.4 77.3 68.3 69.9 81.7 75.1 69.9 84 54.3 60 89.9 77 85.3 77.6 69.2 75.5 85.7 72.2 79.9 85.3 52.2 61.2 82.4 85.4 78.2 70.2 70.2 69.3 77.5 66.1 69 79.2 56.2 63.3 77.8 92 78.1 65.1 71.1 70.9 72 81.9 70.6 72.5 65.1 54.9 80
 
Output produced by software:


Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time4 seconds
R Server'Herman Ole Andreas Wold' @ 193.190.124.10:1001


Autocorrelation Function
Time lag kACF(k)T-STATP-value
1-0.559248-5.00212e-06
2-0.023857-0.21340.415784
30.3510593.140.001184
4-0.404759-3.62030.000257
50.1361461.21770.113453
60.0686180.61370.270566
7-0.136398-1.220.113029
80.0848080.75850.225175
90.0407990.36490.358068
10-0.02417-0.21620.414698
110.0345910.30940.378913
12-0.097611-0.87310.192623
130.0068690.06140.475583
14-0.053652-0.47990.316312
150.1172241.04850.148786
16-0.127852-1.14350.128111
170.0182780.16350.435277
180.2183131.95270.027179
19-0.241188-2.15730.016993
200.0533810.47750.317172
210.2121781.89780.030666
22-0.403316-3.60740.000268
230.3800483.39920.000528
24-0.151444-1.35460.089687
25-0.112046-1.00220.159641
260.2754082.46330.007956
27-0.244937-2.19080.015689
280.1116580.99870.160475
290.0833570.74560.229058
30-0.221346-1.97980.025584
310.1246231.11470.134166
320.0902950.80760.210853
33-0.215207-1.92490.0289
340.1552831.38890.08436
35-0.081742-0.73110.23342
36-0.013519-0.12090.45203
370.0348480.31170.378043
380.0271260.24260.404459
39-0.032888-0.29420.384699
400.0207790.18590.426514
410.0250760.22430.411554
42-0.006098-0.05450.478318
43-0.094541-0.84560.200148
440.1246281.11470.134157
45-0.122814-1.09850.137645
460.0776770.69480.244608
470.1323611.18390.119985
48-0.258309-2.31040.011722
490.2609442.3340.011054
50-0.162175-1.45050.07541
51-0.020131-0.18010.42878
520.1294071.15750.125265
53-0.185173-1.65620.050795
540.1036050.92670.178443
550.0572850.51240.304901
56-0.129703-1.16010.12473
570.135081.20820.115267
58-0.051951-0.46470.321718
59-0.065876-0.58920.27869
600.0768050.6870.247045


Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
1-0.559248-5.00212e-06
2-0.489806-4.3811.8e-05
30.1096150.98040.164916
4-0.153694-1.37470.086534
5-0.193179-1.72780.043937
6-0.187276-1.6750.048915
7-0.071444-0.6390.262318
8-0.099201-0.88730.188794
9-0.012063-0.10790.457175
100.0927070.82920.204729
110.1542361.37950.085788
12-0.077954-0.69720.243835
13-0.179288-1.60360.056372
14-0.306844-2.74450.00374
15-0.004019-0.03590.485707
16-0.174284-1.55880.06149
17-0.317744-2.8420.002843
18-0.052021-0.46530.321495
190.0147180.13160.447798
20-0.237975-2.12850.018186
210.0434860.38890.349174
22-0.129046-1.15420.125923
230.3130062.79960.003205
24-0.031475-0.28150.389518
25-0.014979-0.1340.446877
26-0.015948-0.14260.443466
270.0148950.13320.447175
28-0.162441-1.45290.075079
290.0141660.12670.449745
30-0.134024-1.19870.117083
31-0.077617-0.69420.244777
32-0.01768-0.15810.437375
330.0270260.24170.404804
340.0284280.25430.399971
35-0.045443-0.40650.342747
36-0.188006-1.68160.048275
37-0.067168-0.60080.274845
38-0.07612-0.68080.248969
39-0.113567-1.01580.156399
400.0204380.18280.427707
41-0.020405-0.18250.427822
420.1056940.94540.173663
43-0.102989-0.92120.179869
44-0.079463-0.71070.239656
450.0065530.05860.476705
46-0.065059-0.58190.281134
470.0455550.40750.342381
48-0.06503-0.58160.281219
49-0.017784-0.15910.43701
50-0.245775-2.19830.01541
51-0.050319-0.45010.32694
520.0272620.24380.40399
530.0267760.23950.405667
540.0476490.42620.335559
55-0.01783-0.15950.436847
560.0606580.54250.294476
57-0.014131-0.12640.449868
580.0672990.60190.274458
590.1086740.9720.166988
600.0234460.20970.417215
 
Charts produced by software:
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/19/t1229679735bjutrmvwvehfkgm/1t3zu1229679602.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/19/t1229679735bjutrmvwvehfkgm/1t3zu1229679602.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/19/t1229679735bjutrmvwvehfkgm/21g5p1229679602.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/19/t1229679735bjutrmvwvehfkgm/21g5p1229679602.ps (open in new window)


 
Parameters (Session):
par1 = 60 ; par2 = -0.1 ; par3 = 1 ; par4 = 1 ; par5 = 12 ;
 
Parameters (R input):
par1 = 60 ; par2 = -0.1 ; par3 = 1 ; par4 = 1 ; par5 = 12 ;
 
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 (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='lags',ylab='ACF')
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