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 03:26:30 -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/t1229077825ugr5dvajtjaf671.htm/, Retrieved Fri, 12 Dec 2008 11:30:25 +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/t1229077825ugr5dvajtjaf671.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 time6 seconds
R Server'Herman Ole Andreas Wold' @ 193.190.124.10:1001


Autocorrelation Function
Time lag kACF(k)T-STATP-value
10.4778064.30032.4e-05
20.2218131.99630.024629
30.4350293.91539.4e-05
40.2771462.49430.007327
50.299232.69310.004301
60.4936884.44321.4e-05
70.2712272.4410.008412
80.1920421.72840.043865
90.3053482.74810.003693
100.1057390.95160.172054
110.3085712.77710.003406
120.6607615.94680
130.2612072.35090.010581
140.0293390.2640.396206
150.2266832.04020.022297
160.0623920.56150.287993
170.0833860.75050.227571
180.2728892.4560.008094
190.063140.56830.285716
200.0037340.03360.486637
210.0888550.79970.213114
22-0.099442-0.8950.186725
230.0629030.56610.286436
240.3816993.43530.000468
250.0502560.45230.326129
26-0.142632-1.28370.101456
270.0369740.33280.370085
28-0.099955-0.89960.185502
29-0.096408-0.86770.194069
300.0624160.56170.287921
31-0.094277-0.84850.199331
32-0.134526-1.21070.11476
33-0.076891-0.6920.245452
34-0.209432-1.88490.031516
35-0.078436-0.70590.24113
360.1686991.51830.066417


Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
10.4778064.30032.4e-05
2-0.008404-0.07560.469948
30.430473.87420.000108
4-0.146097-1.31490.096132
50.3469473.12250.001243
60.1562961.40670.081676
7-0.071782-0.6460.26004
80.0556630.5010.308875
9-0.037018-0.33320.369935
10-0.168836-1.51950.066262
110.4335293.90189.8e-05
120.352013.16810.001082
13-0.278446-2.5060.007106
14-0.251056-2.25950.013269
15-0.091868-0.82680.205387
16-0.181263-1.63140.053347
170.0321870.28970.3864
18-0.057075-0.51370.304439
190.032120.28910.386628
200.0672150.60490.273455
21-0.027408-0.24670.402892
22-0.090562-0.81510.208716
23-0.035423-0.31880.375346
240.0938860.8450.200307
25-0.011766-0.10590.457965
26-0.033224-0.2990.382846
27-0.008846-0.07960.468372
28-0.01244-0.1120.455566
29-0.050064-0.45060.32675
30-0.137712-1.23940.109387
310.032970.29670.383717
320.0188960.17010.432691
33-0.011206-0.10090.459957
340.120551.08490.140582
35-0.073873-0.66490.254015
36-0.028883-0.260.397781
 
Charts produced by software:
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/12/t1229077825ugr5dvajtjaf671/1w69s1229077579.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/12/t1229077825ugr5dvajtjaf671/1w69s1229077579.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/12/t1229077825ugr5dvajtjaf671/20vry1229077579.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/12/t1229077825ugr5dvajtjaf671/20vry1229077579.ps (open in new window)


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