Home » date » 2008 » Dec » 12 »

partial autocorrelation function: auto's

*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: Fri, 12 Dec 2008 05:39:38 -0700
 
Cite this page as follows:
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL http://www.freestatistics.org/blog/date/2008/Dec/12/t1229085632vy1q7j1901luofk.htm/, Retrieved Fri, 12 Dec 2008 13:40:34 +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/2008/Dec/12/t1229085632vy1q7j1901luofk.htm/},
    year = {2008},
}
@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 = {2008},
    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 «
104.89 105.15 105.24 105.57 105.62 106.17 106.27 106.41 106.94 107.16 107.32 107.32 107.35 107.55 107.87 108.37 108.38 107.92 108.03 108.14 108.3 108.64 108.66 109.04 109.03 109.03 109.54 109.75 109.83 109.65 109.82 109.95 110.12 110.15 110.21 109.99 110.14 110.14 110.81 110.97 110.99 109.73 109.81 110.02 110.18 110.21 110.25 110.36 110.51 110.6 110.95 111.18 111.19 111.69 111.7 111.83 111.77 111.73 112.01 111.86 112.04
 
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.8538325.97680
20.7235265.06473e-06
30.5803454.06248.7e-05
40.4754623.32820.000832
50.3800632.66040.005259
60.3089672.16280.017733
70.2381031.66670.050975
80.1650691.15550.126749
90.0997850.69850.244086
100.02530.17710.430079
11-0.049851-0.3490.364308
12-0.138157-0.96710.169122
13-0.11526-0.80680.211834
14-0.085194-0.59640.276841
15-0.063322-0.44330.329766
16-0.06391-0.44740.32829
17-0.080413-0.56290.288038
18-0.11618-0.81330.210002
19-0.129114-0.90380.185263
20-0.14393-1.00750.15932
21-0.141805-0.99260.162883
22-0.134701-0.94290.175177
23-0.137907-0.96530.169556
24-0.119643-0.83750.203189
25-0.172733-1.20910.116207
26-0.228967-1.60280.057707
27-0.272765-1.90940.03104
28-0.305941-2.14160.018612
29-0.330622-2.31440.012441
30-0.31137-2.17960.017062
31-0.302431-2.1170.01968
32-0.283823-1.98680.026278
33-0.273172-1.91220.030853
34-0.246457-1.72520.045397
35-0.219474-1.53630.065447
36-0.208064-1.45640.075824


Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
10.8538325.97680
2-0.020312-0.14220.443759
3-0.120468-0.84330.201586
40.0484140.33890.368068
5-0.023442-0.16410.435165
60.0114390.08010.468252
7-0.04112-0.28780.38734
8-0.068608-0.48030.316592
9-0.0199-0.13930.444893
10-0.089245-0.62470.267529
11-0.079639-0.55750.28987
12-0.122118-0.85480.198405
130.3227872.25950.014167
140.040240.28170.389689
15-0.111255-0.77880.219925
16-0.041261-0.28880.386966
17-0.060333-0.42230.337316
18-0.069638-0.48750.31405
190.04090.28630.387929
20-0.05992-0.41940.338365
210.0280270.19620.422637
220.0002450.00170.49932
23-0.111364-0.77950.219703
240.024310.17020.43279
25-0.155421-1.08790.140971
26-0.061835-0.43280.333514
270.0062010.04340.482776
28-0.097281-0.6810.249549
29-0.075458-0.52820.29987
300.0718180.50270.308705
31-0.028339-0.19840.421788
32-0.011242-0.07870.468799
33-0.009648-0.06750.473215
340.0530460.37130.355998
35-0.027653-0.19360.423656
36-0.047515-0.33260.370425
 
Charts produced by software:
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/12/t1229085632vy1q7j1901luofk/1froz1229085576.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/12/t1229085632vy1q7j1901luofk/1froz1229085576.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/12/t1229085632vy1q7j1901luofk/2d1gp1229085576.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/12/t1229085632vy1q7j1901luofk/2d1gp1229085576.ps (open in new window)


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