Home » date » 2009 » May » 13 »

Autocorrelatie - kleurentv gedifferentieerd - Tjitse Voortman

*Unverified author*
R Software Module: rwasp_autocorrelation.wasp (opens new window with default values)
Title produced by software: (Partial) Autocorrelation Function
Date of computation: Wed, 13 May 2009 11:43:14 -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/May/13/t1242236740404a3s8vzvj29z5.htm/, Retrieved Wed, 13 May 2009 19:45:42 +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/May/13/t1242236740404a3s8vzvj29z5.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 «
666.27 664.45 660.76 660.40 660.69 660.69 662.23 661.41 659.02 655.43 652.59 652.59 648.20 645.84 644.67 642.71 640.14 640.14 639.64 630.28 614.57 614.70 615.08 615.08 614.43 604.55 598.98 594.05 593.05 593.05 593.34 584.72 580.70 577.08 569.92 569.92 568.86 559.38 548.22 545.61 545.33 530.30 527.76 521.41 1601.93 1577.49 1551.43 1551.43 1516.88 1485.95 1438.22 1385.06 1329.49 1329.49 1276.16 1242.34 1181.59 1160.21 1135.18 1135.18 1084.96 1077.35 1061.13 1029.98 1013.08 1013.08 996.04 975.02 951.89 944.40 932.47 932.47 920.44 900.18 886.90
 
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'George Udny Yule' @ 72.249.76.132


Autocorrelation Function
Time lag kACF(k)T-STATP-value
1-0.0133-0.11440.454612
2-0.009971-0.08580.465939
3-5e-0600.499984
4-0.01511-0.130.448469
5-0.017031-0.14650.441961
6-0.03748-0.32240.374024
7-0.045669-0.39290.347776
8-0.039448-0.33930.367656
90.0098760.0850.466261
10-0.044474-0.38260.351565
11-0.024414-0.210.417116
12-0.048753-0.41940.338073
13-0.019519-0.16790.433558
14-0.014704-0.12650.449845
150.0064750.05570.477864
16-0.040508-0.34850.364241
17-0.004897-0.04210.483257
18-0.013064-0.11240.455414
19-0.0325-0.27960.390292
20-0.012759-0.10980.45645
210.0029680.02550.489849
22-0.011565-0.09950.460512
23-0.016132-0.13880.445002
24-0.0335-0.28820.387007
25-0.013681-0.11770.453317
26-0.010384-0.08930.464533
275.1e-054e-040.499826
28-0.013463-0.11580.454056
29-0.019547-0.16810.433462
30-0.013224-0.11380.454869
310.0005780.0050.498024
32-0.001486-0.01280.494919
330.0016590.01430.494327
34-0.001019-0.00880.496513
35-0.001053-0.00910.496398
360.0002490.00210.499148
370.0009430.00810.496775
380.0027060.02330.490746
390.0010080.00870.496552
400.0016590.01430.494328
410.0009270.0080.496828
42-0.002191-0.01880.492507
43-0.000552-0.00480.498111
440.0035140.03020.487982
450.0029080.0250.490056
460.0030020.02580.489733
470.0033810.02910.488439
480.003340.02870.488576


Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
1-0.0133-0.11440.454612
2-0.01015-0.08730.46533
3-0.000274-0.00240.499064
4-0.015219-0.13090.448098
5-0.01745-0.15010.440543
6-0.038287-0.32940.371409
7-0.0472-0.4060.342946
8-0.042098-0.36210.35914
90.0069090.05940.476384
10-0.04705-0.40470.343417
11-0.02899-0.24940.401878
12-0.055914-0.4810.315972
13-0.027749-0.23870.405995
14-0.024567-0.21130.416605
15-0.001698-0.01460.494191
16-0.049823-0.42860.334732
17-0.016459-0.14160.443897
18-0.028498-0.24520.403509
19-0.044807-0.38540.350508
20-0.02853-0.24540.403405
21-0.008676-0.07460.470353
22-0.026529-0.22820.410056
23-0.031802-0.27360.392588
24-0.053292-0.45840.323992
25-0.029738-0.25580.399403
26-0.031506-0.2710.393563
27-0.017008-0.14630.442037
28-0.032716-0.28140.389581
29-0.040624-0.34950.363869
30-0.03911-0.33640.368745
31-0.02349-0.20210.420209
32-0.026752-0.23010.409312
33-0.019052-0.16390.435131
34-0.025406-0.21860.4138
35-0.027538-0.23690.406698
36-0.028865-0.24830.402291
37-0.023577-0.20280.419919
38-0.022162-0.19060.424662
39-0.021763-0.18720.426002
40-0.024199-0.20820.417834
41-0.023913-0.20570.418791
42-0.028939-0.24890.402047
43-0.025003-0.21510.415147
44-0.020492-0.17630.430279
45-0.019879-0.1710.432344
46-0.020845-0.17930.429089
47-0.020517-0.17650.430195
48-0.022072-0.18990.424964
 
Charts produced by software:
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2009/May/13/t1242236740404a3s8vzvj29z5/1k5nd1242236592.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2009/May/13/t1242236740404a3s8vzvj29z5/1k5nd1242236592.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2009/May/13/t1242236740404a3s8vzvj29z5/2g6oz1242236592.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2009/May/13/t1242236740404a3s8vzvj29z5/2g6oz1242236592.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 = 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