Home » date » 2009 » Dec » 15 »

*The author of this computation has been verified*
R Software Module: /rwasp_autocorrelation.wasp (opens new window with default values)
Title produced by software: (Partial) Autocorrelation Function
Date of computation: Tue, 15 Dec 2009 07:28:42 -0700
 
Cite this page as follows:
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL http://www.freestatistics.org/blog/date/2009/Dec/15/t1260887374r0lzys9sqxdxyot.htm/, Retrieved Tue, 15 Dec 2009 15:29:36 +0100
 
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/Dec/15/t1260887374r0lzys9sqxdxyot.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 «
122.36 123.33 123.04 124.53 125.13 125.85 126.50 126.53 127.07 124.55 124.90 124.32 122.84 123.31 123.31 124.87 124.64 124.73 124.90 124.04 123.28 123.86 122.29 124.09 124.54 125.65 125.70 125.53 125.61 125.55 125.41 127.60 124.68 124.41 126.43 126.38 125.78 124.70 125.07 125.25 126.58 127.13 125.82 123.70 124.39 123.70 124.42 121.05 121.02 123.23 121.32 120.91 120.72 123.31 119.58 119.53 120.59 118.63 118.47 111.81 114.71 117.34 115.77 118.38 117.84 118.83 120.02 116.21 117.08 120.20 119.83 118.92 118.03 117.71 119.55 116.13 115.97 115.99 114.96 116.46 116.55 113.05 117.44 118.84 117.06 117.54 119.31 118.72 121.55 122.61 121.53 123.31 124.07 123.59 122.97 123.22 123.04 122.96 122.81 122.81 122.62 120.82 119.41 121.56 121.59 118.50 118.77 118.86 117.60 119.90 121.83 121.84 122.12 122.12 121.36 119.66 119.32 120.36 117.06 117.48 115.60 113.86 116.92 117.75 117.75 115.31 116.28 115.22 etc...
 
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
1-0.244633-4.85581e-06
2-0.008103-0.16080.436148
3-0.080074-1.58940.056384
40.0702871.39520.081878
5-0.041361-0.8210.206073
6-0.031344-0.62220.267098
7-0.070907-1.40750.080039
80.0979571.94440.02628
9-0.090878-1.80390.036007
10-0.034888-0.69250.244513
110.1212232.40620.008289
12-0.044001-0.87340.191492
130.0436890.86720.19318
14-0.103068-2.04580.020717
15-0.013061-0.25920.397791
160.1054812.09370.018461
17-0.003066-0.06090.475754
180.0058630.11640.453708
190.0054270.10770.457135
20-0.041723-0.82820.204033
210.0757691.5040.066694
22-0.069852-1.38650.083187
230.0163210.3240.373068
240.0303460.60230.273645
250.0202040.4010.344304
26-0.025613-0.50840.305725
270.0300090.59570.275872
28-0.069223-1.3740.085104
290.060021.19140.117114
30-0.025954-0.51520.303362
310.0356510.70770.23979
32-0.00412-0.08180.467429
33-0.124989-2.4810.00676
340.0614631.220.111597
35-0.025854-0.51320.304053
360.0348330.69140.244854
37-0.069631-1.38210.083857
380.0403250.80040.211974
390.0079730.15830.43717
400.0541611.07510.141501
41-0.037336-0.74110.229539
420.0268740.53340.297018
430.0338220.67140.251194
44-0.052403-1.04020.149449
45-0.000945-0.01880.49252
46-0.004298-0.08530.466028
470.0901321.78910.037185
48-0.02887-0.5730.283471


Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
1-0.244633-4.85581e-06
2-0.072274-1.43460.076098
3-0.106795-2.11980.017323
40.0234980.46640.320584
5-0.027558-0.5470.292344
6-0.054339-1.07860.140714
7-0.096221-1.90990.028434
80.0466020.9250.177758
9-0.073548-1.45990.072558
10-0.085864-1.70430.044553
110.1055282.09470.018419
12-0.021943-0.43560.331698
130.0373920.74220.229199
14-0.074854-1.48580.069065
15-0.077143-1.53120.063256
160.0780881.550.060972
170.0373040.74050.229732
180.046190.91680.179893
190.0097760.19410.423118
20-0.031753-0.63030.264439
210.0599311.18960.11746
22-0.039872-0.79140.214582
230.0110210.21880.413473
240.0202620.40220.34388
250.0608641.20810.113863
260.0186460.37010.355752
270.0187360.37190.355081
28-0.055401-1.09970.136072
29-0.005145-0.10210.459355
300.0287030.56970.284592
310.0542261.07640.141213
320.0099030.19660.422131
33-0.131516-2.61050.004693
34-0.008113-0.1610.43607
35-0.034541-0.68560.246678
360.0168480.33440.369119
37-0.071024-1.40980.079696
380.0011310.02250.491049
390.0318190.63160.264012
400.0326880.64880.258411
410.0123750.24560.403048
42-0.041512-0.8240.205222
430.0489110.97090.166109
44-0.003515-0.06980.472207
450.0013310.02640.489471
460.0026530.05270.479014
470.0536581.06510.143747
480.0281740.55920.288159
 
Charts produced by software:
http://www.freestatistics.org/blog/date/2009/Dec/15/t1260887374r0lzys9sqxdxyot/10zjp1260887321.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Dec/15/t1260887374r0lzys9sqxdxyot/10zjp1260887321.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Dec/15/t1260887374r0lzys9sqxdxyot/25ykg1260887321.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Dec/15/t1260887374r0lzys9sqxdxyot/25ykg1260887321.ps (open in new window)


 
Parameters (Session):
par1 = 48 ; par2 = 1 ; par3 = 1 ; par4 = 0 ; par5 = 1 ; par6 = White Noise ;
 
Parameters (R input):
par1 = 48 ; par2 = 1 ; par3 = 1 ; par4 = 0 ; par5 = 1 ; par6 = White Noise ;
 
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