Home » date » 2009 » Aug » 03 »

Vermeulennickopgave6Stap2-2

*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:50:44 -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/t12492930806x0rpaes6dpbu35.htm/, Retrieved Mon, 03 Aug 2009 11:51:23 +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/t12492930806x0rpaes6dpbu35.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 time0 seconds
R Server'Gwilym Jenkins' @ 72.249.127.135


Autocorrelation Function
Time lag kACF(k)T-STATP-value
1-0.113735-1.10860.135211
2-0.075419-0.73510.232047
3-0.099965-0.97430.166182
40.0779910.76020.22452
50.0255570.24910.401913
60.1326361.29280.099611
7-0.165002-1.60820.055551
80.0771860.75230.22686
9-0.011965-0.11660.453702
10-0.037126-0.36190.359132
110.1243541.21210.114249
120.0086160.0840.466626
13-0.253801-2.47370.007573
140.0818030.79730.213628
15-0.060085-0.58560.279755
160.0024950.02430.490323
170.0112020.10920.456642
18-0.158773-1.54750.062531
190.0492060.47960.316306
200.1791.74470.042137
21-0.217538-2.12030.018293
220.0370920.36150.359255
230.0107360.10460.458442
240.0333620.32520.372881
25-0.070828-0.69030.24583
260.0481260.46910.320045
27-0.154005-1.50110.068329
280.2831352.75970.003472
29-0.112948-1.10090.136865
30-0.041958-0.4090.341746
31-0.040584-0.39560.346656
32-0.010904-0.10630.457794
330.0116740.11380.454825
340.1596551.55610.061502
35-0.049205-0.47960.316309
36-0.037018-0.36080.359522
370.0076680.07470.470288
38-0.071592-0.69780.243505
390.1508061.46990.072449
400.0199490.19440.423126
41-0.217222-2.11720.018427
42-0.009724-0.09480.462346
430.0627350.61150.271176
440.1172051.14240.128085
450.0070610.06880.472637
46-0.096999-0.94540.17342
470.0096590.09410.462596
480.181551.76950.040007


Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
1-0.113735-1.10860.135211
2-0.089512-0.87250.192579
3-0.122035-1.18940.118614
40.044310.43190.333402
50.0227920.22210.412338
60.1437831.40140.082173
7-0.118219-1.15230.126054
80.073880.72010.236617
90.0003990.00390.498451
10-0.073793-0.71920.236877
110.1459791.42280.079031
120.0057750.05630.477616
13-0.226076-2.20350.014987
140.0382910.37320.35491
15-0.094466-0.92070.179759
16-0.061142-0.59590.276317
17-0.000234-0.00230.499093
18-0.155607-1.51670.066336
190.0747750.72880.233953
200.1212661.1820.120088
21-0.177549-1.73050.043391
220.0564370.55010.291779
23-0.004478-0.04360.48264
240.0737660.7190.236958
25-0.104356-1.01710.155837
260.0029880.02910.488412
27-0.070839-0.69050.245795
280.1656881.61490.054822
29-0.039489-0.38490.350588
30-0.080706-0.78660.21673
31-0.105133-1.02470.154051
32-0.007474-0.07280.47104
330.0660470.64370.260647
340.0080230.07820.468917
350.0863850.8420.200957
36-0.065993-0.64320.260817
370.0668170.65120.258229
38-0.065814-0.64150.261379
390.0347920.33910.367637
40-0.004215-0.04110.483657
41-0.093096-0.90740.18325
42-0.070806-0.69010.245896
43-0.005269-0.05140.479577
440.1206861.17630.121206
45-0.04589-0.44730.327844
460.0038860.03790.484932
470.0877410.85520.197299
480.0886510.86410.194865
 
Charts produced by software:
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2009/Aug/03/t12492930806x0rpaes6dpbu35/1tz9x1249293042.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2009/Aug/03/t12492930806x0rpaes6dpbu35/1tz9x1249293042.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2009/Aug/03/t12492930806x0rpaes6dpbu35/215201249293042.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2009/Aug/03/t12492930806x0rpaes6dpbu35/215201249293042.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