Home » date » 2010 » Jul » 01 »

autocorrelatie

*Unverified author*
R Software Module: /rwasp_autocorrelation.wasp (opens new window with default values)
Title produced by software: (Partial) Autocorrelation Function
Date of computation: Thu, 01 Jul 2010 14:43:08 +0000
 
Cite this page as follows:
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL http://www.freestatistics.org/blog/date/2010/Jul/01/t1277995424ge3ol6ixg3atnn8.htm/, Retrieved Thu, 01 Jul 2010 16:43:46 +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/2010/Jul/01/t1277995424ge3ol6ixg3atnn8.htm/},
    year = {2010},
}
@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 = {2010},
    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:
Thomas Talboom
 
Dataseries X:
» Textbox « » Textfile « » CSV «
68 67 66 64 84 83 68 58 59 59 60 62 58 58 59 62 87 83 68 58 68 63 65 68 62 69 74 72 94 102 92 81 99 95 92 93 85 92 99 107 125 137 125 115 135 128 120 123 119 128 139 155 164 176 162 155 174 171 162 160 156 163 180 195 203 212 203 184 200 198 195 177 176 180 194 204 206 219 213 196 214 209 213 194 197 211 240 251 254 273 271 245 264 264 262 237 237 251 272 282 278 291 293 271 284 290 288 262 263 275 297 301 296 309 310 292 300 314 310 288
 
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.97498610.68040
20.94507110.35270
30.91928710.07030
40.8964179.81980
50.8758059.5940
60.8537829.35270
70.8313779.10730
80.8102258.87560
90.7893668.64710
100.7698528.43330
110.7570998.29360
120.7455748.16740
130.716617.85010
140.6817067.46770
150.6514617.13640
160.6243966.83990
170.6000486.57320
180.5729486.27630
190.5454545.97520
200.5195645.69150
210.4970025.44440
220.4749195.20250
230.4580725.01791e-06
240.4432284.85532e-06
250.4141334.53667e-06
260.3791294.15313.1e-05
270.3488793.82180.000106
280.3208463.51470.000311
290.2953353.23520.000785
300.2672092.92710.002047
310.2384352.61190.005077
320.2121842.32440.010894
330.192562.10940.018495
340.1731441.89670.030136
350.1581471.73240.042885
360.1448591.58690.057589
370.1214491.33040.092954
380.0927721.01630.155773
390.0691380.75740.225158
400.0489350.53610.296454
410.0306740.3360.368723
420.0109510.120.452356
43-0.010699-0.11720.453448
44-0.029718-0.32550.372668
45-0.041702-0.45680.324312
46-0.054647-0.59860.275276
47-0.067229-0.73650.231445
48-0.079162-0.86720.193788


Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
10.97498610.68040
2-0.111871-1.22550.111397
30.078860.86390.194693
40.0284190.31130.37805
50.0315380.34550.365167
6-0.040982-0.44890.327143
7-0.003871-0.04240.483125
80.0129230.14160.443831
9-0.011534-0.12640.449832
100.0172060.18850.425409
110.1265531.38630.08411
12-0.003613-0.03960.484248
13-0.352986-3.86689e-05
14-0.059323-0.64980.258517
150.0742120.81290.208929
16-0.011195-0.12260.451301
170.0017020.01860.492579
18-0.05088-0.55740.289157
190.0068410.07490.470193
20-0.008619-0.09440.462466
210.0673150.73740.231159
22-0.016788-0.18390.427201
230.0230860.25290.40039
24-0.017661-0.19350.423459
25-0.20027-2.19380.015087
26-0.030631-0.33550.368902
270.0595110.65190.257854
28-0.05177-0.56710.28585
29-0.021087-0.2310.408855
30-0.027824-0.30480.380526
310.014590.15980.436646
32-0.003572-0.03910.484424
330.1034931.13370.129589
34-0.034269-0.37540.354013
350.0082770.09070.463953
36-0.037178-0.40730.342271
37-0.071585-0.78420.217243
38-0.024923-0.2730.392653
390.055550.60850.271998
40-0.008615-0.09440.462487
41-0.031588-0.3460.364965
420.0129980.14240.443507
430.001570.01720.493153
440.0031270.03430.486365
450.0569040.62340.267119
46-0.065227-0.71450.238144
47-0.066058-0.72360.235349
48-0.048472-0.5310.298205
 
Charts produced by software:
http://www.freestatistics.org/blog/date/2010/Jul/01/t1277995424ge3ol6ixg3atnn8/1350q1277995386.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Jul/01/t1277995424ge3ol6ixg3atnn8/1350q1277995386.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Jul/01/t1277995424ge3ol6ixg3atnn8/2wfib1277995386.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Jul/01/t1277995424ge3ol6ixg3atnn8/2wfib1277995386.ps (open in new window)


 
Parameters (Session):
par1 = 0.01 ; par2 = 0.99 ; par3 = 0.1 ;
 
Parameters (R input):
par1 = 48 ; par2 = 1 ; par3 = 0 ; par4 = 0 ; par5 = 12 ; par6 = White Noise ; par7 = 0.95 ;
 
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 (par6 == 'White Noise') par6 <- 'white' else par6 <- 'ma'
par7 <- as.numeric(par7)
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='time lag', ylab='ACF', ci.type=par6, ci=par7, sub=paste('(lambda=',par2,', d=',par3,', D=',par4,', CI=', par7, ', CI type=',par6,')',sep=''))
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