Home » date » 2009 » Jun » 05 »

Kristof Nollekens - Autocorrelation - productie baksteen oef2 stap2

*Unverified author*
R Software Module: rwasp_autocorrelation.wasp (opens new window with default values)
Title produced by software: (Partial) Autocorrelation Function
Date of computation: Fri, 05 Jun 2009 08:05:01 -0600
 
Cite this page as follows:
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL http://www.freestatistics.org/blog/date/2009/Jun/05/t1244210762lbqaj7n0coihlxq.htm/, Retrieved Fri, 05 Jun 2009 16:06:04 +0200
 
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/Jun/05/t1244210762lbqaj7n0coihlxq.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 «
155 176 180 181 208 183 185 205 180 196 183 147 128 158 186 165 191 168 171 169 157 175 156 129 89 138 146 151 156 129 146 141 137 155 147 128 92 136 159 131 134 148 146 144 161 140 141 139 94 136 164 141 159 162 154 166 156 147 161 135 98 150 173 144 167 161 156 175 163 159 167 148 119 150 161 136 166 155 140 141
 
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
1-0.242728-2.15740.017006
2-0.328631-2.92090.002274
30.2584062.29680.012141
4-0.196341-1.74510.042426
5-0.035059-0.31160.378078
60.147921.31470.096201
7-0.035225-0.31310.377521
8-0.168027-1.49350.06965
90.2120411.88470.031577
10-0.334756-2.97540.001941
11-0.096713-0.85960.196305
120.6934566.16360
13-0.173242-1.53980.063802
14-0.190244-1.69090.047397
150.0908060.80710.211015
16-0.095171-0.84590.200082
17-0.003117-0.02770.488984
180.0624350.55490.290253
19-0.022765-0.20230.420085
20-0.103482-0.91980.180247
210.1269741.12860.131247
22-0.244327-2.17160.016442
23-0.060943-0.54170.294785
240.4767784.23773e-05
25-0.076108-0.67650.250362
26-0.183504-1.6310.053434
270.0442960.39370.347429
28-0.005026-0.04470.482241
29-0.040269-0.35790.36068
300.026850.23860.405999
310.0381760.33930.367636
32-0.123946-1.10170.136978
330.0470060.41780.338614
34-0.047001-0.41780.338629
35-0.112336-0.99850.160551
360.3066612.72570.00395
370.0647320.57530.283345
38-0.225335-2.00280.024314
390.0298730.26550.395652
400.0716190.63660.263123
41-0.101643-0.90340.184525
420.0127340.11320.455086
430.1061660.94360.174119
44-0.166744-1.4820.071153
450.0334770.29760.383412
460.0271020.24090.405134
47-0.148546-1.32030.095273
480.2566382.2810.01262


Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
1-0.242728-2.15740.017006
2-0.411811-3.66030.000227
30.0586450.52120.301826
4-0.293432-2.60810.005442
5-0.064585-0.5740.283784
6-0.090687-0.8060.211318
70.0280430.24930.401906
8-0.245373-2.18090.016082
90.145441.29270.099942
10-0.59339-5.27421e-06
11-0.169459-1.50620.068004
120.2932562.60650.005465
130.294642.61880.005287
140.1401091.24530.108348
15-0.113671-1.01030.157712
160.0038290.0340.486467
170.0557510.49550.310801
18-0.07837-0.69660.24406
19-0.063363-0.56320.287451
20-0.110768-0.98450.163931
21-0.015866-0.1410.444105
220.0612650.54450.293804
23-0.088796-0.78920.216167
24-0.016222-0.14420.44286
25-0.049909-0.44360.329271
26-0.110853-0.98530.163746
27-0.028167-0.25030.401483
28-0.037727-0.33530.369135
29-0.052898-0.47020.319767
30-0.103492-0.91990.180224
310.040490.35990.359949
32-0.094417-0.83920.201945
33-0.156828-1.39390.083626
340.1059880.9420.174523
35-0.04131-0.36720.357238
36-0.020278-0.18020.428715
370.0018130.01610.493591
38-0.037594-0.33410.369579
390.0424510.37730.353476
40-0.02229-0.19810.421731
41-0.093289-0.82920.204753
42-0.074187-0.65940.255781
43-0.003624-0.03220.487193
440.0077290.06870.472704
45-0.013506-0.120.452376
46-0.141995-1.26210.105317
47-0.046541-0.41370.340119
48-0.069217-0.61520.270092
 
Charts produced by software:
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2009/Jun/05/t1244210762lbqaj7n0coihlxq/1g9w01244210699.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2009/Jun/05/t1244210762lbqaj7n0coihlxq/1g9w01244210699.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2009/Jun/05/t1244210762lbqaj7n0coihlxq/22d7p1244210699.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2009/Jun/05/t1244210762lbqaj7n0coihlxq/22d7p1244210699.ps (open in new window)


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