Home » date » 2009 » Aug » 18 »

Opgave 6 - stap 2 - differentiatie - Robbert Van Hees

*Unverified author*
R Software Module: rwasp_autocorrelation.wasp (opens new window with default values)
Title produced by software: (Partial) Autocorrelation Function
Date of computation: Tue, 18 Aug 2009 09:41:16 -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/Aug/18/t12506105231tkgs2vogrsyxgr.htm/, Retrieved Tue, 18 Aug 2009 17:48:43 +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/Aug/18/t12506105231tkgs2vogrsyxgr.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 «
12,11 11,42 11,71 12,04 12,21 12 12,36 12,32 12,96 12,79 13,19 12,34 13,25 12,54 12,77 12,96 13 13,61 13,8 14,16 14,27 14,69 15,01 15,09 15,14 14,2 13,83 14,31 14,04 14,9 14,92 15,36 15,5 15,65 16,18 15,44 15,58 15,24 15,33 16,07 15,82 15,87 15,72 17,07 16,83 17,52 17,76 17,36 17,95 16,71 17,14 16,72 17,26 17,24 17,69 18,13 18,08 18,18 18,18 17,64 17,89 16,82 16,61 16,66 17,02 16,91 17,18 18,06 17,58 17,48 17,54 17,44 17,79 16,79 16,19 16,62 16,39 16,54 17,26 18 17,29 18,16 17,82 17,48 18,31 17,04 17,03 16,97 17,11 17,12 17,69 18,5 18,27 18,45 18,35 18,03 18,49 18,07 17,8 17,88 18,12 18,68 18,8 19,64 19,56 19,3 20,07 19,82 20,29 19,36 18,74 18,87 18,87 18,91 19,31 20,06 20,72 20,42 20,58 20,58 21,18 19,87 19,83 19,48 19,49 19,4 19,89 20,44 20,07 19,75 19,54 19,07
 
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'Sir Ronald Aylmer Fisher' @ 193.190.124.24


Autocorrelation Function
Time lag kACF(k)T-STATP-value
1-0.245813-2.81350.002828
20.1797342.05710.020828
3-0.027561-0.31540.376461
4-0.14514-1.66120.049532
5-0.032248-0.36910.356327
6-0.285105-3.26320.000703
70.0184990.21170.416321
8-0.194204-2.22280.013973
90.0913111.04510.14895
100.0815370.93320.176208
11-0.061077-0.69910.242877
120.5301616.0680
13-0.090367-1.03430.151451
140.1091531.24930.10689
150.0362790.41520.339325
16-0.154442-1.76770.039722
17-0.010259-0.11740.453352
18-0.321546-3.68030.00017
190.056070.64170.261079
20-0.192663-2.20510.014595
210.0728110.83340.203078
220.0341630.3910.348211
23-0.078582-0.89940.185041
240.4429655.071e-06
250.0001680.00190.499232
260.0661210.75680.225269
270.0521250.59660.275904
28-0.165543-1.89470.030166
29-0.015549-0.1780.429513
30-0.285629-3.26920.000689
310.0357020.40860.341741
32-0.215001-2.46080.007582
330.0874351.00070.1594
340.0398220.45580.324649
35-0.073802-0.84470.19991
360.4617675.28520
37-0.090204-1.03240.151886
380.121761.39360.082898
39-0.030821-0.35280.362416
40-0.089251-1.02150.154443
41-0.045034-0.51540.303558
42-0.236406-2.70580.003861
43-0.013233-0.15150.439924
44-0.113142-1.2950.098804
450.0573870.65680.256224
460.0175770.20120.420435
47-0.083881-0.96010.169396
480.3618154.14123.1e-05


Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
1-0.245813-2.81350.002828
20.1269821.45340.074255
30.0456750.52280.301005
4-0.178398-2.04190.021587
5-0.116003-1.32770.093292
6-0.29559-3.38320.000473
7-0.116154-1.32940.093006
8-0.203977-2.33460.010542
9-0.046531-0.53260.297616
100.0418560.47910.316345
11-0.147059-1.68320.047363
120.4200074.80722e-06
130.1812812.07490.019979
14-0.030222-0.34590.364985
150.1363241.56030.060551
160.0034330.03930.484359
170.0409190.46830.320161
18-0.116228-1.33030.092867
19-0.017634-0.20180.420182
20-0.014653-0.16770.433536
21-0.071145-0.81430.208477
22-0.09162-1.04860.148136
23-0.186812-2.13820.01718
240.0669760.76660.222356
250.1713791.96150.025969
26-0.058485-0.66940.252212
270.0223110.25540.399423
28-0.057069-0.65320.25739
29-0.024791-0.28370.388528
30-0.013391-0.15330.43921
31-0.021074-0.24120.404889
32-0.085153-0.97460.165774
330.0004310.00490.498035
34-0.013368-0.1530.439317
35-0.081788-0.93610.175471
360.1453651.66380.049273
37-0.030424-0.34820.364118
38-0.029272-0.3350.369067
39-0.063855-0.73090.233087
40-0.039624-0.45350.325464
410.0117110.1340.446788
420.0051950.05950.476338
43-0.066197-0.75770.225009
440.072440.82910.204274
45-0.004546-0.0520.47929
46-0.078034-0.89310.186711
47-0.099859-1.14290.127575
48-0.032439-0.37130.355515
 
Charts produced by software:
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2009/Aug/18/t12506105231tkgs2vogrsyxgr/1gshg1250610072.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2009/Aug/18/t12506105231tkgs2vogrsyxgr/1gshg1250610072.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2009/Aug/18/t12506105231tkgs2vogrsyxgr/2sccu1250610072.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2009/Aug/18/t12506105231tkgs2vogrsyxgr/2sccu1250610072.ps (open in new window)


 
Parameters (Session):
par1 = 5 ; par2 = grey ; par3 = FALSE ; par4 = Unknown ;
 
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