Home » date » 2010 » Aug » 16 »

Autocorrelation Gedifferentieerd

*Unverified author*
R Software Module: /rwasp_autocorrelation.wasp (opens new window with default values)
Title produced by software: (Partial) Autocorrelation Function
Date of computation: Mon, 16 Aug 2010 15:36:59 +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/Aug/16/t1281973728het7lfx8fmrvesl.htm/, Retrieved Mon, 16 Aug 2010 17:48:48 +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/Aug/16/t1281973728het7lfx8fmrvesl.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:
 
Dataseries X:
» Textbox « » Textfile « » CSV «
257 256 255 253 251 250 251 253 254 254 255 257 260 251 255 252 245 239 240 247 251 255 259 260 259 266 261 243 232 225 229 238 240 241 239 246 242 251 246 219 203 192 197 203 208 207 208 212 208 215 200 170 162 150 148 152 155 150 146 147 142 146 130 102 98 90 86 104 108 94 88 92 93 95 81 50 49 34 27 45 47 42 32
 
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.3148452.8510.002755
2-0.05648-0.51150.305205
3-0.083868-0.75950.224877
4-0.3261-2.9530.002052
5-0.131229-1.18830.119068
60.0411930.3730.355048
7-0.079713-0.72180.236225
8-0.259736-2.3520.010535
9-0.095014-0.86040.196041
10-0.020455-0.18520.426755
110.3256192.94860.002079
120.7280626.59290
130.2404742.17760.016155
14-0.030036-0.2720.393156
15-0.066975-0.60650.272933
16-0.29472-2.66880.004587
17-0.148299-1.34290.091504
180.0140690.12740.449469
19-0.080469-0.72870.234138
20-0.221626-2.00690.024027
21-0.091114-0.82510.205862
220.051910.47010.31978
230.302862.74250.003742
240.4910564.44671.4e-05
250.1324131.19910.116981
26-0.049626-0.44940.32717
27-0.083964-0.76030.224619
28-0.275335-2.49330.007335
29-0.118271-1.0710.143658
300.0331640.30030.382349
31-0.100381-0.9090.18301
32-0.184305-1.6690.049471
33-0.097594-0.88370.189708
340.054470.49320.311577
350.2035551.84330.034452
360.279312.52930.006673
370.0833420.75470.226297
38-0.049592-0.44910.327282
39-0.122542-1.10970.135193
40-0.218871-1.9820.025417
41-0.057337-0.51920.302506
420.0309790.28050.389891
43-0.065786-0.59570.276503
44-0.131763-1.19320.118123
45-0.063059-0.5710.284773
460.0300650.27230.393056
470.0841750.76220.224052
480.1225621.10980.135155
490.0379770.34390.365902
50-0.030608-0.27720.391175
51-0.08446-0.76480.223287
52-0.10295-0.93220.176972
53-0.03185-0.28840.386878
54-0.022964-0.2080.417891
55-0.053373-0.48330.315081
56-0.053863-0.48770.313515
57-0.018865-0.17080.432389
580.0087710.07940.468443
590.0285970.2590.398159
600.0257560.23320.408081


Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
10.3148452.8510.002755
2-0.17273-1.56410.060818
3-0.009875-0.08940.464481
4-0.34525-3.12640.001224
50.1087920.98520.163724
6-0.037499-0.33960.367526
7-0.126536-1.14580.127598
8-0.373607-3.38320.00055
90.0925480.83810.202218
10-0.103388-0.93620.175956
110.4730284.28342.5e-05
120.4650644.21133.2e-05
13-0.033267-0.30120.381994
140.0265550.24050.405285
150.1441071.30490.097782
160.0226310.20490.419066
17-0.006508-0.05890.476574
18-0.090668-0.8210.207003
190.0554610.50220.308428
20-0.074147-0.67140.251918
210.0092930.08410.466572
220.019030.17230.431803
230.0322630.29220.385452
24-0.145762-1.31990.095266
25-0.096416-0.87310.192584
26-0.0856-0.77510.220243
270.0312510.2830.38895
28-0.149416-1.3530.089885
290.0313440.28380.388628
30-0.014508-0.13140.447901
310.0344890.31230.3778
32-0.046139-0.41780.338589
33-0.081319-0.73640.231803
34-0.063092-0.57130.284673
35-0.117071-1.06010.146101
36-0.142088-1.28670.100916
37-0.006024-0.05450.478316
38-0.038805-0.35140.363096
39-0.065905-0.59680.276143
400.0059070.05350.478736
410.0167810.1520.439798
420.0125380.11350.454941
430.0737020.66740.253195
44-0.022149-0.20060.420768
450.0769210.69650.244027
46-0.040287-0.36480.358096
470.015220.13780.445359
48-0.064839-0.58710.279362
490.0190040.17210.431898
500.0534710.48420.314766
510.1087360.98460.163847
520.0486540.44060.330337
53-0.076652-0.69410.244787
54-0.078323-0.70920.240093
550.0413630.37460.354477
560.0484680.43890.330947
57-0.033164-0.30030.38235
58-0.026872-0.24330.404178
590.0664390.60160.274539
600.0203440.18420.427147
 
Charts produced by software:
http://www.freestatistics.org/blog/date/2010/Aug/16/t1281973728het7lfx8fmrvesl/1oig41281973015.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Aug/16/t1281973728het7lfx8fmrvesl/1oig41281973015.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Aug/16/t1281973728het7lfx8fmrvesl/2oig41281973015.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Aug/16/t1281973728het7lfx8fmrvesl/2oig41281973015.ps (open in new window)


 
Parameters (Session):
par1 = 0.1 ; par2 = 0.9 ; par3 = 0.1 ;
 
Parameters (R input):
par1 = 60 ; par2 = 1 ; par3 = 1 ; 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