Home » date » 2008 » Dec » 24 »

Partial Autocorrelation

*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: Wed, 24 Dec 2008 06:11:56 -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/24/t1230124388850rb7124gph7xv.htm/, Retrieved Wed, 24 Dec 2008 14:13:10 +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/24/t1230124388850rb7124gph7xv.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 «
97.5 97.1 97.5 98.5 100.5 102.8 105.2 107.4 108.0 107.6 107.0 105.8 104.3 103.8 104.4 106.2 108.5 109.8 110.3 109.7 108.7 108.9 109.7 110.4 111.4 112.6 113.6 113.8 113.2 113.6 113.9 113.4 113.8 116.0 118.3 120.5 121.9 121.2 120.2 120.6 110.2 109.2 108.7 109.9 112.2 114.5 114.7 113.2 112.1 112.6 113.6 114.0 114.5 115.0 114.9 114.8 114.3 113.7 114.5 116.0 116.6 116.2 115.7 115.6 115.2 115.0 115.7 115.9 115.6 115.9 117.0 117.9 118.8 119.9
 
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'George Udny Yule' @ 72.249.76.132


Autocorrelation Function
Time lag kACF(k)T-STATP-value
10.3276042.7990.003276
20.1435261.22630.112016
3-0.101203-0.86470.195025
4-0.327629-2.79930.003274
5-0.366684-3.1330.001246
6-0.208404-1.78060.039569
7-0.047452-0.40540.343173
80.1106950.94580.17369
90.1679851.43530.077741
100.1268191.08350.141067
110.0709830.60650.273039
120.0003060.00260.498961
13-0.093286-0.7970.214007
14-0.090291-0.77140.221465
15-0.07684-0.65650.256777
16-0.005384-0.0460.481716
170.0658810.56290.287618
180.0274110.23420.407742
190.0417110.35640.361293
200.1171381.00080.160109
210.0633030.54090.295125
22-0.046904-0.40070.344888
23-0.122427-1.0460.149503
24-0.156495-1.33710.092672
25-0.102148-0.87280.192829
26-0.009731-0.08310.466983
270.1450891.23960.109539
280.2547632.17670.016369
290.1929141.64830.051799
300.0519220.44360.329315
31-0.037648-0.32170.374312
32-0.141593-1.20980.115135
33-0.226294-1.93350.028529
34-0.161029-1.37580.08654
35-0.121831-1.04090.150672
36-0.05428-0.46380.322095
370.030630.26170.397143
380.0435610.37220.355418
390.057770.49360.311541
40-0.004048-0.03460.486251
41-0.023799-0.20330.419718
42-0.023042-0.19690.422239
43-0.003527-0.03010.48802
440.0145940.12470.450554
450.0217640.1860.426499
460.0092080.07870.468755
47-0.008181-0.06990.472234
48-0.014414-0.12320.451163


Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
10.3276042.7990.003276
20.0405540.34650.364984
3-0.179084-1.53010.065158
4-0.290178-2.47930.007737
5-0.200424-1.71240.045532
6-0.002844-0.02430.49034
70.0284270.24290.404388
80.0251570.21490.415205
9-0.029849-0.2550.399709
10-0.059635-0.50950.305962
11-0.004196-0.03590.48575
120.0230260.19670.422292
13-0.038162-0.32610.372658
14-0.01467-0.12530.4503
15-0.024078-0.20570.418789
160.0307750.26290.396669
170.0505010.43150.333696
18-0.064482-0.55090.291682
19-0.014871-0.12710.449622
200.137631.17590.121725
210.0675730.57730.282743
22-0.093485-0.79870.213518
23-0.141019-1.20490.116073
24-0.061192-0.52280.301339
250.0664520.56780.285967
260.0726860.6210.268257
270.0973950.83210.204021
280.092650.79160.215579
29-0.01154-0.09860.460863
30-0.056709-0.48450.314734
310.0336530.28750.387262
320.0385510.32940.371407
33-0.063491-0.54250.294576
34-0.035322-0.30180.381834
35-0.08442-0.72130.236519
36-0.113492-0.96970.167705
37-0.089832-0.76750.222622
38-0.060197-0.51430.304291
390.0053890.0460.481702
40-0.096982-0.82860.205013
41-0.097227-0.83070.204423
42-0.042363-0.36190.359218
430.0165250.14120.444053
440.0176460.15080.440289
45-0.019133-0.16350.435299
46-0.029102-0.24860.402167
47-0.045916-0.39230.347987
48-0.072431-0.61890.26897
 
Charts produced by software:
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/24/t1230124388850rb7124gph7xv/1mjo31230124315.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/24/t1230124388850rb7124gph7xv/1mjo31230124315.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/24/t1230124388850rb7124gph7xv/240231230124315.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/24/t1230124388850rb7124gph7xv/240231230124315.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