Home » date » 2009 » Aug » 06 »

datareeks-diesel-seda hovhannesian

*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, 05 Aug 2009 17:43:09 -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/06/t1249515876436i4j5sxf8i80n.htm/, Retrieved Thu, 06 Aug 2009 01:44:39 +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/06/t1249515876436i4j5sxf8i80n.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 «
0.9 0.92 0.92 0.95 1.06 1.17 1.23 1.26 1.37 1.37 1.31 1.21 1.2 1.11 1.11 1.11 1.17 1.08 1.05 1.03 1.04 1.02 1.01 1.01 0.98 0.96 0.94 0.99 0.99 0.98 1.02 1.06 1.06 1.06 1.06 1.06 1.04 1.02 1.01 1 1.04 1.09 1.08 1.06 1.06 1.03 0.97 0.98 0.93 0.88 0.86 0.9 0.91 0.93 0.89 0.88 0.83 0.81 0.83 0.8 0.76 0.73 0.74 0.74 0.75 0.74 0.74 0.73 0.71 0.71 0.7 0.75 0.81 0.78 0.75
 
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'Gwilym Jenkins' @ 72.249.127.135


Autocorrelation Function
Time lag kACF(k)T-STATP-value
10.3638263.12970.001252
20.1678051.44350.076548
30.0366420.31520.376745
40.1484481.2770.102797
5-0.225367-1.93870.028177
6-0.121064-1.04140.150534
7-0.043506-0.37420.354645
8-0.038546-0.33160.370571
9-0.175708-1.51150.06746
10-0.040772-0.35070.363391
110.1296211.1150.134221
12-0.025768-0.22170.412593
13-0.070435-0.60590.273217
14-0.058254-0.50110.308886
15-0.065136-0.56030.288476
16-0.180231-1.55040.062655
17-0.116368-1.0010.160036
18-0.099668-0.85740.197002
19-0.034133-0.29360.384935
20-0.044201-0.38020.352432
21-0.028167-0.24230.404607
220.0335040.28820.386996
230.0149050.12820.449164
240.0782480.67310.251486
250.1198631.03110.152926
260.0716820.61660.269684
270.014790.12720.449553
280.0070610.06070.475866
29-0.059515-0.5120.305098
30-0.078115-0.6720.251849
310.0766970.65980.255725
320.0636230.54730.292908
330.0252950.21760.41417
34-0.047495-0.40860.342018
350.1549771.33320.093285
360.1362191.17180.122518
370.1208071.03920.151044
38-0.037588-0.32330.373675
390.0347950.29930.382767
40-0.139-1.19570.117811
41-0.121486-1.04510.149697
42-0.067002-0.57640.283057
430.0119010.10240.459367
44-0.01724-0.14830.441252
45-0.01828-0.15730.437737
460.0213350.18350.427443
470.0152780.13140.447898
480.0085540.07360.470769


Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
10.3638263.12970.001252
20.0408420.35130.363167
3-0.042457-0.36520.357991
40.1638931.40990.081385
5-0.383915-3.30260.000739
60.090120.77520.220334
70.0637950.54880.292401
8-0.144696-1.24470.108582
9-0.005888-0.05070.47987
10-0.013873-0.11930.452664
110.163581.40720.081782
12-0.161737-1.39130.084149
13-0.012711-0.10930.456613
14-0.065545-0.56380.287285
15-0.155034-1.33370.093203
160.0537470.46230.322595
17-0.099106-0.85250.198333
18-0.07948-0.68370.248145
190.07450.64090.261793
20-0.038787-0.33370.369791
21-0.089785-0.77240.221181
220.0532510.45810.324118
23-0.071388-0.61410.270517
240.0962810.82820.205098
250.0973090.83710.202621
26-0.129758-1.11620.133969
270.0598820.51510.304002
28-0.071875-0.61830.269142
29-0.078002-0.6710.252155
300.0012330.01060.495783
310.1608231.38350.085343
32-0.043083-0.37060.355992
33-0.051588-0.44380.329251
340.0028580.02460.490225
350.122651.05510.147412
360.0679780.58480.28024
370.072870.62680.266344
38-0.174375-1.50.068931
39-0.019314-0.16610.434247
400.0287580.24740.402646
41-0.04044-0.34790.364458
420.0831170.7150.238428
43-0.04725-0.40650.342789
440.0528150.45430.325461
450.0016520.01420.494348
46-0.047083-0.4050.343314
470.0105950.09110.463813
48-0.018326-0.15760.437582
 
Charts produced by software:
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2009/Aug/06/t1249515876436i4j5sxf8i80n/1c7rf1249515787.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2009/Aug/06/t1249515876436i4j5sxf8i80n/1c7rf1249515787.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2009/Aug/06/t1249515876436i4j5sxf8i80n/20cne1249515787.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2009/Aug/06/t1249515876436i4j5sxf8i80n/20cne1249515787.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