Home » date » 2008 » Dec » 19 »

4.2.2 D1

*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 07:00:41 -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/t1229695319tud7dzyperxsyfd.htm/, Retrieved Fri, 19 Dec 2008 15:02:01 +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/t1229695319tud7dzyperxsyfd.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 «
90.7 94.3 104.6 111.1 110 107.2 99 99 91 96.2 96.9 96.2 100.1 99 115.4 106.9 107.1 99.3 99.2 108.3 105.6 99.5 107.4 93.1 88.1 110.7 113.1 99.6 93.6 98.6 99.6 114.3 107.8 101.2 112.5 100.5 93.9 116.2 112 106.4 95.7 96 95.8 103 102.2 98.4 111.4 86.6 91.3 107.9 101.8 104.4 93.4 100.1 98.5 112.9 101.4 107.1 110.8 90.3 95.5 111.4 113 107.5 95.9 106.3 105.2 117.2 106.9 108.2 113 97.2 99.9 108.1 118.1 109.1 93.3 112.1 111.8 112.5 116.3 110.3 117.1 103.4 96.2
 
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.280322.39510.009592
20.2386112.03870.022551
30.1375011.17480.121945
40.0296340.25320.400416
50.0648210.55380.290693
60.1201121.02620.154084
7-0.047589-0.40660.342745
8-0.139196-1.18930.11909
90.0050040.04280.483006
10-0.14357-1.22670.111946
11-0.02946-0.25170.400987
12-0.127631-1.09050.139544
13-0.112416-0.96050.169991
14-0.093099-0.79540.214468
15-0.027671-0.23640.406886
16-0.078267-0.66870.252895
170.0190020.16240.435737
18-0.054569-0.46620.321217
190.0022420.01920.492385
200.0777410.66420.25432
210.0251190.21460.415333
22-0.072514-0.61960.268738
230.0939090.80240.212474
24-0.083045-0.70950.240127
25-0.035256-0.30120.38205
260.1231571.05230.148078
27-0.099839-0.8530.198217
28-0.072505-0.61950.268764
29-0.128159-1.0950.13856
30-0.089534-0.7650.223374
31-0.148579-1.26950.104155
320.0619120.5290.299213
33-0.091757-0.7840.217797
34-0.045971-0.39280.347815
35-0.008235-0.07040.472049
36-0.103647-0.88560.189382
37-0.041211-0.35210.362887
38-0.16112-1.37660.08642
39-0.091194-0.77920.219202
40-0.032555-0.27810.390843
410.0820770.70130.242684
42-0.003012-0.02570.48977
430.083050.70960.240113
44-0.042333-0.36170.359311
450.0176710.1510.440205
460.0766250.65470.257365
470.0089560.07650.469607
480.0151580.12950.448655
490.0479320.40950.341673
50-0.029426-0.25140.401099
51-0.005174-0.04420.482431
520.0613730.52440.300806
53-0.023255-0.19870.421529
54-0.080825-0.69060.246013
550.0353560.30210.381725
56-0.004064-0.03470.486199
570.0023730.02030.491941
580.090770.77550.220263
59-0.047218-0.40340.343904
600.0494930.42290.336816


Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
10.280322.39510.009592
20.1736791.48390.071068
30.0375380.32070.374669
4-0.057386-0.49030.312695
50.0428880.36640.357549
60.1106140.94510.173866
7-0.12626-1.07880.142122
8-0.176532-1.50830.067899
90.109730.93750.175788
10-0.095325-0.81450.209016
110.0087380.07470.470344
12-0.128389-1.0970.138134
13-0.000181-0.00160.499384
140.0062210.05320.478878
150.0040110.03430.486377
16-0.062646-0.53520.297054
170.0763910.65270.258005
18-0.067051-0.57290.284241
190.0524780.44840.327607
200.0347980.29730.383536
210.0016590.01420.494366
22-0.160182-1.36860.087662
230.1597131.36460.088287
24-0.146971-1.25570.10661
25-0.007152-0.06110.475721
260.1028680.87890.191169
27-0.100826-0.86150.195904
28-0.092739-0.79240.215359
29-0.110369-0.9430.174398
300.0324650.27740.391137
31-0.059188-0.50570.307294
320.0519440.44380.329247
33-0.008457-0.07230.471296
34-0.036959-0.31580.376536
350.0160760.13740.445563
36-0.11287-0.96440.169025
37-0.04239-0.36220.359133
38-0.181964-1.55470.062171
39-0.002653-0.02270.49099
400.0631670.53970.295523
410.0675470.57710.282815
42-0.046166-0.39440.347202
430.0074950.0640.474557
44-0.053217-0.45470.325343
450.0365890.31260.377733
46-0.085027-0.72650.234937
47-0.001078-0.00920.496338
480.0172160.14710.441732
49-0.003568-0.03050.487881
50-0.052836-0.45140.326508
51-0.027664-0.23640.406908
52-0.005164-0.04410.482463
53-0.013655-0.11670.453721
54-0.124946-1.06750.144624
550.1058750.90460.184328
56-0.005042-0.04310.482879
570.0446060.38110.352112
58-0.049237-0.42070.337612
59-0.008979-0.07670.46953
60-0.017982-0.15360.439159
 
Charts produced by software:
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/19/t1229695319tud7dzyperxsyfd/1xl7s1229695240.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/19/t1229695319tud7dzyperxsyfd/1xl7s1229695240.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/19/t1229695319tud7dzyperxsyfd/2j1t21229695240.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/19/t1229695319tud7dzyperxsyfd/2j1t21229695240.ps (open in new window)


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