Home » date » 2009 » Aug » 03 »

Vermeulennickopgave6stap2

*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, 03 Aug 2009 03:44:38 -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/03/t1249292706m5ryrxgspuoksxi.htm/, Retrieved Mon, 03 Aug 2009 11:45:09 +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/03/t1249292706m5ryrxgspuoksxi.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:
Roze garnalen
 
Dataseries X:
» Textbox « » Textfile « » CSV «
106.61 107.86 108.07 109.68 108.57 108.08 109.8 110.7 110.72 109.85 109.71 110 110.87 111.16 110.63 110.26 110.79 111.75 111.75 112.31 112.29 111.86 111.22 112.42 111.94 112.77 113.99 114.22 112.38 114.98 115.94 117.63 117.76 118.11 120.88 121.87 122.34 122.42 122.17 121.99 124.96 125.94 126.59 127.11 125.44 125.53 125.35 124.3 123.62 124 124.47 126.89 124.87 124.55 125.31 126.02 125.31 125.3 123.83 124.49 124.92 125.77 127.27 127.35 126.05 126.84 127.75 126.78 126.98 127.89 127.9 128.06 125.39 128.13 127.97 127.56 126.89 127.8 128.05 128.98 128.55 129.35 129.97 130.89 129.8 132.32 131.1 131.44 132.55 133.35 132.53 131.11 130.02 128.91 129.98 130.91
 
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'Gwilym Jenkins' @ 72.249.127.135


Autocorrelation Function
Time lag kACF(k)T-STATP-value
10.9640279.44550
20.9338069.14940
30.9062728.87960
40.8819778.64160
50.8507088.33520
60.8143797.97930
70.7775667.61860
80.7463077.31230
90.7144467.00010
100.680136.66390
110.6431346.30140
120.6075795.9530
130.5713425.5980
140.5410115.30080
150.5078524.97591e-06
160.4751744.65575e-06
170.4421474.33211.8e-05
180.4119124.03595.5e-05
190.3841063.76350.000144
200.3574033.50180.000352
210.3254123.18840.000966
220.2947722.88820.002394
230.2606092.55340.006121
240.2327862.28080.012385
250.1979611.93960.027681
260.1658591.62510.053712
270.1350761.32350.094412
280.1082991.06110.145652
290.0710470.69610.244019
300.0400320.39220.347877
310.0128470.12590.450046
32-0.008786-0.08610.465791
33-0.032709-0.32050.374649
34-0.056599-0.55460.290245
35-0.074663-0.73150.233115
36-0.088499-0.86710.194022
37-0.100279-0.98250.164155
38-0.111426-1.09170.138839
39-0.124759-1.22240.112278
40-0.141916-1.39050.083798
41-0.153557-1.50450.067862
42-0.158028-1.54830.062414
43-0.159855-1.56630.06029
44-0.162411-1.59130.057416
45-0.175076-1.71540.04475
46-0.184276-1.80550.037063
47-0.191849-1.87970.031589
48-0.202138-1.98050.025252


Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
10.9640279.44550
20.063090.61820.26897
30.0288690.28290.388946
40.0381410.37370.354724
5-0.10272-1.00640.158365
6-0.1008-0.98760.162907
7-0.046022-0.45090.326533
80.0419250.41080.341075
9-0.013383-0.13110.447973
10-0.035679-0.34960.363711
11-0.049719-0.48710.313634
12-0.020703-0.20280.419843
13-0.045203-0.44290.329419
140.0619160.60660.272758
15-0.031302-0.30670.379868
16-0.010543-0.10330.458971
17-0.02346-0.22990.409344
18-0.001837-0.0180.492839
190.0145640.14270.443413
200.0047090.04610.481646
21-0.077684-0.76110.224218
22-0.02086-0.20440.419242
23-0.091936-0.90080.184978
240.0394550.38660.349961
25-0.10276-1.00680.158273
260.0092640.09080.463932
270.0137190.13440.446678
280.0127320.12470.450493
29-0.165396-1.62050.054197
300.0458810.44950.327027
310.0395280.38730.349697
320.0505220.4950.31086
33-0.015937-0.15610.438123
34-0.014183-0.1390.444884
350.0592190.58020.281562
36-0.000496-0.00490.498064
370.0403840.39570.34661
380.0026910.02640.489509
39-0.042221-0.41370.340017
40-0.121443-1.18990.118512
410.0387260.37940.3526
420.0669210.65570.256797
430.0811980.79560.214122
440.0017410.01710.493214
45-0.146311-1.43360.077475
46-0.050799-0.49770.309908
47-0.031466-0.30830.37926
48-0.064277-0.62980.265166
 
Charts produced by software:
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2009/Aug/03/t1249292706m5ryrxgspuoksxi/13dj71249292676.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2009/Aug/03/t1249292706m5ryrxgspuoksxi/13dj71249292676.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2009/Aug/03/t1249292706m5ryrxgspuoksxi/2y50k1249292676.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2009/Aug/03/t1249292706m5ryrxgspuoksxi/2y50k1249292676.ps (open in new window)


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