Home » date » 2010 » May » 03 »

Melino Olivini

*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 May 2010 16:09:16 +0000
 
Cite this page as follows:
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL http://www.freestatistics.org/blog/date/2010/May/03/t1272903071fgsf687p4iebg8n.htm/, Retrieved Mon, 03 May 2010 18:11:11 +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/2010/May/03/t1272903071fgsf687p4iebg8n.htm/},
    year = {2010},
}
@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 = {2010},
    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:
KDGP2W21
 
Dataseries X:
» Textbox « » Textfile « » CSV «
5221,3 5115,9 5107,4 5202,1 5307,5 5266,1 5329,8 5263,4 5177,1 5204,9 5185,2 5189,8 5253,8 5372,3 5478,4 5590,5 5699,8 5797,9 5854,3 5902,4 5956,9 6007,8 6101,7 6148,6 6207,4 6232 6291,7 6323,4 6365 6435 6493,4 6606,8 6639,1 6723,5 6759,4 6848,6 6918,1 6963,5 7013,1 7030,9 7112,1 7130,3 7130,8 7076,9 7040,8 7086,5 7120,7 7154,1 7228,2 7297,9 7369,5 7450,7 7459,7 7497,5 7536 7637,4 7715,1 7815,7 7859,5 7951,6 7973,7 7988 8053,1 8112 8169,2 8303,1 8372,7 8470,6 8536,1 8665,8 8773,7 8838,4 8936,2 8995,3 9098,9 9237,1 9315,5 9392,6 9502,2 9671,1 9695,6 9847,9 9836,6 9887,7 9875,6 9905,9 9871,1 9910 9977,3 10031,6 10090,7 10095,8 10126 10212,7 10398,7 10467 10543,6 10634,2 10728,7 10796,4 10875,8 10946,1 11050 11086,1 11217,3 11291,7 11314,1 11356,4 11357,8 11491,4 11625,7 11620,7
 
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'Sir Ronald Aylmer Fisher' @ 193.190.124.24


Autocorrelation Function
Time lag kACF(k)T-STATP-value
10.97529810.32160
20.94882610.04140
30.9223949.76170
40.8967669.49050
50.8709199.21690
60.8442958.93520
70.8173828.65040
80.7898168.35860
90.7619878.06410
100.7337617.76540
110.7054337.46560
120.6769277.16390
130.6487726.8660
140.6211976.57410
150.5943616.29010
160.5682346.01360
170.5426555.74290
180.5175515.47720
190.4936325.22410
200.4699924.97391e-06
210.4462184.72233e-06
220.4221514.46769e-06
230.3984794.21712.5e-05
240.3748993.96766.4e-05
250.351563.72060.000156
260.3280393.47160.000368
270.3039633.21680.000847
280.2797282.96040.001876
290.2550292.6990.004017
300.2305552.440.008129
310.2057392.17730.015777
320.1822621.92890.028139
330.158551.67790.048074
340.136151.44090.076205
350.1142351.2090.114614
360.0928870.9830.163858
370.0720230.76220.223767
380.0519980.55030.291607
390.0325730.34470.365475
400.0131430.13910.444816
41-0.00552-0.05840.476758
42-0.024124-0.25530.399479
43-0.042428-0.4490.327144
44-0.060618-0.64150.261248
45-0.079061-0.83670.20227
46-0.096975-1.02630.153483
47-0.114606-1.21290.113864
48-0.131401-1.39060.08355


Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
10.97529810.32160
2-0.048786-0.51630.303329
3-0.01151-0.12180.451634
40.0026870.02840.488682
5-0.019162-0.20280.419835
6-0.029415-0.31130.378078
7-0.019021-0.20130.420415
8-0.028044-0.29680.383587
9-0.020416-0.21610.414667
10-0.023684-0.25060.401274
11-0.018046-0.1910.424442
12-0.020098-0.21270.415977
13-0.009377-0.09920.460563
14-0.005365-0.05680.477411
15-0.002214-0.02340.490673
16-0.002655-0.02810.488815
17-0.005586-0.05910.476481
18-0.007162-0.07580.469858
190.0074190.07850.468779
20-0.012375-0.1310.44802
21-0.019816-0.20970.417137
22-0.022717-0.24040.405223
23-0.009606-0.10170.459605
24-0.017476-0.18490.426804
25-0.013645-0.14440.44272
26-0.022149-0.23440.407551
27-0.029338-0.31050.378386
28-0.021234-0.22470.411302
29-0.028255-0.2990.38274
30-0.014623-0.15480.438648
31-0.026453-0.280.390015
320.0085510.09050.464028
33-0.025242-0.26710.394926
340.0081730.08650.465615
35-0.009989-0.10570.457998
36-0.008055-0.08520.466109
37-0.009579-0.10140.459716
38-0.002358-0.02490.49007
39-0.009622-0.10180.459536
40-0.021151-0.22380.411646
41-0.005267-0.05570.477824
42-0.020832-0.22050.412956
43-0.016276-0.17220.431778
44-0.019564-0.2070.418176
45-0.027811-0.29430.384527
46-0.010767-0.11390.454741
47-0.016147-0.17090.432313
48-0.004143-0.04390.482551
 
Charts produced by software:
http://www.freestatistics.org/blog/date/2010/May/03/t1272903071fgsf687p4iebg8n/175qh1272902952.png (open in new window)
http://www.freestatistics.org/blog/date/2010/May/03/t1272903071fgsf687p4iebg8n/175qh1272902952.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/May/03/t1272903071fgsf687p4iebg8n/275qh1272902952.png (open in new window)
http://www.freestatistics.org/blog/date/2010/May/03/t1272903071fgsf687p4iebg8n/275qh1272902952.ps (open in new window)


 
Parameters (Session):
par1 = 48 ; par2 = 1 ; par3 = 0 ; par4 = 0 ; par5 = 12 ; par6 = White Noise ; par7 = 0.95 ;
 
Parameters (R input):
par1 = 48 ; par2 = 1 ; par3 = 0 ; par4 = 0 ; par5 = 12 ; par6 = White Noise ; par7 = 0.95 ;
 
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 (par6 == 'White Noise') par6 <- 'white' else par6 <- 'ma'
par7 <- as.numeric(par7)
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='time lag', ylab='ACF', ci.type=par6, ci=par7, sub=paste('(lambda=',par2,', d=',par3,', D=',par4,', CI=', par7, ', CI type=',par6,')',sep=''))
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