Home » date » 2008 » Dec » 12 »

Autocorrelation function: investeringsgoederen

*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, 12 Dec 2008 04:08: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/12/t1229080614kwv048kakyqvsje.htm/, Retrieved Fri, 12 Dec 2008 12:16:58 +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/12/t1229080614kwv048kakyqvsje.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 «
97,7 101,5 119,6 108,1 117,8 125,5 89,2 92,3 104,6 122,8 96,0 94,6 93,3 101,1 114,2 104,7 113,3 118,2 83,6 73,9 99,5 97,7 103,0 106,3 92,2 101,8 122,8 111,8 106,3 121,5 81,9 85,4 110,9 117,3 106,3 105,5 101,3 105,9 126,3 111,9 108,9 127,2 94,2 85,7 116,2 107,2 110,6 112,0 104,5 112,0 132,8 110,8 128,7 136,8 94,9 88,8 123,2 125,3 122,7 125,7 116,3 118,7 142,0 127,9 131,9 152,3 110,8 99,1 135,0 133,2 131,0 133,9 119,9 136,9 148,9 145,1 142,4 159,6 120,7 109,0 142,0
 
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'George Udny Yule' @ 72.249.76.132


Autocorrelation Function
Time lag kACF(k)T-STATP-value
10.398393.30930.000745
20.4049263.36360.000629
30.321922.67410.004674
40.3048622.53240.006804
50.3118032.590.005849
60.2769522.30050.012223
70.2510992.08580.020349
80.1894231.57350.060093
90.2458052.04180.022498
100.2302961.9130.02995
110.1364561.13350.130466
12-0.156771-1.30220.098582
130.0374960.31150.378193
14-0.020741-0.17230.431857
150.0419840.34870.364171
160.1413551.17420.12218
170.0146310.12150.451812
18-0.004513-0.03750.485102
190.050690.42110.33751
200.0178550.14830.441265
210.0391080.32490.373137
22-0.049165-0.40840.342126
230.0064450.05350.47873
240.1047270.86990.193679
250.0483640.40170.344557
260.1584571.31620.096224
270.0796090.66130.255317
28-0.070794-0.58810.279207
290.013790.11450.454569
300.0261690.21740.414279
31-0.064076-0.53230.29813
32-0.027028-0.22450.41151
33-0.022733-0.18880.425387
34-0.004362-0.03620.485601
35-0.050915-0.42290.33683
36-0.09716-0.80710.2112


Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
10.398393.30930.000745
20.2926612.4310.008829
30.1185870.98510.164019
40.0963860.80060.213044
50.1168180.97040.167627
60.0577810.480.316386
70.0271070.22520.411257
8-0.032458-0.26960.394129
90.0869750.72250.236225
100.05840.48510.314569
11-0.090096-0.74840.228383
12-0.43256-3.59310.000304
130.0659820.54810.292702
140.0464190.38560.350496
150.0616830.51240.305012
160.2175841.80740.03753
17-0.005967-0.04960.480305
18-0.076523-0.63560.263554
190.0766750.63690.263146
20-0.054585-0.45340.325836
210.1070960.88960.188383
22-0.014253-0.11840.45305
23-0.030075-0.24980.401733
24-0.002918-0.02420.490367
25-0.052927-0.43960.330783
260.0619970.5150.304104
270.0734620.61020.27186
28-0.124371-1.03310.152581
29-0.053399-0.44360.329371
300.0055170.04580.481791
31-0.127106-1.05580.147367
32-0.051087-0.42440.336313
330.1257821.04480.149876
34-0.007691-0.06390.474624
35-0.088367-0.7340.232708
36-0.088117-0.7320.233337
 
Charts produced by software:
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/12/t1229080614kwv048kakyqvsje/1f9301229080091.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/12/t1229080614kwv048kakyqvsje/1f9301229080091.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/12/t1229080614kwv048kakyqvsje/2lgwa1229080091.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/12/t1229080614kwv048kakyqvsje/2lgwa1229080091.ps (open in new window)


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