Home » date » 2009 » Jun » 05 »

Kristof Nollekens - Autocorrelation - productie baksteen oef2 stap1

*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:02:54 -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/t124421067258andtqkw7fdn9h.htm/, Retrieved Fri, 05 Jun 2009 16:04:32 +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/t124421067258andtqkw7fdn9h.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 time2 seconds
R Server'Sir Ronald Aylmer Fisher' @ 193.190.124.24


Autocorrelation Function
Time lag kACF(k)T-STATP-value
10.5316784.75554e-06
20.2885062.58050.005847
30.3560983.1850.001032
40.1858171.6620.050213
50.1883741.68490.047955
60.2319732.07480.020609
70.1340751.19920.116995
80.0586340.52440.300712
90.1494191.33640.092596
100.0473150.42320.336642
110.2554952.28520.012474
120.5565544.9782e-06
130.2152511.92530.028875
140.0286940.25660.399055
150.0198790.17780.429662
16-0.071033-0.63530.26351
17-0.081258-0.72680.234738
18-0.079017-0.70670.240888
19-0.142097-1.2710.103713
20-0.199689-1.78610.038938
21-0.149355-1.33590.092689
22-0.210493-1.88270.031688
23-0.047201-0.42220.337012
240.1767781.58120.058894
25-0.039135-0.350.363617
26-0.189501-1.69490.046988
27-0.166567-1.48980.070101
28-0.186031-1.66390.050021
29-0.206456-1.84660.034252
30-0.181272-1.62130.054439
31-0.190216-1.70130.046381
32-0.247326-2.21220.014904
33-0.175254-1.56750.06047
34-0.147224-1.31680.09583
35-0.07539-0.67430.251029
360.1083560.96920.167693
370.0025740.0230.490846
38-0.164704-1.47320.072316
39-0.122163-1.09270.138912
40-0.110583-0.98910.162801
41-0.166868-1.49250.069749
42-0.120519-1.0780.142147
43-0.092904-0.8310.204234
44-0.177623-1.58870.058035
45-0.096903-0.86670.194343
46-0.040926-0.36610.357645
47-0.007859-0.07030.472068
480.1584421.41710.080162


Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
10.5316784.75554e-06
20.0081190.07260.471146
30.2783252.48940.007434
4-0.164946-1.47530.072025
50.1898431.6980.046696
6-0.002494-0.02230.491128
70.0126050.11270.455257
8-0.103847-0.92880.177885
90.1759111.57340.059787
10-0.19529-1.74670.042262
110.5538254.95362e-06
120.1766411.57990.059035
13-0.307468-2.75010.003682
14-0.303088-2.71090.004104
15-0.214999-1.9230.029019
160.0546770.4890.313075
17-0.048756-0.43610.331974
18-0.103185-0.92290.179413
190.0154360.13810.445268
20-0.010969-0.09810.461047
210.0458620.41020.341377
22-0.038515-0.34450.36569
23-0.125774-1.1250.131985
240.0240260.21490.415197
25-0.061191-0.54730.292845
26-0.010827-0.09680.461548
270.0719660.64370.260809
28-0.019011-0.170.432702
29-0.004193-0.03750.485087
30-0.011658-0.10430.458606
310.0470420.42080.337531
32-0.068121-0.60930.272028
330.0664160.5940.277081
340.1057830.94620.17346
35-0.137338-1.22840.111452
360.0143340.12820.449152
37-0.020758-0.18570.426587
38-0.06165-0.55140.291444
39-0.006148-0.0550.47814
40-0.106646-0.95390.171511
41-0.021505-0.19230.42398
420.0536150.47950.316429
430.0386240.34550.365328
44-0.037838-0.33840.367963
45-0.063834-0.5710.284816
46-0.028051-0.25090.401271
470.0950570.85020.198871
48-0.015033-0.13450.446689
 
Charts produced by software:
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2009/Jun/05/t124421067258andtqkw7fdn9h/1leme1244210570.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2009/Jun/05/t124421067258andtqkw7fdn9h/1leme1244210570.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2009/Jun/05/t124421067258andtqkw7fdn9h/28cdz1244210570.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2009/Jun/05/t124421067258andtqkw7fdn9h/28cdz1244210570.ps (open in new window)


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